Function at 0x47cd60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cff0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x4bca04]
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 - 0x192], cx
xorps xmm0, xmm0
mov ecx, 0xa
movlpd qword [ebp - 0x1d0], xmm0
mov word [ebp - 0x1a4], cx
imul ecx, eax, 0x98
mov eax, 0x7fffffff
movlpd qword [ebp - 0x1c8], xmm0
movlpd qword [ebp - 0x1c0], xmm0
movlpd qword [ebp - 0x1b8], xmm0
movlpd qword [ebp - 0x1b0], xmm0
mov dword [ebp - 0x160], ecx
movlpd qword [ebp - 0x1a2], xmm0
movlpd qword [ebp - 0x19a], xmm0
lea edi, [ecx + 0x60]
mov dword [ebp - 0x1d4], 0x44
add edi, dword [esi + 0x18]
add ecx, 0x48
add ecx, dword [esi + 0x18]
mov dword [ebp - 0x1a8], 1
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x47d159
cmp dword [ecx + 0x14], 0x10
jb 0x47ce29
mov ecx, dword [ecx]
push 1
push 0x4a72dc
push edx
push ecx
push ecx
push dword [ebp - 0x160]
lea ecx, [ebp - 0x140]
call fcn.004156d0
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x47ce56
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x140]
call fcn.00413670
mov dword [ebp - 0x118], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x128], xmm0
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 0x47cf00
mov ecx, dword [ebp - 0x128]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x47cef7
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x47d15e
push ecx
call fcn.0045a450
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp eax, 0x10
jb 0x47cf57
mov ecx, dword [ebp - 0x140]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x47cf4e
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x47d15e
push ecx
call fcn.0045a450
add esp, 4
cmp byte [ebp + 0xc], 0
jne 0x47cf8d
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x160]
mov eax, dword [ecx + eax + 0x78]
cmp eax, 3
jne 0x47cf76
push str.__c__m
jmp 0x47cf80
cmp eax, 4
jne 0x47cf8d
push 0x4a72e8
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x110]
sub esp, 8
mov edx, esp
mov ecx, eax
mov dword [edx], eax
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47cfa0
sub ecx, edi
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x158]
call fcn.00411360
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x47cfc2
mov eax, dword [eax]
lea ecx, [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x1d4]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x144]
mov edi, eax
cmp ecx, 8
jb 0x47d023
mov edx, dword [ebp - 0x158]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47d01a
mov edx, dword [eax - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d163
push edx
call fcn.0045a450
add esp, 4
test edi, edi
jne 0x47d02e
xor al, al
jmp 0x47d13c
push dword [ebp - 0x170]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0x64
push dword [ebp - 0x174]
xorps xmm0, xmm0
mov byte [ebp - 0x159], 0
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x178], 0
movq qword [ebp - 0x180], xmm0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x47d0f8
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
nop
push 0
push 0
push 0
push dword [esi + 4]
lea eax, [ebp - 0x190]
push eax
call edi
test eax, eax
je 0x47d0dd
push 0
push 0
push dword [esi + 4]
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x47d0b3
cmp eax, 0xffffffff
jne 0x47d0ba
mov byte [ebp - 0x159], 1
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
push dword [esi + 4]
lea eax, [ebp - 0x190]
push eax
call edi
test eax, eax
jne 0x47d096
push 0x64
push dword [ebp - 0x174]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x47d080
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x164]
push eax
push dword [ebp - 0x174]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x47d119
mov dword [ebp - 0x164], 0xffffffff
push dword [ebp - 0x174]
call edi
cmp byte [ebp - 0x159], 0
je 0x47d132
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x164], 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.004612e1
mov esp, ebp
pop ebp
ret 8
call fcn.004105c0
call fcn.00469335
call fcn.00469335
int3