Function at 0x10022c50
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10179639
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce00c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x74]
lea eax, [esp + 0x40]
mov dword [esp + 0x38], 0
mov ecx, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov edi, 1
mov dword [esp + 0x64], edi
mov edx, dword [esp + 0x50]
mov byte [edx], 0
mov dword [esp + 0x64], 2
push ebx
pop ebx
cmp dword [esp + 0x80], 0
jg 0x10022d03
push eax
mov ecx, ebx
call fcn.10003dd0
mov dword [esp + 0x38], edi
mov byte [esp + 0x64], 0
lea ecx, [esp + 0x40]
call fcn.10001dc0
mov eax, ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101180ca
add esp, 0x54
ret
lea ecx, [esp + 0x18]
call fcn.10109303
mov byte [esp + 0x64], 3
test esi, esi
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x10181a24
push esi
call fcn.10060cc0
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x3c], ebp
test edi, edi
test ebp, ebp
jne 0x10022d54
lea edx, [esp + 0x40]
push edx
mov ecx, ebx
call fcn.10003dd0
mov dword [esp + 0x38], edi
mov byte [esp + 0x64], 2
lea ecx, [esp + 0x18]
call fcn.1010964b
jmp 0x10022cd4
lea eax, [ebp*4]
push eax
call fcn.10117b2c
add esp, 4
mov esi, eax
test bh, bh
test esi, esi
jne 0x10022d73
lea ecx, [esp + 0x40]
push ecx
jmp 0x10022d39
mov edx, ebp
imul edx, edx, 0x510
push edx
call fcn.10117b2c
add esp, 4
mov dword [esp + 0x30], eax
test bh, bh
test eax, eax
jne 0x10022da3
push esi
call fcn.10117bef
add esp, 4
test eax, 0x33b0
lea eax, [esp + 0x40]
push eax
jmp 0x10022d39
test ch, ch
xor edi, edi
test ebp, ebp
jle 0x10022ddf
mov ebx, eax
lea ecx, [ecx]
mov dword [esi + edi*4], 0
mov eax, eax
push 0x510
push 0
push ebx
call fcn.10118770
add esp, 0xc
test eax, 0x22da
add edi, 1
add ebx, 0x510
cmp edi, ebp
jl 0x10022db0
mov ebx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x2c], eax
test ch, ch
cmp ebp, eax
mov dword [esp + 0x14], eax
jle 0x10022f82
mov edi, dword [esp + 0x30]
add edi, 0x100
jmp 0x10022e04
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x10022f4a
cmp eax, dword [esp + 0x20]
jge 0x10022f4a
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + eax*4]
lea ebx, [edi - 0x100]
mov edx, ebx
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x10022e25
test eax, 0x1413
mov edx, dword [esp + 0x7c]
mov dword [edi + 4], edx
test bh, bh
mov eax, dword [esp + 0x78]
mov dword [edi], eax
push ecx
pop ecx
mov ecx, dword [esp + 0x80]
mov dword [edi + 8], ecx
mov bh, bh
call fcn.10041aa0
mov ebp, eax
mov esi, esi
push 0
push 0
push ebx
push 0x100220b0
push 0
push 0
call fcn.1011a147
mov ebx, dword [esp + 0x44]
add esp, 0x18
mov dword [esi + ebx*4], eax
mov ecx, ecx
push ebp
call fcn.10041b60
add esp, 4
push edx
pop edx
cmp dword [esi + ebx*4], 0
je 0x10022e97
add ebx, 1
mov dword [esp + 0x2c], ebx
test esi, esi
mov eax, dword [esp + 0x14]
add eax, 1
add edi, 0x510
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
jl 0x10022e00
cmp dword [esp + 0x2c], 0
jle 0x10022f7a
mov ebx, dword [esp + 0x2c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
add ebx, 0xffffffff
mov edx, dword [esp + 0x2c]
push 0xffffffffffffffff
push 0
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
mov ecx, ecx
cmp edi, 0xffffffff
je 0x10022f7a
test eax, 0x39ea
mov dword [esp + 0x14], 0
mov ecx, ecx
mov ecx, dword [esi + edi*4]
lea eax, [esp + 0x14]
push eax
push ecx
call ebp
test esi, esi
mov edx, dword [esi + edi*4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, eax
mov dword [esi + edi*4], 0
mov ebx, ebx
cmp edi, ebx
mov eax, edi
jge 0x10022f30
mov edi, edi
mov ecx, dword [esi + eax*4 + 4]
mov dword [esi + eax*4], ecx
test bl, bl
add eax, 1
cmp eax, ebx
jl 0x10022f20
sub dword [esp + 0x2c], 1
sub ebx, 1
test ch, ch
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10022f4f
cmp dword [esp + 0x2c], eax
jg 0x10022eca
jmp 0x10022f7a
jmp fcn.10106bf9
mov edi, edi
lea ecx, [eax + 0x10c]
mov eax, ecx
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10022f60
sub eax, edi
add eax, ecx
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.100070b0
xchg ebx, eax
xchg ebx, eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
test ebp, ebp
jle 0x10022fa6
mov eax, dword [esp + 0x30]
add eax, 0x50c
mov ecx, ebp
mov dword [eax], 1
test eax, 0x64b5
add eax, 0x510
sub ecx, 1
jne 0x10022f91
xor edi, edi
cmp dword [esp + 0x2c], edi
jle 0x10022fde
mov eax, dword [esi + edi*4]
test eax, eax
je 0x10022fd5
push eax
call fcn.10067a30
add esp, 4
mov dh, dh
mov edx, dword [esi + edi*4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
pop ebx
mov dword [esi + edi*4], 0
xchg ebx, eax
xchg ebx, eax
add edi, 1
cmp edi, dword [esp + 0x2c]
jl 0x10022fae
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x54]
jne 0x1002303a
test ebp, ebp
jle 0x1002303a
mov edx, dword [esp + 0x30]
lea ecx, [edx + 0x10c]
cmp byte [ecx], 0
jne 0x1002300a
add eax, 1
add ecx, 0x510
cmp eax, ebp
jl 0x10022ff6
jmp 0x1002303a
imul eax, eax, 0x510
lea edi, [eax + edx + 0x10c]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10023020
sub eax, edx
add eax, edi
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.100070b0
mov al, al
push esi
call fcn.10117bef
add esp, 4
test edi, edi
mov ecx, dword [esp + 0x30]
push ecx
call fcn.10117bef
add esp, 4
push ebx
pop ebx
mov dword [ebx + 0x10], ebx
mov dword [ebx + 0x14], ebx
mov byte [esp + 0x64], 4
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov esi, eax
sub eax, ecx
add eax, 1
cmp eax, 0xffffffff
mov edi, ecx
ja 0x100230e8
test eax, eax
jbe 0x100230e8
cmp eax, 0x10
jbe 0x100230ac
cmp eax, 0x80
mov dword [esp + 0x30], eax
jbe 0x10023091
push eax
call fcn.10106ad0
jmp 0x1002309b
lea edx, [esp + 0x30]
push edx
call fcn.101067a0
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], eax
add eax, ecx
mov dword [ebx], eax
cmp esi, edi
mov eax, dword [ebx + 0x14]
je 0x100230c2
sub esi, edi
push esi
push edi
push eax
call fcn.10119900
add esp, 0xc
add eax, esi
mov dword [ebx + 0x10], eax
mov byte [eax], 0
mov byte [esp + 0x64], 3
mov dword [esp + 0x38], 1
mov byte [esp + 0x64], 2
lea ecx, [esp + 0x18]
call fcn.1010964b
jmp 0x10022cd4
push 0x10181a0c
call fcn.10106a30
int3