Function at 0x47a870
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bea6
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5bf364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x44], ecx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x48], 0
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x47a8c1
cmp dword [esi + 0x24], edx
mov edx, 0x580994
je 0x47a8c1
mov edx, dword [esi + 0x1c]
mov ecx, edx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea edi, [ecx + 2]
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a8f0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00423800
mov dword [ebp - 4], 0
xor eax, eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x47a921
cmp word [ecx], ax
sete al
jmp 0x47a928
cmp dword [esi + 0x24], 2
setle al
mov edi, dword [ebp - 0x44]
test eax, eax
je 0x47aabd
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x47a947
cmp dword [edi + 0x24], edx
mov edx, 0x580994
je 0x47a947
mov edx, dword [edi + 0x1c]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a950
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00423800
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], edx
cmp eax, 1
jb 0x47aabd
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
lea edi, [edx + ecx*2]
mov esi, edi
sub esi, 0x588690
nop word [eax + eax]
cmp word [edi], 0x5c
jne 0x47aba2
mov edx, 1
mov ecx, 0x588690
nop dword [eax]
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x47ab9f
add ecx, 2
sub edx, 1
jne 0x47a9c0
sub edi, dword [ebp - 0x4c]
sar edi, 1
cmp edi, 0xffffffff
jle 0x47aaba
mov byte [ebp - 4], 1
xor eax, eax
lea ecx, [edi + 1]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x18], ecx
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
push eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 7
call fcn.00423800
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 1
cmp edx, 8
jb 0x47aa60
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47aa56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47abf2
push edx
push ecx
call fcn.0050f209
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x40], ax
movq xmm0, qword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, 1
mov dword [ebp - 0x48], eax
and eax, 0xfffffffe
mov dword [ebp - 0x14], 7
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov edi, dword [ebp - 0x44]
push 0x40
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa4], 0x44
push 0
push eax
call fcn.00510e60
mov eax, 4
mov dword [ebp - 0x78], 1
mov word [ebp - 0x74], ax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x50]
add esp, 0xc
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
cmovae edx, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x47ab13
cmp dword [eax + 0x24], ecx
mov ecx, 0x580994
je 0x47ab13
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x47ab27
cmp dword [edi + 0x24], eax
mov eax, 0x580994
je 0x47ab27
mov eax, dword [edi + 0x1c]
lea esi, [ebp - 0x60]
push esi
lea esi, [ebp - 0xa4]
push esi
push edx
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x47ab67
push 0x3e8
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x5c]
call esi
mov esi, dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47abbf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47abb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47abf2
jmp 0x47abb5
mov edx, dword [ebp - 0x4c]
cmp edi, edx
je 0x47aaba
sub edi, 2
sub esi, 2
jmp 0x47a9a0
push edx
push ecx
call fcn.0050f209
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, esi
mov dword [ebp - 0x14], 7
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.0050ec8c
mov esp, ebp
pop ebp
ret 0xc
call fcn.0051936e
int3