Function at 0x408460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545d20
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5ad6a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.ICON_ARC
mov dword [ebp - 4], 1
call fcn.00401ed0
mov eax, dword [edi + 0xcc]
push ecx
sub eax, 0x10
mov esi, esp
push eax
mov byte [ebp - 4], 2
call fcn.00401220
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004036a0
add esp, 8
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.ReplaceVistaIcon.exe
mov byte [ebp - 4], 3
call fcn.00401ed0
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov byte [ebp - 4], 4
call fcn.00401220
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.004036a0
mov eax, dword [ebp - 0x10]
add esp, 8
add eax, 0xfffffff0
mov esi, esp
push eax
mov byte [ebp - 4], 5
call fcn.00401220
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00403e60
add esp, 4
or ebx, 0xffffffff
cmp eax, 1
je 0x40853e
or esi, ebx
jmp 0x40873f
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00401220
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00403e60
add esp, 4
cmp eax, 1
je 0x40856c
mov esi, 0xfffffffe
jmp 0x40873f
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00401220
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00403e60
add esp, 4
cmp eax, 1
je 0x40859a
mov esi, 0xfffffffd
jmp 0x40873f
push 0x557c70
lea ecx, [ebp - 0x30]
call fcn.00401ed0
mov edi, eax
push 0x557c74
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00401ed0
mov esi, eax
push 0x557c70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00401ed0
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 8
call fcn.00402270
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 9
call fcn.00402270
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00402270
push edi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xb
call fcn.00402270
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
add esp, 0x30
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408632
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408652
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408672
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408692
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4086b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4086d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x3c
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.0052db10
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x40
mov dword [ebp - 0x50], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x408716
or esi, 0xffffffff
jmp 0x408723
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40873f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40875f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40877f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40879f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 0xc]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4087c0
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8