Function at 0x10016a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
mov dword [ebp - 0x184], ecx
jmp 0x10016a96
push 0x40
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x10016ac0
mov ecx, dword [ebp - 0x14]
call fcn.10004a80
mov dword [ebp - 0x188], eax
jmp 0x10016aca
mov dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [0x1008241c], ecx
push 1
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10016b06
mov ecx, dword [ebp - 0x1c]
call fcn.10007f70
mov dword [ebp - 0x18c], eax
jmp 0x10016b10
mov dword [ebp - 0x18c], 0
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [0x10082620], eax
push 8
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10016b44
mov ecx, dword [ebp - 0x24]
call fcn.1000a560
mov dword [ebp - 0x190], eax
jmp 0x10016b4e
mov dword [ebp - 0x190], 0
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [0x10082630], edx
push 0x30
call fcn.100520a0
add esp, 4
mov dword [0x10082628], eax
push 0x2e4
call fcn.100520a0
add esp, 4
mov dword [0x1008262c], eax
push 4
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10016ba4
mov ecx, dword [ebp - 0x2c]
call fcn.1000e900
mov dword [ebp - 0x194], eax
jmp 0x10016bae
mov dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [0x10082634], ecx
push 4
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x10016be3
mov ecx, dword [ebp - 0x34]
call fcn.100083d0
mov dword [ebp - 0x198], eax
jmp 0x10016bed
mov dword [ebp - 0x198], 0
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [0x10082624], eax
push 4
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x10016c21
mov ecx, dword [ebp - 0x3c]
call fcn.10025bf0
mov dword [ebp - 0x19c], eax
jmp 0x10016c2b
mov dword [ebp - 0x19c], 0
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [0x10083160], edx
push 4
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x10016c60
mov ecx, dword [ebp - 0x44]
call fcn.10003980
mov dword [ebp - 0x1a0], eax
jmp 0x10016c6a
mov dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [0x10082418], ecx
push 4
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x10016c9f
mov ecx, dword [ebp - 0x4c]
call fcn.10026550
mov dword [ebp - 0x1a4], eax
jmp 0x10016ca9
mov dword [ebp - 0x1a4], 0
mov edx, dword [ebp - 0x1a4]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [0x10083164], eax
push 4
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x10016cdd
mov ecx, dword [ebp - 0x54]
call fcn.10002dd0
mov dword [ebp - 0x1a8], eax
jmp 0x10016ce7
mov dword [ebp - 0x1a8], 0
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [0x10082414], edx
push 4
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x10016d1c
mov ecx, dword [ebp - 0x5c]
call fcn.1000f180
mov dword [ebp - 0x1ac], eax
jmp 0x10016d26
mov dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [0x10082638], ecx
push 4
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x10016d5b
mov ecx, dword [ebp - 0x64]
call fcn.10002ca0
mov dword [ebp - 0x1b0], eax
jmp 0x10016d65
mov dword [ebp - 0x1b0], 0
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [0x10082410], eax
push 4
call fcn.1003c069
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x10016d99
mov ecx, dword [ebp - 0x6c]
call fcn.10026f80
mov dword [ebp - 0x1b4], eax
jmp 0x10016da3
mov dword [ebp - 0x1b4], 0
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov dword [0x10083168], edx
call fcn.100169c0
movzx eax, al
test eax, eax
je 0x10016e0a
push 0
push 0
push 0xbb8
push 0x10016990
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0xa2484e53
push ecx
lea ecx, [ebp - 0x8c]
call fcn.1001f5d0
mov dword [ebp - 0x1b8], eax
mov edx, dword [ebp - 0x1b8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
lea ecx, [ebp - 0x8c]
call fcn.10031dd0
push 0x66fb865b
lea ecx, [ebp - 0x9b]
call fcn.10018290
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.1003f2a9
add esp, 4
lea ecx, [ebp - 0x9b]
call fcn.10017590
mov ecx, 0xbcc42c08
push ecx
lea ecx, [ebp - 0xab]
call fcn.10003800
mov dword [ebp - 0x1c0], eax
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], edx
mov dword [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa0], esp
mov eax, dword [ebp - 0x1c4]
push eax
call fcn.10002b40
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], ecx
mov byte [ebp - 4], 2
push 0
push 0x66fb8677
lea ecx, [ebp - 0xbf]
call fcn.10018290
mov dword [ebp - 0x1d0], eax
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], edx
mov byte [ebp - 4], 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xb0], esp
mov eax, dword [ebp - 0x1d4]
push eax
call fcn.10002b40
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 4
mov ecx, dword [0x1008241c]
call fcn.10004b70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbf]
call fcn.10017590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xab]
call fcn.10032170
mov ecx, dword [0x10082630]
call fcn.1000a5d0
push 0x1425bee8
lea ecx, [ebp - 0xef]
call fcn.1001f650
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x1e0]
push edx
push 0
mov eax, dword [0x1008241c]
push eax
call fcn.10004cf0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xef]
call fcn.10023110
push 0x42994815
lea ecx, [ebp - 0x121]
call fcn.1001f6d0
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x1e8]
push edx
push 0
mov eax, dword [0x1008241c]
push eax
call fcn.10004cf0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x121]
call fcn.10017b20
push 0x2b8dcb80
lea ecx, [ebp - 0x14f]
call fcn.1001f750
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], ecx
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x1f0]
push edx
push 0
mov eax, dword [0x1008241c]
push eax
call fcn.10004cf0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14f]
call fcn.10017b50
mov ecx, 0xd7d76652
push ecx
lea ecx, [ebp - 0x17f]
call fcn.1001f7d0
mov dword [ebp - 0x1f4], eax
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], edx
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x1f8]
push eax
push 0
mov ecx, dword [0x1008241c]
push ecx
call fcn.10004cf0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17f]
call fcn.10023110
jmp 0x1001706d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret