Function at 0x10021a30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1004332e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
push 0xb
mov edi, ecx
xor ebp, ebp
mov ebx, 7
push str.pending.hzt
lea esi, [esp + 0x30]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
call fcn.100025e0
mov eax, esi
push eax
add edi, 4
push edi
lea ecx, [esp + 0x70]
mov dword [esp + 0xd0], ebp
call fcn.10024290
add esp, 8
mov edi, 8
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x40], edi
jb 0x10021acf
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov word [esp + 0x30], bp
call fcn.10024720
add esp, 4
test al, al
je 0x10021b29
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x6c]
call fcn.1001f300
mov byte [esp + 0xc8], 3
cmp dword [esp + 0x60], ebp
jne 0x10021b46
cmp dword [esp + 0x64], edi
jb 0x10021b1c
mov edx, dword [esp + 0x50]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], bp
cmp dword [esp + 0x80], edi
jb 0x10021b3f
mov eax, dword [esp + 0x6c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x10021d00
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x50]
push 0x3b
push edx
mov byte [esp + 0xd4], 4
call fcn.100252a0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebp
je 0x10021b91
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10021bdb
lea esi, [esp + 0x14]
call fcn.1000ac00
cmp dword [esp + 0x64], edi
jb 0x10021bad
mov ecx, dword [esp + 0x50]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x80], edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], bp
jb 0x10021b3f
mov edx, dword [esp + 0x6c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x10021d00
xor edi, edi
lea esi, [esp + 0x14]
call fcn.1000aac0
mov ecx, eax
mov eax, dword [ecx + 0x14]
push 0x10048af0
mov edi, 3
call fcn.100098d0
test eax, eax
je 0x10021c1c
call fcn.1000ac00
lea ecx, [esp + 0x4c]
call fcn.10001f30
lea ecx, [esp + 0x68]
call fcn.10001f30
xor al, al
jmp 0x10021d00
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x1c]
jbe 0x10021c2c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [esp + 0x14]
push esi
push eax
lea ebx, [esp + 0x4c]
mov esi, eax
call fcn.10021f40
mov ecx, esi
call fcn.1000aa50
cmp eax, 2
jne 0x10021bfe
xor edi, edi
call fcn.1000aac0
push eax
lea esi, [esp + 0xa4]
call fcn.10001f00
mov edi, 1
lea esi, [esp + 0x14]
mov byte [esp + 0xc8], 5
call fcn.1000aac0
push eax
lea esi, [esp + 0x88]
call fcn.10001f00
mov ecx, dword [esp + 0x88]
mov eax, 8
cmp dword [esp + 0x9c], eax
jae 0x10021c9c
lea ecx, [esp + 0x88]
cmp dword [esp + 0xb8], eax
mov eax, dword [esp + 0xa4]
jae 0x10021cb3
lea eax, [esp + 0xa4]
push 1
push ebp
push ecx
push eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x84]
call fcn.10001f30
lea ecx, [esp + 0xa0]
call fcn.10001f30
lea esi, [esp + 0x14]
call fcn.1000ac00
lea ecx, [esp + 0x4c]
call fcn.10001f30
lea ecx, [esp + 0x68]
call fcn.10001f30
mov al, 1
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.1003ec9d
add esp, 0xb8
ret