Function at 0x479fe0
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov dword [esp + 0x54], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov eax, dword [edx]
test eax, eax
je 0x47a047
mov esi, edx
add esi, 4
lea edi, [esp + 8]
nop word [eax + eax]
mov ecx, edi
push eax
call fcn.0041e2e0
mov ecx, edi
push 0x56738a
call fcn.0041e2e0
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x47a020
mov cl, byte [esp + 8]
mov eax, dword [esp + 0xc]
jmp 0x47a04b
xor eax, eax
xor ecx, ecx
mov esi, dword [ebp + 8]
mov edx, ecx
shr dl, 1
test cl, 1
movzx edx, dl
cmovne edx, eax
add edx, 0xffffffff
lea eax, [esp + 8]
lea ecx, [esp + 0x78]
push eax
push edx
push 0
push eax
call fcn.0041da40
test byte [esp + 8], 1
je 0x47a099
mov eax, dword [esp + 0x10]
mov byte [eax], 0
mov dword [esp + 0xc], 0
test byte [esp + 8], 1
je 0x47a099
push dword [esp + 0x10]
call fcn.0041a380
add esp, 4
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
movsd xmm0, qword [esp + 0x78]
movsd qword [esp + 8], xmm0
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x7c], xmm0
movups xmmword [esp + 0x8c], xmm0
movups xmmword [esp + 0x9c], xmm0
movups xmmword [esp + 0xac], xmm0
mov dword [esp + 0x78], 0x44
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
test esi, esi
je 0x47a29b
mov edi, dword [esi]
test edi, edi
je 0x47a29b
add esi, 4
jmp 0x47a12d
mov edi, dword [esi]
add esi, 4
test edi, edi
je 0x47a2ae
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x47a40b
mov ebx, eax
mov dword [esp + 0x5c], edi
cmp eax, 0xb
jae 0x47a180
mov eax, ebx
add al, bl
mov byte [esp + 0x28], al
lea edi, [esp + 0x29]
test ebx, ebx
jne 0x47a1aa
jmp 0x47a1b8
mov dword [esp + 0x58], esi
mov esi, ebx
add esi, 0x10
and esi, 0xfffffff0
push esi
call fcn.0041a1e0
add esp, 4
mov edi, eax
mov dword [esp + 0x30], eax
or esi, 1
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x2c], ebx
push ebx
push dword [esp + 0x60]
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x48], 2
mov byte [esp + 0x4a], 0
lea ecx, [esp + 0x28]
push 1
lea eax, [esp + 0x4d]
push eax
call fcn.0041e090
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x18], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movzx eax, byte [esp + 0x18]
test al, 1
je 0x47a230
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
jmp 0x47a236
shr eax, 1
lea edx, [esp + 0x19]
lea ecx, [esp + 0x38]
push eax
push edx
call fcn.0041e090
test byte [esp + 0x18], 1
jne 0x47a260
test byte [esp + 0x48], 1
jne 0x47a273
test byte [esp + 0x28], 1
je 0x47a120
jmp 0x47a28a
push dword [esp + 0x20]
call fcn.0041a380
add esp, 4
test byte [esp + 0x48], 1
je 0x47a24f
push dword [esp + 0x50]
call fcn.0041a380
add esp, 4
test byte [esp + 0x28], 1
je 0x47a120
push dword [esp + 0x30]
call fcn.0041a380
add esp, 4
jmp 0x47a120
xor eax, eax
xor ecx, ecx
xor edx, edx
test byte [esp + 8], 1
je 0x47a2c1
mov esi, dword [esp + 0x10]
jmp 0x47a2c5
mov dl, byte [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
test byte [esp + 8], 1
jne 0x47a2a8
lea esi, [esp + 9]
mov ebx, edx
shr bl, 1
test dl, 1
movzx edx, bl
cmove ecx, edx
lea edx, [esp + 0x39]
cmove eax, edx
test ecx, ecx
cmove eax, ecx
sub esp, 0x28
lea ecx, [esp + 0x88]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x20], ecx
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x47a377
push 0xffffffffffffffff
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x60]
call esi
push dword [esp + 0x64]
call esi
cmp dword [esp + 0x34], 0
je 0x47a3a5
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push dword [esp + 0x34]
push dword [esp + 0x58]
push str._s_failed:__lu_n
push eax
call 0x47a420
add esp, 0x10
jmp 0x47a3d6
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0050a0c0
add esp, 8
test byte [esp + 0x18], 1
je 0x47a3b0
mov eax, dword [esp + 0x20]
jmp 0x47a3b4
xor esi, esi
test byte [esp + 0x38], 1
jne 0x47a3e2
jmp 0x47a3ee
lea eax, [esp + 0x19]
push eax
push str.CreateProcess_failed:__s_n
push esi
call 0x47a420
add esp, 0xc
test byte [esp + 0x18], 1
je 0x47a3d6
push dword [esp + 0x20]
call fcn.0041a380
add esp, 4
mov esi, 0xffffffff
test byte [esp + 0x38], 1
je 0x47a3ee
push dword [esp + 0x40]
call fcn.0041a380
add esp, 4
test byte [esp + 8], 1
je 0x47a401
push dword [esp + 0x10]
call fcn.0041a380
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x28]
call fcn.0041d590
nop word cs:[eax + eax]
nop
push eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
mov dword [esp], edx
push edx
push ecx
push eax
call fcn.00467cc0
add esp, 0xc
pop eax
ret