Function at 0x40df80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4643c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebp
push esi
push edi
mov eax, dword [0x47dac0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.0042d2b6
mov eax, dword [ebp + 0x74]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [ebp + 0x20]
push 1
push 0x80
push eax
call esi
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x20]
push eax
push 0
push 0x80
push ecx
call esi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x46c58c
call fcn.00401af0
push ecx
mov dword [esp + 0x88], 0
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x46c598
call fcn.00401af0
or esi, 0xffffffff
push 0x481cf4
mov dword [esp + 0x8c], esi
call fcn.00417820
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00407c50
lea eax, [esp + 0x40]
add esp, 4
push eax
call fcn.00407d40
add esp, 8
push eax
lea eax, [ebp + 0x174]
mov dword [esp + 0x84], 1
call fcn.00415220
mov dword [esp + 0x80], esi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40e07d
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
push ecx
call fcn.00409560
mov edx, dword [esp + 0x40]
add esp, 4
push edx
call fcn.00426848
add esp, 4
lea esi, [esp + 0x10]
call fcn.0040b0e0
mov dword [esp + 0x80], 2
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
xor esi, esi
test eax, eax
je 0x40e114
mov edi, edi
test esi, esi
jl 0x40e1bd
cmp esi, eax
jg 0x40e1bd
movzx eax, word [ecx + esi*2]
cmp ax, 0x2d
je 0x40e106
push eax
lea eax, [esp + 0x18]
lea edi, [ebp + 0x190]
push eax
call fcn.00403670
add esp, 8
push eax
mov ecx, edi
mov byte [esp + 0x84], 3
call fcn.00402c00
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e106
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
add esi, 1
cmp esi, eax
jne 0x40e0a0
push 4
lea ecx, [esp + 0x18]
lea esi, [ebp + 0x190]
push ecx
mov ecx, esi
call fcn.00403420
push eax
mov ecx, esi
mov byte [esp + 0x84], 4
call fcn.00402c00
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e160
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x481d1c]
push ecx
mov ecx, ebp
call fcn.00435487
mov ecx, ebp
call fcn.0040f360
call fcn.0040dab0
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
mov dword [esp + 0x4c], 0x2c
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], 0
call fcn.00430c2e
call fcn.00414920
call fcn.004268df
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e1c7
push 0x80004005
call fcn.00401820
push 0x80070057
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
call fcn.004268df
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e1f1
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
push 0x20
push 0
push ecx
mov byte [esp + 0x8c], 5
mov ecx, esp
mov dword [esp + 0x30], esp
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push ecx
mov ecx, 0x481ce4
call fcn.00402120
add esp, 8
lea ecx, [esp + 0x34]
call fcn.00409840
test eax, eax
jne 0x40e262
push 0x20
lea edx, [ebp + 0x130]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.InstallLocation
call fcn.00401af0
lea ecx, [esp + 0x34]
call fcn.0040a310
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x130]
mov eax, dword [ecx - 0xc]
test eax, eax
lea edi, [ebp + 0x130]
jne 0x40e340
lea esi, [esp + 0x1c]
call fcn.00407ae0
push 0x46babc
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x8c], 6
call fcn.00403590
add esp, 0xc
push 0x481cd8
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x8c], 7
call fcn.004034d0
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x84], 8
call fcn.00402c00
mov byte [esp + 0x80], 7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e2f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e318
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 5
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 0x40e340
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call fcn.00413fe0
add esp, 4
push 7
mov edi, ebp
call fcn.0040f710
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e37a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e39a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e3c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret