Function at 0x47f090
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd5ed
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
xor edx, edx
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x78], 0x44
movups xmmword [ebp - 0x34], xmm0
call fcn.00482280
test eax, eax
jne 0x47f34b
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x47f35e
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x14]
push dword [esi]
push str.__s___s
push eax
call fcn.00408b50
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
or edi, 0xffffffff
test eax, eax
je 0x47f183
push edi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1c], 0
jmp 0x47f31d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
call fcn.0042b190
cmp byte [eax + 0x1c], 0
je 0x47f31d
call fcn.0042b190
test byte [eax + 0x20], 1
je 0x47f31d
call fcn.0042b190
mov dword [ebp - 0x24], eax
call fcn.004046f0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x47f35e
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x18]
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
push 0xf
push str.CreateProcess__
call fcn.004025b0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
test edx, edx
je 0x47f219
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f200
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.004025b0
push 0x15
push str.__with_command_line__
lea ecx, [ebp - 0x10]
call fcn.004025b0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47f24d
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x47f234
sub edx, esi
lea ecx, [ebp - 0x10]
sar edx, 1
push edx
push eax
call fcn.004025b0
push str.__failed.
lea ecx, [ebp - 0x10]
call fcn.0040d6d0
push 0xc
push str._LastError:
lea ecx, [ebp - 0x10]
call fcn.004025b0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.0042ae40
mov dword [ebp - 0x20], eax
call fcn.004046f0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x47f35e
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x18]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
push 0
push 0x4ec684
call fcn.004025b0
push ecx
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0042b520
mov byte [ebp - 4], 4
mov eax, edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x47f2f0
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
or edi, 0xffffffff
mov byte [ebp - 4], 1
mov eax, edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x47f31d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x47f348
mov edi, dword [eax]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402720
int3