Function at 0x100010ab4
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rbp, rcx
mov r15d, r8d
lea rdx, [0x100006848]
lea rcx, [rax - 0x78]
mov r9d, 1
mov r8d, 0x498
call fcn.100018130
xor r14d, r14d
lea r13, [0x100005960]
mov rbx, r14
mov rdi, r14
mov r12, r14
mov qword [rsp + 0x30], r13
mov rsi, r14
mov qword [rsp + 0x38], r14
cmp r15d, 3
je 0x100010b40
cmp r15d, 1
je 0x100010b40
cmp r15d, 5
je 0x100010b40
mov eax, 0x4a3
mov dword [rsp + 0x40], 0x80070057
mov word [rsp + 0x46], ax
jmp 0x100010f19
mov eax, 0x4a3
mov dword [rsp + 0x40], r14d
mov word [rsp + 0x44], ax
lea rax, [rbp + 0x90]
mov rcx, rax
mov qword [rsp + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r14, qword [rbp + 0x80]
xor ecx, ecx
cmp r14, rcx
je 0x100010cfd
xor r15d, r15d
mov ecx, 0x60
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rdi, rax
cmp rax, r15
mov eax, 0x4b1
je 0x100010d2c
mov rcx, rdi
mov rdx, r14
mov r8d, 0x60
mov dword [rsp + 0x40], r15d
mov word [rsp + 0x44], ax
call sub.msvcrt.dll_memcpy
xor ecx, ecx
mov qword [rdi + 0x58], r15
lea r15, [rdi + 8]
mov qword [r15], rcx
mov qword [rdi], rcx
mov qword [rdi + 0x10], rcx
mov rdx, qword [r14 + 8]
cmp dword [rsp + 0x38], ecx
je 0x100010bda
mov dword [rsp + 0x38], ecx
mov word [r13], cx
lea rcx, [rsp + 0x30]
call fcn.10001b8e4
xor ecx, ecx
mov dword [rsp + 0x40], eax
cmp eax, ecx
mov eax, 0x4ba
jl 0x100010d34
mov word [rsp + 0x44], ax
lea r13, [0x100005960]
cmp r15, rcx
je 0x100010c2b
cmp qword [rsp + 0x30], r13
mov rax, rcx
cmovne rax, qword [rsp + 0x30]
mov qword [r15], rax
mov rax, r13
xor r15d, r15d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r15
jmp 0x100010c33
mov rax, qword [rsp + 0x30]
xor r15d, r15d
mov rdx, qword [r14]
cmp dword [rsp + 0x38], r15d
je 0x100010c46
mov dword [rsp + 0x38], r15d
mov word [rax], r15w
lea rcx, [rsp + 0x30]
call fcn.10001b8e4
mov dword [rsp + 0x40], eax
cmp eax, r15d
mov eax, 0x4bc
jl 0x100010d34
cmp qword [rsp + 0x30], r13
mov word [rsp + 0x44], ax
mov rax, r15
cmovne rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], r15
mov qword [rdi], rax
mov rdx, qword [r14 + 0x10]
mov qword [rsp + 0x30], r13
call fcn.10001b8e4
mov dword [rsp + 0x40], eax
cmp eax, r15d
mov eax, 0x4be
jl 0x100010d34
lea rcx, [rdi + 0x10]
mov word [rsp + 0x44], ax
cmp rcx, r15
je 0x100010ccd
cmp qword [rsp + 0x30], r13
mov rax, r15
mov qword [rsp + 0x38], r15
cmovne rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r13
mov qword [rcx], rax
jmp 0x100010cd2
mov r13, qword [rsp + 0x30]
cmp rsi, r15
je 0x100010cdb
mov qword [rsi + 0x58], rdi
mov r14, qword [r14 + 0x58]
cmp r12, r15
mov rsi, rdi
cmove r12, rdi
mov rdi, r15
cmp r14, r15
jne 0x100010b7c
mov r15d, dword [rsp + 0xd0]
mov rcx, qword [rbp + 0x100]
xor r14d, r14d
mov r13d, 0x102
mov rsi, r14
cmp rcx, r14
je 0x100010d41
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, r13d
jne 0x100010d41
mov eax, 0x4da
jmp 0x100010e5b
mov dword [rsp + 0x40], 0x8007000e
mov word [rsp + 0x46], ax
xor r14d, r14d
jmp 0x100010e65
mov rcx, qword [rbp + 0xf8]
cmp rcx, r14
je 0x100010d64
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, r13d
jne 0x100010d64
mov eax, 0x4e1
jmp 0x100010e5b
mov ecx, 0x18
mov qword [rbp + 0x100], r14
mov qword [rbp + 0xf8], r14
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov r13, rax
cmp rax, r14
mov eax, 0x4ea
jne 0x100010d9c
mov dword [rsp + 0x40], 0x8007000e
mov word [rsp + 0x46], ax
jmp 0x100010e65
mov word [rsp + 0x44], ax
mov rax, qword [rsp + 0xc8]
mov dword [rsp + 0x40], r14d
mov dword [r13 + 8], r15d
mov qword [r13], rax
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x20]
mov rbx, rax
cmp rax, r14
je 0x100010dd1
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx]
lea r8, [r13 + 0x10]
lea rdx, [0x100005a58]
mov rcx, rbx
call qword [rax]
mov dword [rsp + 0x40], eax
cmp eax, r14d
mov eax, 0x4ee
jl 0x100010d92
lea r8, [0x100011cd0]
mov r9, r13
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r14
mov word [rsp + 0x44], ax
mov dword [rbp + 0x110], r14d
mov dword [rbp + 0x118], r14d
mov dword [rbp + 0x114], 1
mov qword [rbp + 0x88], r12
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x100], rax
cmp rax, r14
jne 0x100010e53
call fcn.100019754
mov dword [rsp + 0x40], eax
mov eax, 0x4f7
jmp 0x100010d92
mov eax, 0x4f7
mov r12, r14
mov dword [rsp + 0x40], r14d
mov word [rsp + 0x44], ax
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp rdi, r14
je 0x100010ea9
mov rcx, qword [rdi + 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rdi]
mov qword [rdi + 8], r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rdi + 0x10]
mov qword [rdi], r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rdi
mov qword [rdi + 0x10], r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp rsi, r14
je 0x100010f14
mov rcx, qword [rsi + 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsi]
mov qword [rsi + 8], r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsi + 0x10]
mov qword [rsi], r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsi + 0x10], r14
mov rcx, rsi
jmp 0x100010f0e
mov rdi, r12
mov r12, qword [r12 + 0x58]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rdi]
mov qword [rdi + 8], r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rdi + 0x10]
mov qword [rdi], r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rdi + 0x10], r14
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp r12, r14
jne 0x100010edb
mov edi, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.10001ae4c
cmp rbx, r14
je 0x100010f35
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.100018248
mov rbx, qword [rsp + 0xc0]
mov eax, edi
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret