Function at 0x409919
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f8d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040bfd0
sub eax, 1
cmp dword [ebp + 8], eax
jne 0x409975
mov ecx, dword [ebp - 0x98]
call fcn.0040aea4
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40a33f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
mov ecx, eax
add ecx, 0x58
call fcn.00402710
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x409a7e
lea ecx, [ebp - 0x18]
call fcn.00402600
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
mov ecx, eax
add ecx, 0x6c
call fcn.004027e0
test eax, eax
jne 0x4099ff
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x6c
push eax
lea ecx, [ebp - 0x18]
call fcn.00426730
jmp 0x409a2a
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
mov ecx, eax
add ecx, 0x4c
call fcn.00402710
push eax
push 4
lea ecx, [ebp - 0x18]
push ecx
call fcn.0042cb7e
push 0x30
mov ecx, dword [ebp - 0x98]
add ecx, 0x118
call fcn.00402710
push eax
lea ecx, [ebp - 0x18]
call fcn.00402710
push eax
mov ecx, dword [ebp - 0x98]
call fcn.0042873a
push 1
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
call fcn.00409889
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426643
jmp 0x409b90
mov dword [ebp - 0x1c], 0
jmp 0x409a90
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040bfd0
sub eax, 1
cmp dword [ebp - 0x1c], eax
jge 0x409b90
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
mov ecx, eax
add ecx, 0x58
call fcn.00402710
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x409b8b
lea ecx, [ebp - 0x24]
call fcn.00402600
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
mov ecx, eax
add ecx, 0x4c
call fcn.00402710
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
mov ecx, eax
add ecx, 0x4c
call fcn.00402710
push eax
push 5
lea ecx, [ebp - 0x24]
push ecx
call fcn.0042cb95
push 0x30
mov ecx, dword [ebp - 0x98]
add ecx, 0x118
call fcn.00402710
push eax
lea ecx, [ebp - 0x24]
call fcn.00402710
push eax
mov ecx, dword [ebp - 0x98]
call fcn.0042873a
push 1
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
call fcn.00409889
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00426643
jmp 0x409a87
cmp dword [ebp - 0x10], 0
jne 0x40a304
lea ecx, [ebp - 0x2c]
call fcn.00402600
mov dword [ebp - 4], 2
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x43c628
call fcn.004266b1
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.004263b8
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 2
call fcn.0040f210
add esp, 0xc
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x409c3c
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x64
push eax
lea ecx, [ebp - 0x2c]
call fcn.00426730
jmp 0x409d31
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x43c62c
call fcn.004266b1
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.004263b8
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 2
call fcn.0040f210
add esp, 0xc
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x409ccc
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x64
push eax
lea ecx, [ebp - 0x2c]
call fcn.00426730
jmp 0x409d31
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x64
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x11c
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0040ebd0
add esp, 0x10
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00426730
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00426643
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x68
push eax
mov eax, dword [ebp - 0x98]
add eax, 0x1c0
push eax
call fcn.0040be30
and eax, 0xff
test eax, eax
je 0x409dc8
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
sub esp, 0x88
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.0040bc40
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0x98]
call fcn.0040b3db
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
je 0x409dc6
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00426643
jmp 0x40a33f
jmp 0x409e15
lea edx, [ebp - 0x2c]
push edx
call fcn.0040db00
add esp, 4
test eax, eax
jne 0x409e15
push 0x10
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x130], 1
push 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x98]
call fcn.00409889
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00426643
jmp 0x40a33f
lea ecx, [ebp - 0x34]
call fcn.00402600
mov byte [ebp - 4], 6
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x5c
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.004263b8
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x98]
call fcn.00407516
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xd4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
mov ecx, eax
add ecx, 0x5c
call fcn.00426730
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.00426643
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x43c630
call fcn.004266b1
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x5c
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.004263b8
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 6
call fcn.0040f210
add esp, 0xc
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x409f35
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x5c
push eax
lea ecx, [ebp - 0x34]
call fcn.00426730
jmp 0x40a02a
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x43c634
call fcn.004266b1
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x5c
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.004263b8
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 6
call fcn.0040f210
add esp, 0xc
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x409fc5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x5c
push eax
lea ecx, [ebp - 0x34]
call fcn.00426730
jmp 0x40a02a
push 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x5c
push eax
mov edx, dword [ebp - 0x98]
add edx, 0x11c
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.0040ebd0
add esp, 0x10
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xfc]
push edx
lea ecx, [ebp - 0x34]
call fcn.00426730
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.00426643
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x1a8
call fcn.0040c040
add eax, 0x60
push eax
lea ecx, [ebp - 0x28]
call fcn.004263b8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.004027e0
test eax, eax
jne 0x40a0eb
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004263b8
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x98]
call fcn.00407516
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x108], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x108]
push edx
push 0x43c638
lea eax, [ebp - 0x74]
push eax
call fcn.00426900
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x110]
push edx
lea ecx, [ebp - 0x28]
call fcn.00426730
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x74]
call fcn.00426643
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.00426643
mov dword [ebp - 0x30], 1
push 5
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
lea eax, [ebp - 0x34]
push eax
call fcn.004263b8
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.0040e0f0
add esp, 8
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x11c]
call fcn.00402710
push eax
lea ecx, [ebp - 0x28]
call fcn.00402710
push eax
lea ecx, [ebp - 0x34]
call fcn.00402710
push eax
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x20
cmp ecx, eax
sbb edx, edx
inc edx
mov byte [ebp - 0x78], dl
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x80]
call fcn.00426643
mov eax, dword [ebp - 0x78]
and eax, 0xff
test eax, eax
je 0x40a182
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
jne 0x40a1e3
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004263b8
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea edx, [ebp - 0x34]
push edx
call fcn.004263b8
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0xb
call fcn.004138d0
add esp, 8
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x40a2a7
push 5
lea ecx, [ebp - 0x28]
push ecx
push 0x43c644
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.0042688c
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x134], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x134]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.00426826
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], ecx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x13c]
call fcn.00402710
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov edx, 0x20
cmp edx, eax
sbb eax, eax
inc eax
mov byte [ebp - 0x8c], al
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x94]
call fcn.00426643
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x90]
call fcn.00426643
mov ecx, dword [ebp - 0x8c]
and ecx, 0xff
test ecx, ecx
je 0x40a2a0
mov dword [ebp - 0x30], 0
jmp 0x40a2a7
mov dword [ebp - 0x30], 1
cmp dword [ebp - 0x30], 0
jne 0x40a2c6
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x130], 1
mov dword [ebp - 0x10], 0
jmp 0x40a2dd
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x130], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00426643
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00426643
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00426643
cmp dword [ebp - 0x10], 0
je 0x40a32e
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x134], 0
je 0x40a32e
mov ecx, dword [ebp - 0x98]
call fcn.0040aea4
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40a33f
push 1
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x98]
call fcn.00409889
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4