Function at 0x407d60
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42d85d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6d8
mov eax, dword [0x43c1d0]
push ebx
push esi
push edi
mov dword [esp + 0x6dc], eax
call fcn.00420ac4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [esp + 0x6ec], esi
call fcn.00420ac4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
push str.IsWow64Process
push 0x42fd38
mov byte [esp + 0x6f4], 1
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
mov dword [0x43d19c], eax
je 0x407dfd
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x43d19c]
cmp dword [esp + 0x10], esi
push ecx
mov dword [esp + 0x14], esp
mov ecx, esp
je 0x407e92
push 0x42fdec
call fcn.00402900
lea ecx, [esp + 0x14]
push ecx
call fcn.00407a20
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6f0], 2
call fcn.00402000
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x6ec], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407e5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], esi
jne 0x407f40
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x42fde4
call fcn.00402900
lea ecx, [esp + 0x14]
push ecx
call fcn.00407a20
add esp, 8
mov byte [esp + 0x6ec], 3
jmp 0x407f10
push 0x42fde4
call fcn.00402900
lea eax, [esp + 0x14]
push eax
call fcn.00407a20
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6f0], 4
call fcn.00402000
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x6ec], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ee1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], esi
jne 0x407f40
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x42fdec
call fcn.00402900
lea ecx, [esp + 0x14]
push ecx
call fcn.00407a20
add esp, 8
mov byte [esp + 0x6ec], 5
lea ecx, [esp + 0x14]
push eax
call fcn.00402000
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x6ec], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407f40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], esi
jne 0x407f8e
lea ecx, [esp + 0x10]
push ecx
call fcn.004077e0
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6f0], 6
call fcn.00402000
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x6ec], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407f8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], esi
jne 0x407fcc
push 0xffffffffffffffff
push 0x10
push 0x6a
call fcn.00428b44
lea eax, [edi - 0x10]
mov byte [esp + 0x6ec], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407fc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
jmp 0x408197
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [esp + 0x18]
mov ebx, eax
call fcn.00401520
cmp ebx, esi
je 0x40804b
mov eax, dword [esp + 0x1c]
cmp eax, esi
jle 0x40804b
mov edi, 1
cmp eax, edi
jle 0x408044
mov edi, edi
mov esi, dword [ebx + edi*4]
test esi, esi
jne 0x40800b
xor eax, eax
jmp 0x408014
push esi
call fcn.00412f9e
add esp, 4
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.00401d90
push 0x42f6b0
call fcn.00412f9e
add esp, 4
push eax
push 0x42f6b0
lea ecx, [esp + 0x20]
call fcn.00401d90
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x408000
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x14]
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x2cc]
mov ebx, 0x44
push eax
mov dword [esp + 0x80], ebx
call fcn.004136d0
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x4d8]
push esi
push ecx
call fcn.004136d0
mov eax, dword [esi - 0xc]
add esp, 0x10
test eax, eax
jl 0x4080ad
push str._normalprocess
push esi
call fcn.00413a4d
add esp, 8
test eax, eax
je 0x4080ad
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4080e4
push 1
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x4d8]
push eax
lea ecx, [esp + 0x2d4]
push ecx
call fcn.00404340
add esp, 0x10
test eax, eax
jne 0x40816e
push 0xffffffffffffffff
push 0x10
push 0x6a
call fcn.00428b44
jmp 0x40816e
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x2c8]
push edx
lea eax, [esp + 0xc4]
push eax
mov dword [esp + 0x38], ebx
mov word [esp + 0x68], 0xa
call fcn.004136d0
lea ecx, [esp + 0xc8]
push 0x42f6b0
push ecx
call fcn.004136a6
lea edx, [esp + 0x4e0]
push edx
lea eax, [esp + 0xd4]
push eax
call fcn.004136a6
add esp, 0x18
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0xe0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esi - 0x10]
mov byte [esp + 0x6ec], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408190
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x6ec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4081b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x6e4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x6dc]
call fcn.00412f2e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret