Function at 0x1001a820
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c560
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x10080440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x44
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xa0]
push 0
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0
call fcn.10044800
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0x44
xor eax, eax
mov dword [ebp - 0x14], 7
add esp, 0xc
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
call fcn.1002a500
test al, al
je 0x1001a8d2
push ecx
push ecx
push esi
pop ebp
pop ebx
push esp
push ebx
push ecx
pop eax
pop ebp
pop ebp
pop ecx
pop edx
pop edi
push edi
push esi
push esp
push ebp
push eax
pop eax
pop edx
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x1001a8fe
cmp word [edi], 0
jne 0x1001a8e0
xor ecx, ecx
jmp 0x1001a8f4
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001a8e5
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.10008730
cmp dword [ebp - 0x30], 0
jne 0x1001a93b
cmp word [esi], 0
jne 0x1001a91b
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10008730
jmp 0x1001a998
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001a920
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10008730
jmp 0x1001a998
push 1
push 0x1005fca4
lea ecx, [ebp - 0x28]
call fcn.10008730
cmp word [esi], 0
jne 0x1001a954
xor ecx, ecx
jmp 0x1001a96f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001a960
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.1000d6b0
push 2
push 0x1005fca8
lea ecx, [ebp - 0x28]
call fcn.1000d6b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000d5a0
call fcn.1002ace0
test al, al
je 0x1001a9b3
push ecx
pop edx
pop ecx
pop esi
push ebx
pop ebp
pop eax
push eax
pop esi
pop esi
push ecx
pop ebx
push ebx
push esp
push esp
pop ebp
push eax
push ebx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.100171b0
add esp, 8
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1001a9ff
xor esi, esi
jmp 0x1001aa8c
cmp byte [ebp + 0x10], 0
je 0x1001aa1a
mov eax, dword [ebp + 0x14]
or ecx, 0xffffffff
test eax, eax
cmovg ecx, eax
push ecx
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x1001aa37
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1001aa37
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
call fcn.1002ae30
test al, al
je 0x1001aa51
push edx
pop ebp
pop edi
push edx
push ebx
push edi
pop ebx
push edi
push edx
push esp
pop esp
push edx
push edx
pop ebx
push ecx
pop edx
push eax
call fcn.1002a880
test al, al
je 0x1001aa77
pop esp
push esi
pop eax
pop ebx
pop edx
pop esi
pop edx
push ebp
pop esp
push edx
pop ebp
push esi
push edi
pop ebx
push esp
push ebp
push ecx
push eax
push ecx
pop esp
pop esp
push esp
push esp
push esp
push ebp
push ebx
push ecx
push esp
push edx
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x58]
call esi
mov esi, 1
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x1001aaa1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10008830
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x1001aaca
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10008830
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c484
mov esp, ebp
pop ebp
ret