Function at 0x100163a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100208f0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1002b018]
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
xor esi, esi
mov ecx, 0x10025758
xor ebx, ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.1001d830
add eax, 0x1005
mov dword [0x1015d7b8], eax
cmp eax, 0x100
jbe 0x100164d6
add eax, esi
mov edi, 0x10024128
sub edi, 0x1e7b41dd
lea esi, [ebp - 0x28]
mov dword [0x1015e47c], eax
call fcn.1001a5e0
mov dword [ebp - 4], ebx
mov ecx, dword [0x1015e494]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
mov dword [0x1015ded0], eax
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
jbe 0x100164d6
lea esi, [ebp - 0x28]
call fcn.1001a5e0
mov dword [ebp - 4], 1
mov ecx, dword [0x1015e494]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
add eax, 5
mov dword [0x1015ba40], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 2
mov cl, byte [0x1015ded2]
mov dl, byte [0x1015ded3]
mov eax, dword [0x1015ded0]
mov byte [ebp - 0x4a], cl
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x49], dl
push ecx
mov ecx, dword [0x1015d7b8]
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 0x4c], al
mov byte [ebp - 0x4b], ah
call fcn.10002910
mov edi, dword [ebp - 0x20]
mov esi, dword [edi]
add esp, 8
mov dword [0x1015ded0], esi
cmp esi, ebx
je 0x100164c5
cmp dword [0x1015ba40], ebx
je 0x100164c5
push 0x10014a40
call fcn.10002cf0
push edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, str.cb.cbm
call fcn.1001d830
add eax, 0x1000
mov dword [0x1015df0c], eax
cmp eax, 0x100
jbe 0x100165ab
mov edi, 0x10317256
lea esi, [ebp - 0x1c]
call fcn.1001adb0
mov dword [ebp - 4], 3
mov ecx, dword [0x1015e494]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
jbe 0x100165ab
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 4
mov cl, byte [ebp - 0x4e]
mov dl, byte [ebp - 0x4d]
mov byte [ebp - 0x4c], al
mov byte [ebp - 0x4b], ah
mov byte [ebp - 0x4a], cl
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [0x1015df0c]
mov byte [ebp - 0x49], dl
call fcn.10002910
mov edx, dword [ebp - 0x20]
add esp, 8
cmp dword [edx], ebx
je 0x1001659e
mov edi, str._lco
sub edi, 0x1e7b41dd
lea esi, [ebp - 0x48]
call fcn.1001aba0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
push ebx
push ebx
push ecx
mov ecx, dword [0x1015e494]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.1001dcc5
mov esp, ebp
pop ebp
ret