Function at 0x429920
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f0a7
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2b8
mov eax, dword [0x4632c0]
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 - 0x27c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10c], 0x80004005
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
push 0x9b
call fcn.00401060
add esp, 4
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0xea
je 0x42999c
jmp 0x42999e
jmp 0x4299a8
call fcn.0041fc80
call fcn.0041fdc0
mov dword [ebp - 0x108], 0
push 0x40
push 0
lea ecx, [ebp - 0x104]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0xdc], 1
xor edx, edx
mov word [ebp - 0xd8], dx
mov dword [ebp - 0xbc], 0
call dword [sym.imp.MSVCR90.dll_rand]
cdq
mov ecx, 0x64
idiv ecx
add edx, 1
mov dword [ebp - 0x48], edx
call fcn.004013b0
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 1
je 0x429a0c
jmp 0x429a16
call fcn.00426060
call fcn.00425b60
mov edx, dword [ebp - 0x48]
imul edx, edx, 3
mov eax, dword [ebp - 0x48]
lea ecx, [edx + eax*2 + 0x15]
mov dword [ebp - 0x18], ecx
mov dl, byte [0x4546e3]
mov byte [ebp - 0xb8], dl
push 0x63
push 0
lea eax, [ebp - 0xb7]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x184]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x168], esp
push 2
push 0x456a0c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0x164]
call fcn.004034e0
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x290]
call fcn.00403c30
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x298], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x298]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x64
lea edx, [ebp - 0xb8]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x184]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call fcn.004050e0
lea eax, [ebp - 0x1fc]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1e0], esp
push 4
push 0x456a10
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x1dc]
call fcn.004034e0
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2a4]
call fcn.004038b0
mov dword [ebp - 0x2a8], eax
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2ac]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1fc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1dc]
call fcn.004050e0
push 0x6a
push 0xfc
push 0xf1
call fcn.00444f70
add esp, 0xc
cmp eax, 0x257
jne 0x429bbb
call fcn.004013b0
test eax, eax
je 0x429bbb
call fcn.0041ff00
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
call fcn.0041ea10
test eax, eax
je 0x429bde
call fcn.0043fdb0
call fcn.0041ff80
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x429ceb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x274]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x258], esp
push 0x2d
push 0x456a18
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x2b0], eax
lea ecx, [ebp - 0x254]
call fcn.004034e0
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2b8]
call fcn.00403630
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2c0]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 1
mov edx, dword [ebp - 0x27c]
push edx
call fcn.0042a3d0
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x274]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x254]
call fcn.004050e0
push 0x79
push 0x70
call fcn.00445200
add esp, 8
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0x3c
je 0x429cdf
jmp 0x429ce1
jmp 0x429ceb
call fcn.004465f0
call fcn.00421de0
push 0x1388
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xbc], eax
call fcn.004013b0
test eax, eax
je 0x429d13
call fcn.004200c0
call fcn.00420150
cmp dword [ebp - 0xbc], 0x102
jne 0x429d4d
push 0
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.0041ea10
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 1
je 0x429d41
jmp 0x429d4b
call fcn.00402aa0
call fcn.004201e0
jmp 0x429da0
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x429da0
mov ecx, dword [ebp - 0xbc]
cmp ecx, dword [ebp - 0x18]
jne 0x429da0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 4], 0xa
call fcn.00444ac0
jmp 0x429d99
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 4
push 0x3b
push 0x3d
call fcn.00444f70
add esp, 0xc
cmp eax, 0x3f
jne 0x429dd5
call fcn.00444ac0
test eax, eax
je 0x429dd5
call fcn.00420310
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x278], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044b84a
mov esp, ebp
pop ebp
ret 0x1c