Function at 0x431c20
Capabilities:
Create process on windows

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x10
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x58]
lea esi, [ebp - 0x84]
sub esp, 0xdc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x5c], 0x44
rep stosd dword es:[edi], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov edi, dword [edx]
mov ebx, dword [edx + 4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], esi
mov eax, edi
add eax, ebx
je 0x431c89
test edi, edi
je 0x431f43
cmp ebx, 0xf
ja 0x431e25
cmp ebx, 1
je 0x431e15
test ebx, ebx
mov eax, esi
jne 0x431e44
mov dword [ebp - 0x88], ebx
mov byte [eax + ebx], 0
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x431d4c
mov ecx, eax
lea eax, [ebp - 0x74]
mov dword [esp + 4], 0x4fe209
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.004eb440
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
mov edx, 0xf
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x8c]
lea ebx, [ecx + edi]
cmp eax, esi
cmovne edx, dword [ebp - 0x84]
cmp ebx, edx
ja 0x431ef0
test ecx, ecx
je 0x431d30
add eax, edi
cmp ecx, 1
jne 0x431f22
mov ecx, dword [ebp - 0xac]
movzx edx, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x8c]
mov esi, esi
lea edi, [edi]
mov dword [ebp - 0x88], ebx
mov byte [eax + ebx], 0
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
cmp eax, edx
je 0x431d4c
mov dword [esp], eax
call fcn.004ed8c0
lea eax, [ebp - 0x9c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x5c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
mov ebx, eax
je 0x431e60
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x431dd2
mov eax, dword [ebp - 0x9c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov eax, dword [ebp - 0x98]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x9c]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
mov ebx, 1
mov eax, dword [ebp - 0x8c]
cmp eax, esi
je 0x431e0b
mov dword [esp], eax
call fcn.004ed8c0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, byte [edi]
mov byte [ebp - 0x84], al
mov eax, esi
jmp 0x431ca5
test ebx, ebx
js 0x431f4f
lea eax, [ebx + 1]
mov dword [esp], eax
call fcn.004ed900
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x8c], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x8c]
jmp 0x431ca5
call fcn.0042c430
mov dword [ebp - 0xac], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x74]
lea edi, [ebp - 0x6c]
mov ecx, 0x6d61
mov dword [esp + 0x10], str.CreateProcessA__s_failed__error_id_is__lu
mov dword [esp + 0xc], 0xd3
mov dword [esp + 8], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], 1
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x6c], 0x506e7552
mov dword [ebp - 0x68], 0x72676f72
mov dword [esp], eax
mov word [ebp - 0x64], cx
mov dword [ebp - 0x70], 0xa
mov byte [ebp - 0x62], 0
call fcn.0042ce70
mov eax, dword [ebp - 0x74]
cmp eax, edi
je 0x431df9
mov dword [esp], eax
call fcn.004ed8c0
jmp 0x431df9
mov eax, dword [ebp - 0xac]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0x8c]
mov dword [esp + 4], 0
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.004ce110
sub esp, 0x10
mov eax, dword [ebp - 0x8c]
jmp 0x431d30
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x8c]
jmp 0x431d30
mov dword [esp], 0x4fe094
call fcn.004e7b80
mov dword [esp], 0x4fdeff
call fcn.004e7d10
mov ebx, eax
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x6c]
cmp eax, edx
je 0x431f6f
mov dword [esp], eax
call fcn.004ed8c0
mov eax, dword [ebp - 0x8c]
cmp eax, esi
je 0x431f81
mov dword [esp], eax
call fcn.004ed8c0
mov dword [esp], ebx
call fcn.0043f8d0
mov ebx, eax
jmp 0x431f6f