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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ede7
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2b4
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
push 0xa4
push 0x69
call fcn.0041d0c0
add esp, 8
cmp eax, 0x52
jne 0x42a9ab
call fcn.0041c760
test eax, eax
je 0x42a9ab
call fcn.004463f0
call fcn.0041c760
test eax, eax
je 0x42a9be
call fcn.0041e0b0
call fcn.0041e1f0
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x108], 0
push 0x40
push 0
lea ecx, [ebp - 0x104]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
call fcn.0041d660
test eax, eax
je 0x42a9fb
call fcn.00446a30
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
mov byte [ebp - 4], 1
call fcn.0041d630
jmp 0x42aa4e
mov dword [ebp - 4], 0
call fcn.0041d600
test eax, eax
je 0x42aa68
call fcn.00424570
call fcn.004463f0
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 [0x45471e]
mov byte [ebp - 0xb8], dl
push 0x63
push 0
lea eax, [ebp - 0xb7]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
call fcn.0043fcb0
test eax, eax
je 0x42aaaa
call fcn.00447380
call fcn.00403ff0
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 0x457084
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 - 0x280], eax
lea ecx, [ebp - 0x164]
call fcn.00402290
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x288]
call fcn.004023a0
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x290], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x290]
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], 3
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.00403c90
lea eax, [ebp - 0x1fc]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1e0], esp
push 4
push 0x457088
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 - 0x294], eax
lea ecx, [ebp - 0x1dc]
call fcn.00402290
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x29c], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x29c]
call fcn.00402620
mov dword [ebp - 0x2a0], eax
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2a4]
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], 8
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], 9
lea ecx, [ebp - 0x1dc]
call fcn.00403c90
call fcn.00406700
test eax, eax
je 0x42ac0a
call fcn.00446a30
call fcn.0041e3a0
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__]
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
push 0xc4
call fcn.0041c880
add esp, 4
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0x128
je 0x42ac6a
jmp 0x42ac6c
jmp 0x42ac76
call fcn.0041e410
call fcn.0041e550
cmp dword [ebp - 0x4c], 0
jne 0x42ad3e
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 0x457090
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 - 0x2ac], eax
lea ecx, [ebp - 0x254]
call fcn.00402290
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2b4]
call fcn.00402620
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2bc]
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.0042b540
add esp, 0x10
mov byte [ebp - 4], 0xa
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], 9
lea ecx, [ebp - 0x254]
call fcn.00403c90
call fcn.0043f860
test eax, eax
je 0x42ad3e
call fcn.0041e680
call fcn.00447380
push 0x1388
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x102
jne 0x42ad91
push 0
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xe
push 0x45
push 0x87
call fcn.0043fb70
add esp, 0xc
cmp eax, 0x53
jne 0x42ad8f
call fcn.00406750
test eax, eax
je 0x42ad8f
call fcn.0041e710
jmp 0x42ade4
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42ade4
mov ecx, dword [ebp - 0xbc]
cmp ecx, dword [ebp - 0x18]
jne 0x42ade4
mov dword [ebp - 0x10c], 0
mov byte [ebp - 4], 0xc
call fcn.0041c760
jmp 0x42addd
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0041d5d0
test eax, eax
je 0x42ae01
call fcn.0041e830
call fcn.0041e910
call fcn.00406700
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 1
je 0x42ae17
jmp 0x42ae21
call fcn.00403ff0
call fcn.0041e980
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0041d570
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 1
je 0x42ae41
jmp 0x42ae4b
call fcn.00403ff0
call fcn.00428bd0
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.0044b4f4
mov esp, ebp
pop ebp
ret 0x1c