Function at 0x4018e0
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x42ae10
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push edi
mov eax, dword [0x436b90]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, 0x81
xor ebx, ebx
mov dword [esp + 0x24], 0x9b
mov dword [esp + 0x20], 0x41
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
call fcn.004111f0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40193f
push 0x80004005
call fcn.00401160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0x42fbe8
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], ebx
call fcn.004023a0
mov eax, dword [esp + 0x54]
add eax, 0xffffff38
cmp eax, 0x28
mov byte [esp + 0x48], 1
mov ebx, 0xfa
ja case.0x401984.201
movzx ecx, byte [eax + 0x401c58]
jmp dword [ecx*4 + 0x401c40]
push str.MES_UNINS_START
lea ecx, [esp + 0x18]
call fcn.00402870
push str.BTN_UNINS_YES
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 0x7f04
call fcn.00402870
mov ebx, 0x104
mov dword [esp + 0x24], 0x5d
mov dword [esp + 0x28], 0x41
jmp 0x401a20
push str.MES_UNINS_UNINSTALLING
lea ecx, [esp + 0x18]
call fcn.00402870
mov dword [esp + 0x20], ebp
jmp 0x401a20
push str.MES_UNINS_ERR_UIF
lea ecx, [esp + 0x18]
call fcn.00402870
mov dword [esp + 0x18], 0x7f01
jmp 0x401a20
push str.MES_UNINS_ERR_ADMIN
lea ecx, [esp + 0x18]
call fcn.00402870
mov dword [esp + 0x18], 0x7f01
jmp 0x401a20
push str.MES_UNINS_FINISH
lea ecx, [esp + 0x18]
call fcn.00402870
mov dword [esp + 0x18], 0x7f04
push 0x400
mov ecx, esi
call fcn.0040ab4d
push 0x401
mov ecx, esi
mov edi, eax
call fcn.0040ab4d
push edi
mov ebp, eax
mov eax, dword [esp + 0x20]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebx, esp
push eax
call fcn.004021a0
add eax, 0x10
mov dword [ebx], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x160]
add esp, 4
mov ecx, esi
call eax
push ebp
push 0x10e
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.BTN_UNINS_NO
call fcn.004023a0
mov edx, dword [esi]
mov eax, dword [edx + 0x160]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
push 0
push 0
push 0x55
push edx
push 0
mov ecx, edi
call fcn.0040acd4
mov eax, dword [esp + 0x28]
push eax
push 0
push 0
push 0x55
push 0xdf
push 0
mov ecx, ebp
call fcn.0040acd4
push 0x441
mov ecx, esi
call fcn.0040ab4d
mov ecx, dword [esp + 0x18]
push ecx
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [edi + 0x20]
push 0
push eax
push 0x170
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x440
mov ecx, esi
call fcn.0040ab4d
mov ebx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x58]
push eax
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x60], esp
mov edi, esp
push ebx
call fcn.004021a0
add eax, 0x10
mov dword [edi], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x160]
add esp, 4
mov ecx, esi
call eax
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x401b74
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [eax + 8]
push 1
sub edi, ecx
push edi
sub eax, edx
push eax
push ecx
push edx
mov ecx, esi
call fcn.0040ac18
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0040dd60
push eax
mov ecx, esi
call fcn.0040d734
push 5
mov ecx, esi
call fcn.0040ac56
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401ba2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x48], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401bc3
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x3c
ret 8
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401c02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401c26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x3c
ret 8