Function at 0x140095940
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1402cf480]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov rdi, rcx
xor r14d, r14d
test dword [0x1402da53c], 0x100
je 0x140095a02
lea rdx, str.e_94m_i
lea rcx, [rsp + 0x50]
call fcn.14008dbb0
nop
lea rdx, str.Worker::startWorking___begin
lea rcx, [rsp + 0x60]
call fcn.140035180
nop
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.140033df0
lea rcx, [rbp + 0x48]
call fcn.14008df10
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x1400959f7
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400959f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400959f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fb494
lea rcx, [rsp + 0x50]
call fcn.140004870
nop
lea rbx, [rdi + 0x28]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140095a24
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
jne 0x140095a3f
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
cmp qword [rdi + 0x78], 0
je 0x140095a56
mov eax, 3
lock cmpxchg dword [rdi + 0x80], r14d
jmp 0x140095ad5
mov eax, r14d
xchg dword [rdi + 0x80], eax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401fb140
mov rbx, rax
mov qword [rsp + 0x30], rax
mov ecx, 8
call fcn.1401fb140
mov qword [rax], rdi
mov qword [rsp + 0x48], rax
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400963a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140095bf2
mov rcx, qword [rdi + 0x78]
mov qword [rdi + 0x78], rbx
test rcx, rcx
je 0x140095ad5
cmp dword [rcx + 8], 0
je 0x140095acb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov edx, reloc.WS2_32.dll_recv
call fcn.1401fb494
mov eax, dword [rdi + 0x80]
nop
test eax, eax
jne 0x140095b2f
movabs rsi, 0x7fffffffffffb1df
movabs rbx, 0x7fffffffffffffff
lea rcx, [rsp + 0x38]
call fcn.1400213e0
mov rax, qword [rsp + 0x38]
cmp rax, rsi
jge 0x140095b15
add rax, 0x4e20
mov qword [rsp + 0x30], rax
jmp 0x140095b1a
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
call fcn.140061030
mov eax, dword [rdi + 0x80]
nop
test eax, eax
je 0x140095af4
test dword [0x1402da53c], 0x100
je 0x140095bc3
lea rdx, str.e_94m_i
lea rcx, [rsp + 0x50]
call fcn.14008dbb0
nop
lea rdx, str.Worker::startWorking___end
lea rcx, [rsp + 0x60]
call fcn.140035180
nop
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.140033df0
lea rcx, [rbp + 0x48]
call fcn.14008df10
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x140095bb8
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140095bb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140095bb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fb494
lea rcx, [rsp + 0x50]
call fcn.140004870
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.1401fb000
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov dword [rsi], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3