Function at 0x14000e4d0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rsp + 0xf8], rbx
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0xa0], 0
je 0x14000e50f
xor eax, eax
jmp 0x14000e89b
mov r15, qword [rcx + 0x38]
mov ecx, 0x40
call fcn.140050fb4
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.140030260
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.140012bb0
nop
mov rcx, qword [rbp - 0x59]
mov rax, qword [rsi + 0x120]
mov qword [rbp - 0x59], rax
mov qword [rsi + 0x120], rcx
mov rax, qword [rbp - 0x51]
mov rbx, qword [rsi + 0x128]
mov qword [rbp - 0x51], rbx
mov qword [rsi + 0x128], rax
mov r14d, 0xffffffff
test rbx, rbx
je 0x14000e5a3
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000e5a3
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000e5a3
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, rdi
mov rcx, rsi
call fcn.14000f120
mov byte [rsi + 0x118], 0
mov ecx, 0x60
call fcn.140050fb4
mov rdi, rax
mov qword [rbp + 0x67], rax
mov byte [rax], 1
lea rbx, [rax + 8]
mov qword [rbp + 0x7f], rbx
mov qword [rbp - 0x29], rbx
xor r12d, r12d
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], r12
lea ecx, [r12 + 0x10]
call fcn.140050fb4
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rbx]
mov qword [rax], rbx
lea r13, vtable.base::CriticalSection.0
mov qword [rdi + 0x30], r13
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.140012c10
nop
mov rcx, qword [rbp - 0x49]
mov rax, qword [rsi + 0x140]
mov qword [rbp - 0x49], rax
mov qword [rsi + 0x140], rcx
mov rax, qword [rbp - 0x41]
mov rbx, qword [rsi + 0x148]
mov qword [rbp - 0x41], rbx
mov qword [rsi + 0x148], rax
test rbx, rbx
je 0x14000e68d
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000e68d
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000e68d
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + 8]
mov ecx, 0xa0
call fcn.140050fb4
mov rdi, rax
mov qword [rbp + 0x67], rax
lea rax, vtable.Common::Utils::ThreadQueue.0
mov qword [rdi], rax
mov qword [rdi + 0x18], r12
mov dword [rdi + 0x20], r12d
mov word [rdi + 0x24], 0
mov qword [rdi + 0x38], r12
mov qword [rdi + 0x40], 0xf
mov byte [rdi + 0x28], 0
lea rbx, [rdi + 0x48]
mov qword [rbp + 0x7f], rbx
mov qword [rbp - 0x29], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], r12
mov ecx, 0x10
call fcn.140050fb4
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rbx]
mov qword [rax], rbx
mov qword [rdi + 0x70], r13
lea rcx, [rdi + 0x78]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.140012c70
nop
mov rcx, qword [rbp - 0x39]
mov rax, qword [rsi + 0x130]
mov qword [rbp - 0x39], rax
mov qword [rsi + 0x130], rcx
mov rax, qword [rbp - 0x31]
mov rbx, qword [rsi + 0x138]
mov qword [rbp - 0x31], rbx
mov qword [rsi + 0x138], rax
test rbx, rbx
je 0x14000e787
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000e787
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x14000e787
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsi + 0x130]
cmp qword [rdi + 0x18], 0
jne 0x14000e825
lea rcx, [rdi + 0x28]
mov r8d, 6
lea rdx, str.Logger
call fcn.1400086c0
lea rbx, [rdi + 8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x10], rax
mov rax, r12
nop
cmp qword [rbx], 0
je 0x14000e825
inc rax
add rbx, 8
cmp rax, 2
jl 0x14000e7e0
mov rcx, rdi
call fcn.14003eef0
mov byte [rdi + 0x24], 0
lea rax, [rdi + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rdi
lea r8, [0x14003f5f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x18], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x67], rax
mov qword [rbp + 0x1f], r12
lea rax, vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__void_____thiscall_FlushLogger::__void___class_FlushLogger____ptr64___void___.0
mov qword [rbp - 0x19], rax
lea rax, [0x140010a60]
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rsi
lea rax, [rbp - 0x19]
mov qword [rbp + 0x1f], rax
mov rcx, qword [rsi + 0x130]
lea rdx, [rbp - 0x19]
call fcn.14003ec80
mov ecx, 0x18
call fcn.140050fb4
mov qword [rbp + 0x67], rax
mov rcx, rax
call fcn.1400294f0
nop
lea rcx, [rsi + 0x150]
mov rdx, rax
call fcn.1400122f0
test r15, r15
jne 0x14000e896
mov rcx, rsi
call fcn.14000e420
mov eax, 1
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret