Function at 0x471540
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a512
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x4a6a04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [ebp - 0x17a], cx
xorps xmm0, xmm0
mov ecx, 0xa
movlpd qword [ebp - 0x1b8], xmm0
mov word [ebp - 0x18c], cx
imul ecx, eax, 0x98
mov eax, 0x7fffffff
movlpd qword [ebp - 0x1b0], xmm0
movlpd qword [ebp - 0x1a8], xmm0
movlpd qword [ebp - 0x1a0], xmm0
movlpd qword [ebp - 0x198], xmm0
mov dword [ebp - 0x14c], ecx
movlpd qword [ebp - 0x18a], xmm0
movlpd qword [ebp - 0x182], xmm0
lea edi, [ecx + 0x60]
mov dword [ebp - 0x1bc], 0x44
add edi, dword [esi + 0x18]
add ecx, 0x48
add ecx, dword [esi + 0x18]
mov dword [ebp - 0x190], 1
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x4718c7
cmp dword [ecx + 0x14], 0x10
jb 0x471609
mov ecx, dword [ecx]
push 1
push 0x4973dc
push edx
push ecx
push ecx
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x140]
call fcn.0040ea50
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x471636
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x140]
call fcn.0040cfe0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], 0x10
cmovae eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x114]
cmp eax, 0x10
jb 0x4716e0
mov ecx, dword [ebp - 0x128]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x4716d7
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4718cc
push ecx
call fcn.0044efd0
add esp, 4
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp eax, 0x10
jb 0x471730
mov ecx, dword [ebp - 0x140]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x471727
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4718cc
push ecx
call fcn.0044efd0
add esp, 4
cmp byte [ebp + 0xc], 0
jne 0x471766
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x14c]
mov eax, dword [ecx + eax + 0x78]
cmp eax, 3
jne 0x47174f
push str.__c__m
jmp 0x471759
cmp eax, 4
jne 0x471766
push 0x4973e8
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x1bc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x47179a
xor al, al
jmp 0x4718aa
push dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
push dword [ebp - 0x15c]
xorps xmm0, xmm0
mov byte [ebp - 0x141], 0
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x160], 0
movq qword [ebp - 0x168], xmm0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x47185c
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0
push 0
push 0
push dword [esi + 4]
lea eax, [ebp - 0x178]
push eax
call edi
test eax, eax
je 0x471847
nop word [eax + eax]
push 0
push 0
push dword [esi + 4]
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x47181d
cmp eax, 0xffffffff
jne 0x471824
mov byte [ebp - 0x141], 1
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
push dword [esi + 4]
lea eax, [ebp - 0x178]
push eax
call edi
test eax, eax
jne 0x471800
push 0x64
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4717e4
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x148]
or edx, 0xffffffff
push dword [ebp - 0x15c]
test eax, eax
cmove ecx, edx
mov dword [ebp - 0x148], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x141], 0
je 0x4718a0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x148], 0
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455d51
mov esp, ebp
pop ebp
ret 8
call fcn.0040a700
call fcn.0045d555
int3