Function at 0x10022470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a1a8
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x1006e1e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push 0x10065cec
lea ecx, [ebp - 0x14]
call fcn.100052e0
mov byte [ebp - 4], 2
push 0x5c
lea ecx, [ebp + 8]
call fcn.10005400
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x10022572
lea ecx, [ebp + 8]
call fcn.10003d70
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002d44b
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 8]
call fcn.10002200
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x30]
mov cx, word [eax]
mov word [ebp - 0x1a], cx
mov edx, dword [ebp - 0x24]
mov ax, word [ebp - 0x1a]
mov word [edx], ax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x24]
add edx, 2
mov dword [ebp - 0x24], edx
cmp word [ebp - 0x1a], 0
jne 0x1002250b
mov eax, dword [ebp - 0x34]
add eax, 1
push eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp + 8]
call fcn.1000c3d0
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x14]
call fcn.100088f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.10002290
jmp 0x10022591
mov dword [ebp - 0x18], 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_AnimateWindow]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.100088f0
lea ecx, [ebp + 0xc]
call fcn.10003d70
test eax, eax
je 0x100225d4
lea edx, [ebp + 0xc]
push edx
push 0x20
lea eax, [ebp - 0x58]
push eax
call fcn.10026b10
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x14]
call fcn.100268f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.10002290
lea ecx, [ebp - 0x14]
call fcn.10003d70
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002d44b
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x14]
call fcn.10002200
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x28]
mov cx, word [eax]
mov word [ebp - 0x1c], cx
mov edx, dword [ebp - 0x20]
mov ax, word [ebp - 0x1c]
mov word [edx], ax
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
add edx, 2
mov dword [ebp - 0x20], edx
cmp word [ebp - 0x1c], 0
jne 0x10022618
push 0x44
push 0
lea eax, [ebp - 0xb8]
push eax
call fcn.100314e0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0xb8], 0x44
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0xb8]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100226b8
mov eax, dword [ebp + 0x10]
imul eax, eax, 0x3e8
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 0xd], 1
cmp dword [ebp - 0x18], 0
je 0x100226d0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.1002f1ee
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.1002f1ee
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0xe], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.10002290
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10002290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10002290
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret