Function at 0x4102a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5ad2
mov eax, dword fs:[0]
push eax
sub esp, 0x8f8
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
call fcn.00497a40
add esp, 0xc
test edi, edi
je 0x410533
push 1
xor eax, eax
mov dword [ebp - 0x818], 7
push 0x4ea66c
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x81c], 0
mov word [ebp - 0x82c], ax
call fcn.00407a10
push esi
lea edx, [ebp - 0x82c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88c]
call fcn.00411e10
push 0x4ea66c
push eax
lea eax, [ebp - 0x874]
mov byte [ebp - 4], 1
push eax
call fcn.00411bd0
add esp, 0x10
cmp dword [ebp - 0x878], 8
jb 0x410373
push dword [ebp - 0x88c]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x878], 7
mov dword [ebp - 0x87c], 0
mov word [ebp - 0x88c], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x818], 8
jb 0x4103ab
push dword [ebp - 0x82c]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], 0
mov word [ebp - 0x82c], ax
mov dword [ebp - 0x848], 7
mov dword [ebp - 0x84c], eax
mov word [ebp - 0x85c], ax
cmp word [edi], ax
jne 0x4103e8
xor ecx, ecx
jmp 0x4103ff
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4103f0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x85c]
call fcn.00407a10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x844]
push 1
xor eax, eax
mov dword [ebp - 0x830], 7
push 0x4ea670
mov dword [ebp - 0x834], 0
mov word [ebp - 0x844], ax
call fcn.00407a10
lea eax, [ebp - 0x85c]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x844]
lea ecx, [ebp - 0x8a4]
call fcn.00411c70
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x874]
mov byte [ebp - 4], 7
call fcn.0040d370
cmp dword [ebp - 0x890], 8
jb 0x410489
push dword [ebp - 0x8a4]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x890], 7
cmp dword [ebp - 0x830], 8
mov dword [ebp - 0x894], 0
mov word [ebp - 0x8a4], ax
jb 0x4104bd
push dword [ebp - 0x844]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x830], 7
cmp dword [ebp - 0x848], 8
mov dword [ebp - 0x834], 0
mov word [ebp - 0x844], ax
jb 0x4104f1
push dword [ebp - 0x85c]
call fcn.00470760
add esp, 4
cmp dword [ebp - 0x860], 8
lea eax, [ebp - 0x874]
cmovae eax, dword [ebp - 0x874]
push eax
lea eax, [ebp - 0x814]
push 0x3ff
push eax
call fcn.00495939
add esp, 0xc
cmp dword [ebp - 0x860], 8
jb 0x410550
push dword [ebp - 0x874]
call fcn.00470760
add esp, 4
jmp 0x410550
cmp dword [esi + 0x14], 8
jb 0x41053b
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x814]
push 0x3ff
push eax
call fcn.00495939
add esp, 0xc
push 0x40
lea eax, [ebp - 0x900]
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [ebp - 0x8b8], xmm0
call fcn.00497a40
add esp, 0xc
mov dword [ebp - 0x904], 0x44
xor eax, eax
mov dword [ebp - 0x900], 0
mov dword [ebp - 0x8d4], eax
mov dword [ebp - 0x8d0], eax
lea eax, [ebp - 0x8b8]
push eax
lea eax, [ebp - 0x904]
mov dword [ebp - 0x8fc], 0
push eax
push ebx
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x814]
mov dword [ebp - 0x8f8], 0
push eax
push 0
mov dword [ebp - 0x8d8], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4105df
or eax, 0xffffffff
jmp 0x410605
push dword [ebp - 0x8b8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x8a8], 0
call esi
push dword [ebp - 0x8b4]
call esi
mov eax, dword [ebp - 0x8a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret