Function at 0x408452
Capabilities:
Contain obfuscated stackstrings
Create pipe
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f3fb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1578
call fcn.0047adf0
mov eax, dword [0x4c600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edx
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp eax, 0x26
ja case.0x40849f.3
jmp dword [eax*4 + 0x40bb8a]
push ecx
push ecx
mov eax, esp
mov dword [eax], 0x49ad70
mov dword [eax + 4], 3
lea eax, [ebp - 0xe90]
push eax
lea ecx, [ebx + 8]
call fcn.0041011a
push dword [eax + 4]
push dword [eax]
xor ecx, ecx
inc ecx
call fcn.00402009
add esp, 0x10
test eax, eax
jne 0x4084e2
and dword [0x4cab80], eax
jmp 0x408534
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebx + 8]
call fcn.0041011a
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x14c], eax
test eax, eax
je case.0x40849f.3
push 0
push 0xffffffffffffffff
push 0xa
lea ecx, [ebp - 0x150]
call fcn.00417380
mov dword [0x4cab80], eax
cmp dword [ebp - 0x14c], 0
jne case.0x40849f.3
mov byte [0x4cab61], 1
jmp case.0x40849f.3
cmp byte [0x4cab68], 0
jne case.0x40849f.3
xor eax, eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 4], eax
push 0x20
push str.Enumerating_installed_instances
lea ecx, [ebp - 0x144]
call fcn.00416670
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x10c], eax
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 4
push ecx
lea eax, [ebp - 0x10c]
push eax
push 0x46
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall
push ecx
lea ecx, [ebp - 0x1168]
call fcn.0043f0a0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1164], 0
je 0x40866e
push str.failed:
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x5a8]
call fcn.00412085
pop ecx
mov esi, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x1168]
push eax
cmp dword [ebp - 0x1164], 0
jne 0x408616
call fcn.0040f680
jmp 0x40861b
call fcn.0040f560
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov edx, esi
lea ecx, [ebp - 0x598]
call fcn.00411e00
pop ecx
pop ecx
mov byte [ebp - 4], 7
xor edx, edx
inc edx
mov ecx, eax
call fcn.00404b3c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x598]
call fcn.004100f5
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5a8]
call fcn.004100f5
mov byte [0x4cab68], 1
jmp 0x40881a
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040f42a
mov edi, dword [ebp - 0x60]
lea eax, [ebp - 0xe98]
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040f3f3
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [eax + 4]
jne 0x4086a2
cmp edi, dword [eax]
je 0x4087e7
cmp byte [0x4cab68], 0
jne 0x4087e7
lea eax, [ebp - 0xea0]
push eax
mov ecx, 0x4cab30
call fcn.0041011a
mov esi, eax
lea eax, [ebp - 0x3b8]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040f3ce
mov ecx, eax
call fcn.0041011a
push dword [esi + 4]
push dword [esi]
push dword [eax + 4]
push dword [eax]
push 2
pop ecx
call fcn.00402009
add esp, 0x10
test eax, eax
je 0x4087de
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebx + 8]
call fcn.0041011a
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4087de
push 4
push str._t_n_r
lea eax, [ebp - 0x90]
push eax
push ecx
push 0x2c
lea eax, [ebp - 0x3c0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00417060
mov ecx, eax
call fcn.0041046f
xor ecx, ecx
inc ecx
mov esi, dword [ebp - 0x38]
cmp esi, ecx
cmovb ecx, esi
mov eax, dword [ebp - 0x3c]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x3c], eax
sub esi, ecx
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x8c], 0
je 0x4087cd
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040f3ce
mov ecx, eax
call fcn.0041011a
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d8], eax
push dword [ebp - 0x8c]
lea eax, [ebp - 0x3c8]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00417030
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push dword [eax + 4]
push dword [eax]
push 2
pop ecx
call fcn.00402009
add esp, 0x10
test eax, eax
je 0x4087d7
test esi, esi
jne 0x40871e
jmp 0x4087de
mov byte [0x4cab68], 1
inc edi
mov dword [ebp - 0x60], edi
jmp 0x408680
push str.succeeded.
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x5b8]
call fcn.00411e8a
pop ecx
mov byte [ebp - 4], 0xa
xor edx, edx
mov ecx, eax
invalid
invalid