Function at 0x10133d0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov eax, dword [0x01067268]
and eax, 0x10
test eax, eax
jne 0x1013484
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x01031910]
mov edx, 0x80000
xor ecx, ecx
call qword [sym.imp.MSVCR80.dll__beginthreadex]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1013421
xor eax, eax
jmp 0x1013781
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x1013439
xor eax, eax
jmp 0x1013781
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0
mov edx, 0xfa
mov rcx, qword [0x01067988]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1013482
xor edx, edx
mov rcx, qword [0x01067930]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1013480
xor eax, eax
jmp 0x1013781
jmp 0x101344d
jmp 0x101349d
lea r9, [0x01002350]
mov r8d, 0x177
xor edx, edx
mov ecx, 2
call fcn.01033fa0
mov eax, dword [0x01067268]
and eax, 1
test eax, eax
jne 0x1013514
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x0103ef00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR80.dll__beginthreadex]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x10134e3
xor eax, eax
jmp 0x1013781
mov edx, 2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x10134fe
xor eax, eax
jmp 0x1013781
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
jmp 0x101352d
lea r9, [0x01002328]
mov r8d, 0x177
xor edx, edx
mov ecx, 2
call fcn.01033fa0
mov eax, dword [0x01067268]
and eax, 2
test eax, eax
jne 0x10135a4
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x010175b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR80.dll__beginthreadex]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1013573
xor eax, eax
jmp 0x1013781
mov edx, 2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x101358e
xor eax, eax
jmp 0x1013781
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
jmp 0x10135bd
lea r9, [0x01002310]
mov r8d, 0x177
xor edx, edx
mov ecx, 2
call fcn.01033fa0
mov eax, dword [0x01067268]
and eax, 4
test eax, eax
jne 0x1013634
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x01038f40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR80.dll__beginthreadex]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1013603
xor eax, eax
jmp 0x1013781
mov edx, 2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x101361e
xor eax, eax
jmp 0x1013781
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], 0
jmp 0x101364d
lea r9, [0x010022e0]
mov r8d, 0x177
xor edx, edx
mov ecx, 2
call fcn.01033fa0
mov eax, dword [0x01067268]
and eax, 8
test eax, eax
jne 0x10136c4
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x0101fa30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR80.dll__beginthreadex]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1013693
xor eax, eax
jmp 0x1013781
mov edx, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x10136ae
xor eax, eax
jmp 0x1013781
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], 0
jmp 0x10136dd
lea r9, [0x010022c0]
mov r8d, 0x177
xor edx, edx
mov ecx, 2
call fcn.01033fa0
mov eax, dword [0x01067268]
and eax, 0x20
test eax, eax
jne 0x101374b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x01049620]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR80.dll__beginthreadex]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1013720
xor eax, eax
jmp 0x1013781
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x1013735
xor eax, eax
jmp 0x1013781
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], 0
jmp 0x101375d
mov r8d, 0x18c
xor edx, edx
mov ecx, 2
call fcn.01033fa0
mov eax, dword [0x01067268]
and eax, 4
test eax, eax
je 0x101377c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call fcn.0103e020
mov eax, 1
add rsp, 0x68
ret