Function at 0x4378fe
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x578
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x520], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x524], eax
mov edx, dword [esi + 0x10]
mov ecx, edx
test edx, edx
je 0x437956
mov eax, dword [0x4c12e0]
test eax, eax
je 0x43797c
cmp dword [0x4c3630], 0
je 0x43795f
mov eax, dword [edx]
push str.In_CCleanUp::_CreateProcessAndWait__
push edx
call dword [eax + 0x10]
pop ecx
pop ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43797c
mov eax, dword [0x4c12e0]
test eax, eax
je 0x43797c
cmp dword [0x4c3630], 0
je 0x43797c
mov eax, dword [ecx]
push ebx
push edi
push str...Trying_to_create_process__s_with_command_line__s
push ecx
call dword [eax + 0x10]
add esp, 0x10
push edi
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.00465df5
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call fcn.004662f3
add esp, 0x14
xor ebx, ebx
test eax, eax
je 0x4379a9
mov byte [eax], bl
jmp 0x4379af
mov byte [ebp - 0x10c], bl
push dword [ebp - 0x520]
lea eax, [ebp - 0x51c]
push edi
push str.__s___s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x578]
push ebx
push eax
call fcn.0045b1d0
push 0x10
lea eax, [ebp - 0x534]
push ebx
push eax
call fcn.0045b1d0
mov dword [ebp - 0x578], edi
add esp, 0x28
xor edi, edi
mov dword [ebp - 0x570], str.winsta0default
inc edi
cmp dword [ebp + 0x18], edi
jne 0x437a12
xor eax, eax
mov dword [ebp - 0x54c], edi
mov word [ebp - 0x548], ax
lea eax, [ebp - 0x534]
xor ecx, ecx
cmp byte [ebp - 0x10c], cl
push eax
lea eax, [ebp - 0x578]
push eax
lea eax, [ebp - 0x10c]
cmove eax, ecx
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x51c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, edi
jne 0x437a7a
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x437aa8
cmp dword [0x4c12e0], 0
je 0x437aa8
cmp dword [0x4c3630], 0
je 0x437aa8
mov eax, dword [ecx]
lea edx, [ebp - 0x51c]
push edx
push str...CreateProcess__s__success
push ecx
call dword [eax + 0x10]
add esp, 0xc
jmp 0x437aa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x437aa8
cmp dword [0x4c12e0], 0
je 0x437aa8
mov ecx, dword [eax]
lea edx, [ebp - 0x51c]
push ebx
push edx
push str...CreateProcess__s__failed._Error:__d
push eax
call dword [ecx + 0x14]
add esp, 0x10
cmp dword [ebp - 0x530], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x437abf
push dword [ebp - 0x530]
call edi
mov eax, dword [ebp - 0x534]
test eax, eax
je 0x437af8
cmp dword [ebp + 0x10], 0
je 0x437af5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x524]
test eax, eax
je 0x437aef
push eax
push dword [ebp - 0x534]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x534]
push eax
call edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x437b20
cmp dword [0x4c12e0], 0
je 0x437b20
cmp dword [0x4c3630], 0
je 0x437b20
mov eax, dword [ecx]
push ebx
push str.CCleanUp::_CreateProcessAndWait___returns__d
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret 0x14