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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4273e9
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx + edi + 0x568]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
xor ebx, ebx
cmp ecx, eax
mov esi, 0xf
je 0x4027e3
lea ebp, [ecx + 0x20]
jmp 0x4021b0
lea eax, [ebp + 0xa8]
push eax
call fcn.0040ffb0
movzx eax, al
add esp, 4
cmp eax, ebx
je 0x4027c2
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x20]
push edx
lea ecx, [ecx + edi + 4]
call fcn.0040c6a0
push 0x25
push str.legacy__:_createUninstallerProperties
lea ecx, [esp + 0x78]
mov dword [esp + 0x18], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.00401890
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x1d0], ebx
call fcn.004123c0
mov eax, dword [esp + 0x90]
add esp, 8
cmp eax, 0x10
mov dword [esp + 0x1c8], 0xffffffff
jb 0x402240
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x10], ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
je 0x402860
lea eax, [ebp + 0x70]
push 1
push eax
call fcn.00411350
add esp, 8
movzx edx, al
push 0x2d
push str.legacy__:_removal_of_old_uninstaller_shortcut
lea ecx, [esp + 0xe8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
call fcn.00401890
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0xe4]
push ecx
mov dword [esp + 0x1d0], 1
call fcn.004123c0
mov eax, dword [esp + 0x100]
add esp, 8
cmp eax, 0x10
mov dword [esp + 0x1c8], 0xffffffff
jb 0x4022e0
mov edx, dword [esp + 0xe4]
push edx
call fcn.0041aebd
add esp, 4
push 0xa
push str.legacy__:
lea ecx, [esp + 0xcc]
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call fcn.00401890
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov dword [esp + 0x1d0], 2
call fcn.004123c0
mov eax, dword [esp + 0xe4]
add esp, 8
cmp eax, 0x10
mov dword [esp + 0x1c8], 0xffffffff
jb 0x402364
mov edx, dword [esp + 0xc8]
push edx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x10], ebx
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
je 0x402860
push ebx
push 0x42a2ef
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
call fcn.00401890
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx + edi]
lea edx, [esp + 0x8c]
push edx
lea ecx, [eax + 0x200]
push ecx
push ebp
lea edx, [eax + 0x3dc]
push edx
lea ecx, [ebp + 0x70]
push ecx
add eax, 0x238
push eax
mov dword [esp + 0x1e0], 3
call fcn.00415e00
mov eax, dword [esp + 0xbc]
add esp, 0x18
cmp eax, 0x10
mov dword [esp + 0x1c8], 0xffffffff
jb 0x40240e
mov eax, dword [esp + 0x90]
push eax
call fcn.0041aebd
add esp, 4
push 0x32
push str.legacy__:_creation_of_the_new_uninstaller_shortcut
lea ecx, [esp + 0x5c]
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.00401890
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x1d0], 4
call fcn.004123c0
mov eax, dword [esp + 0x74]
add esp, 8
cmp eax, 0x10
mov dword [esp + 0x1c8], 0xffffffff
jb 0x40247d
mov eax, dword [esp + 0x58]
push eax
call fcn.0041aebd
add esp, 4
push esi
push str.UninstallString
lea ecx, [esp + 0xb0]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov dword [esp + 0x20], 0x80000002
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
call fcn.00401890
push 0x33
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [esp + 0x24]
mov dword [esp + 0x1d0], 5
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00401890
lea ecx, [esp + 0x1a4]
push ebp
push ecx
mov byte [esp + 0x1d0], 6
call fcn.00414d90
mov dword [esp + 0x1c], eax
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
lea ecx, [eax + edi + 0x238]
push ecx
lea edx, [esp + 0x178]
push edx
mov byte [esp + 0x1d8], 7
call fcn.00414d90
push 0x42a274
push eax
lea eax, [esp + 0x168]
push eax
mov byte [esp + 0x1e4], 8
call fcn.00401bd0
mov ecx, dword [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x158]
push edx
mov byte [esp + 0x1f0], 9
call fcn.00401c80
mov dword [esp + 0x3c], eax
lea eax, [ebp + 0x38]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x1b8]
push edx
mov byte [esp + 0x1fc], 0xa
call fcn.00410090
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0xe4]
push ecx
push eax
mov byte [esp + 0x20c], 0xb
call fcn.00414720
mov eax, dword [esp + 0x1e4]
add esp, 0x44
cmp eax, 0x10
jb 0x4025b3
mov edx, dword [esp + 0x18c]
push edx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x14c], 0x10
mov dword [esp + 0x1a0], esi
mov dword [esp + 0x19c], ebx
mov byte [esp + 0x18c], bl
jb 0x4025e2
mov eax, dword [esp + 0x138]
push eax
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x168], 0x10
mov dword [esp + 0x14c], esi
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
jb 0x402611
mov ecx, dword [esp + 0x154]
push ecx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x184], 0x10
mov dword [esp + 0x168], esi
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
jb 0x402640
mov edx, dword [esp + 0x170]
push edx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x1bc], 0x10
mov dword [esp + 0x184], esi
mov dword [esp + 0x180], ebx
mov byte [esp + 0x170], bl
jb 0x40266f
mov eax, dword [esp + 0x1a8]
push eax
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x1bc], esi
mov dword [esp + 0x1b8], ebx
mov byte [esp + 0x1a8], bl
jb 0x402698
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0xc0], 0x10
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x1c8], 0xffffffff
jb 0x4026c9
mov edx, dword [esp + 0xac]
push edx
call fcn.0041aebd
add esp, 4
push 0x28
push str.legacy__:_update_of_the_add_remove_entry
lea ecx, [esp + 0x40]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00401890
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x1d0], 0xc
call fcn.004123c0
mov eax, dword [esp + 0x58]
add esp, 8
cmp eax, 0x10
mov dword [esp + 0x1c8], 0xffffffff
jb 0x402738
mov edx, dword [esp + 0x3c]
push edx
call fcn.0041aebd
add esp, 4
lea eax, [ebp + 0xa8]
push 1
push eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00411350
add esp, 8
push str.legacy__:_removal_of_the_old_uninstaller
lea ecx, [esp + 0x100]
call fcn.00401a90
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x100]
push ecx
mov dword [esp + 0x1d0], 0xd
call fcn.004123c0
mov eax, dword [esp + 0x11c]
add esp, 8
cmp eax, 0x10
mov dword [esp + 0x1c8], 0xffffffff
jb 0x4027ad
mov edx, dword [esp + 0x100]
push edx
call fcn.0041aebd
add esp, 4
mov dword [esp + 0x114], esi
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
add ebp, 0x120
lea eax, [ecx + edi + 0x568]
mov eax, dword [eax + 8]
lea edx, [ebp - 0x20]
cmp edx, eax
jne 0x4021b0
push 0x11
push str.LEGACY_SUCCESFUL_
lea ecx, [esp + 0x120]
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
call fcn.00401890
lea eax, [esp + 0x118]
push eax
mov dword [esp + 0x1cc], 0xe
call fcn.004122d0
mov eax, dword [esp + 0x134]
add esp, 4
cmp eax, 0x10
jb 0x402842
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.0041aebd
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x1c0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1bc
ret
xor eax, eax
jmp 0x402847