Function at 0x40f520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c658
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
push 0x548900
mov ecx, dword [ebp + 8]
call fcn.00406cd0
push eax
call fcn.0051ac59
add esp, 8
test eax, eax
jne 0x40f861
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x10]
jne 0x40f62d
push str.exit
lea ecx, [ebp - 0xa8]
call fcn.004060d0
mov dword [ebp - 4], 0
push 0x548918
lea ecx, [ebp - 0xa4]
call fcn.004060d0
mov byte [ebp - 4], 1
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0xc4], esp
push 0
call fcn.00406190
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 2
push 0
push 0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.004082d0
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.00422590
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.004067d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004067d0
mov ecx, dword [ebp - 0x98]
sub ecx, 0x14
mov edx, dword [ebp - 0x98]
mov eax, dword [edx - 0x14]
mov edx, dword [eax + 0x34]
call edx
jmp 0x40f861
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x380]
jne 0x40f761
xor eax, eax
mov byte [ebp - 0x99], al
lea ecx, [ebp - 0x99]
call fcn.0040eb40
push eax
lea ecx, [ebp - 0xa0]
call fcn.004060d0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004082d0
mov ecx, eax
call fcn.004223b0
xor edx, edx
mov byte [ebp - 0x9a], dl
push 1
push 0
push 0
lea ecx, [ebp - 0xa0]
call fcn.00406cd0
push eax
lea ecx, [ebp - 0x9a]
call fcn.0040eac0
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push str.feedbk
lea ecx, [ebp - 0xb0]
call fcn.004060d0
mov byte [ebp - 4], 4
push 0x548934
lea ecx, [ebp - 0xac]
call fcn.004060d0
mov byte [ebp - 4], 5
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0xcc], esp
push 0
call fcn.00406190
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 6
push 0
push 0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xac]
push ecx
call fcn.004082d0
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00422590
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xac]
call fcn.004067d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
call fcn.004067d0
mov ecx, dword [ebp - 0x98]
sub ecx, 0x14
mov edx, dword [ebp - 0x98]
mov eax, dword [edx - 0x14]
mov edx, dword [eax + 0x34]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.004067d0
jmp 0x40f861
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x108]
cmp edx, dword [ecx + 0x37c]
jne 0x40f861
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0xb4], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb4]
sub eax, 0x19a
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb8]
sub eax, 0xcb
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax - 0x10]
push ecx
mov ecx, dword [ebp - 0x98]
add ecx, 0x384
call fcn.0040fc90
xor edx, edx
mov byte [ebp - 0x9b], dl
push 0xffffffffffffffff
lea ecx, [ebp - 0x9b]
call fcn.0040f3c0
push eax
lea ecx, [ebp - 0x94]
call fcn.00433180
mov dword [ebp - 4], 7
push 1
push 0xcb
push 0x19a
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax - 0x10]
push ecx
mov ecx, dword [ebp - 0x98]
add ecx, 0x384
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x384]
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret 4