Function at 0x409650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b539
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x45e054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
push ecx
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 1
call fcn.0040be00
sub esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x218]
call fcn.00403190
sub esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x378]
call fcn.00403190
sub esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c8]
call fcn.00403190
sub esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x428]
call fcn.00403190
mov edx, 0x459068
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b8]
call fcn.00407a20
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.00403250
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x40973f
mov eax, dword [eax]
push ecx
push 1
push eax
lea ecx, [ebp - 0x158]
call fcn.004043e0
test eax, eax
lea ecx, [ebp - 0x168]
mov eax, dword [ebp - 0x168]
push 0
mov eax, dword [eax + 4]
jne 0x40976f
push 2
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x409779
push 0
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x14], 0x10
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x409791
push dword [ebp - 0x28]
call edi
add esp, 4
cmp dword [ebp - 0x108], 0
je 0x409930
lea ecx, [ebp - 0x168]
call fcn.00403980
sub esp, 0x18
lea ecx, [ebp - 0x2c8]
push esp
call fcn.00403250
call fcn.00409430
add esp, 0x18
mov dword [0x45eed0], 0
push 0
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x45e170
mov byte [ecx], 0
call fcn.004059a0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
push 9
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Lc_r
mov byte [ecx], 0
call fcn.00405d00
mov edx, 9
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.0040cdc0
add esp, 0x34
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x409841
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x45e170
mov byte [ecx], 0
call fcn.004059a0
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
push 7
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x459078
mov byte [ecx], 0
call fcn.00405d00
mov edx, 7
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0040cdc0
add esp, 0x34
mov esi, eax
push 6
mov edx, str.b3Blbg
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.0040f350
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x4098c6
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4098ce
mov eax, dword [eax]
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [ebp - 0x5c], 0x10
jb 0x4098e6
push dword [ebp - 0x70]
call edi
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jb 0x409906
push dword [ebp - 0x28]
call edi
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebp - 0x8c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x409930
push dword [ebp - 0xa0]
call edi
add esp, 4
push dword [0x45eed0]
lea ecx, [ebp - 0x208]
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x459068
lea ecx, [ebp - 0x208]
call fcn.00407a20
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x218]
call fcn.00403250
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x40996d
mov eax, dword [eax]
push ecx
push 1
push eax
lea ecx, [ebp - 0x158]
call fcn.004043e0
test eax, eax
lea ecx, [ebp - 0x168]
mov eax, dword [ebp - 0x168]
push 0
mov eax, dword [eax + 4]
jne 0x40999d
push 2
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x4099a7
push 0
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x14], 0x10
jb 0x4099b9
push dword [ebp - 0x28]
call edi
add esp, 4
cmp dword [ebp - 0x108], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
je 0x4099ed
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x168]
call fcn.0040c420
lea ecx, [ebp - 0x168]
call fcn.00403980
mov ecx, dword [ebp - 0x30]
cmp ecx, 1
ja 0x409a19
push 0
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], 0
push 0x458edd
mov byte [ebx], 0
call fcn.00405d00
jmp 0x409bfc
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
push dword [0x45eed4]
call fcn.004112a0
sub esp, 0x10
mov dword [ebp - 0xa4], eax
mov esi, esp
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x45e170
mov byte [ecx], 0
call fcn.004059a0
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push 0xb
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x459088
mov byte [ecx], 0
call fcn.00405d00
mov edx, 0xb
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0040cdc0
add esp, 0x34
mov edx, eax
mov byte [ebp - 4], 0xe
mov ecx, esi
call fcn.00403ec0
add esp, 4
lea ecx, [ebp - 0x58]
mov edx, 1
call fcn.0040f770
add esp, 0x1c
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x14], 0x10
jb 0x409ad3
push dword [ebp - 0x28]
call edi
add esp, 4
push dword [ebp - 0xa4]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [ebp - 0x48], 3
jae 0x409b29
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], 0
push 0x458edd
mov byte [ebx], 0
call fcn.00405d00
jmp 0x409bdc
mov esi, dword [0x45eed0]
lea ecx, [ebp - 0x4d8]
sub esp, 8
dec esi
call fcn.00403190
push esi
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 0x11
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x459068
lea ecx, [ebp - 0x4c8]
call fcn.00407a20
sub esp, 0x18
lea ecx, [ebp - 0x4d8]
push esp
call fcn.00403250
call fcn.00409430
push esp
lea ecx, [ebp - 0x218]
call fcn.00403250
call fcn.00409430
add esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.004057f0
mov eax, dword [ebp - 0x4d8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x4dc], eax
lea ecx, [ebp - 0x4c0]
call fcn.00403270
lea ecx, [ebp - 0x4b8]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x470]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebp - 0x44], 0x10
jb 0x409bea
push dword [ebp - 0x58]
call edi
add esp, 4
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov eax, dword [ebp - 0x428]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x42c], eax
lea ecx, [ebp - 0x410]
call fcn.00403270
lea ecx, [ebp - 0x408]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x3c0]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x2c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2cc], eax
lea ecx, [ebp - 0x2b0]
call fcn.00403270
lea ecx, [ebp - 0x2a8]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x260]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x378]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x378]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x37c], eax
lea ecx, [ebp - 0x360]
call fcn.00403270
lea ecx, [ebp - 0x358]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x310]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x21c], eax
lea ecx, [ebp - 0x200]
call fcn.00403270
lea ecx, [ebp - 0x1f8]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1b0]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x16c], eax
lea ecx, [ebp - 0x158]
call fcn.004044f0
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebp - 0x2c], 0x10
jb 0x409d7c
push dword [ebp - 0x40]
call edi
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044998c
mov esp, ebp
pop ebp
ret