Function at 0x1400bcea0
Capabilities:
Create thread
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140140940]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, rcx
xor r8d, r8d
movzx r13d, word [rcx + 0x278]
dec r13w
movzx r12d, r13w
test r12d, r12d
je 0x1400bcf41
mov edi, r12d
mov ecx, 0x18
call fcn.140105758
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400bcf12
mov rcx, rax
call fcn.140095230
nop
mov qword [rsp + 0x40], rax
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1400bcf2b
mov qword [rdx], rax
add qword [rbx + 8], 8
jmp 0x1400bcf38
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.140084710
sub rdi, 1
jne 0x1400bcef6
xor r8d, r8d
movzx r14d, r13w
mov rsi, qword [rbx + 0x50]
mov rdx, qword [rbx + 0x48]
mov rcx, rsi
sub rcx, rdx
sar rcx, 6
cmp r14, rcx
jae 0x1400bcfa0
mov r12d, r14d
shl r12, 6
add r12, rdx
mov rdi, r12
cmp r12, rsi
je 0x1400bcf96
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400bcf8d
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], 0
add rdi, 0x40
cmp rdi, rsi
jne 0x1400bcf70
mov qword [rbx + 0x50], r12
movzx r12d, r13w
jmp 0x1400bcff1
jbe 0x1400bcff1
mov rax, qword [rbx + 0x58]
sub rax, rdx
sar rax, 6
cmp r14, rax
jbe 0x1400bcfc5
lea r8, [rsp + 0x30]
mov rdx, r14
lea rcx, [rbx + 0x48]
call fcn.140087df0
jmp 0x1400bcff1
mov rax, r14
sub rax, rcx
je 0x1400bcfde
nop dword [rax]
mov qword [rsi + 0x38], r8
add rsi, 0x40
sub rax, 1
jne 0x1400bcfd0
lea r8, [rbx + 0x48]
mov rdx, rsi
mov rcx, rsi
call fcn.140082b50
mov qword [rbx + 0x50], rsi
mov r15, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x30]
mov rcx, r15
sub rcx, rdx
sar rcx, 3
cmp r14, rcx
jae 0x1400bd00e
lea rax, [rdx + r14*8]
jmp 0x1400bd04f
jbe 0x1400bd053
mov rax, qword [rbx + 0x40]
sub rax, rdx
sar rax, 3
cmp r14, rax
jbe 0x1400bd033
lea r8, [rsp + 0x30]
mov rdx, r14
lea rcx, [rbx + 0x30]
call fcn.140087c90
jmp 0x1400bd053
sub r14, rcx
lea rdi, [r14*8]
mov r8, rdi
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
lea rax, [r15 + rdi]
mov qword [rbx + 0x38], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
xor r15d, r15d
mov qword [rbp - 0x80], r15
mov dword [rsp + 0x34], r15d
movzx esi, r15w
cmp r15w, r13w
jae 0x1400bd1b3
nop word [rax + rax]
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x48], si
lea rax, [rsp + 0x34]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp + 0x80], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rbp + 0x90], xmm1
mov ecx, 0x120
call fcn.140105758
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400bd0d5
lea rdx, [rbp + 0x80]
mov rcx, rax
call fcn.140080810
mov rdi, rax
jmp 0x1400bd0d8
mov rdi, r15
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x50], 0
test rdi, rdi
je 0x1400bd701
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x68], 1
lock inc dword [rdi + 8]
mov eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400bd131
mov rcx, qword [rdi + 0xc8]
test rcx, rcx
je 0x1400bd123
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax]
jmp 0x1400bd131
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, qword [rbp - 0x80]
je 0x1400bd156
mov rcx, r15
mov qword [rsp + 0x60], rcx
mov qword [rdx], rdi
mov byte [rdx + 8], 1
add rdx, 0x10
mov qword [rsp + 0x78], rdx
jmp 0x1400bd16a
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140084cb0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400bd1a6
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400bd1a6
mov rcx, qword [rsp + 0x60]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x1400bd19c
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x1400bd1a6
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
inc si
cmp si, r13w
jb 0x1400bd080
lea r13, [0x1401405e8]
cmp qword [rbx + 0x320], 0
je 0x1400bd2c5
mov rax, qword [rbx + 0x2e0]
test rax, rax
jle 0x1400bd2c5
imul rax, rax, 0xf4240
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x1f8]
call fcn.1400ae770
mov qword [rsp + 0x40], rbx
mov r14, qword [rbx + 0x1f8]
lea rax, [rsp + 0x40]
mov qword [rbp + 0x80], rax
mov ecx, dword [0x140146128]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bd224
mov rdx, qword [rax + 8]
jmp 0x1400bd227
mov rdx, rax
mov r9d, 8
mov r8d, 0x90
movzx ecx, byte [rsp + 0x30]
call fcn.140088b70
mov rdi, rax
mov qword [rbp + 0x88], rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x1400aa230]
mov qword [rdi + 0x28], rax
mov qword [rdi], rcx
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], rcx
mov dword [rdi + 0x30], ecx
mov dword [rdi + 0x38], ecx
mov qword [rdi + 0x40], r13
mov qword [rdi + 0x48], rcx
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x50], rax
lea rcx, [rdi + 0x58]
lea r9, [rbx + 0x238]
xor r8d, r8d
xor edx, edx
call fcn.140093d10
mov qword [rbp + 0x90], rdi
mov byte [rbx + 0x208], 1
lea r9, [rbx + 0x210]
lea rdx, [r14 + 0x28]
mov qword [rsp + 0x20], rdi
lea r8, [rbx + 0x200]
mov rcx, qword [r14 + 0x58]
call fcn.140090fa0
nop
xor r15d, r15d
lea rdx, [rbp + 0x80]
lea rcx, [rbx + 0x60]
call fcn.1400b5910
movzx ecx, word [rax + 2]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx ecx, ax
mov word [rbx + 0x2a0], ax
mov rax, qword [rbx + 0x270]
mov word [rax + 2], cx
cmp dword [0x140140580], 1
jg 0x1400bd498
mov edx, 1
lea rcx, [rbp - 0x70]
call fcn.140093260
mov eax, 1
mov dword [rbp + 0x78], eax
lea rdx, [rbx + 0x280]
mov ecx, dword [0x140140580]
cmp ecx, eax
jg 0x1400bd348
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400bd336
mov rdx, qword [rdx]
lea rcx, [rbp - 0x70]
call fcn.140086420
mov eax, dword [rbp + 0x78]
mov ecx, dword [0x140140580]
cmp eax, ecx
jl 0x1400bd382
lea rdx, str._server_is_running_at
lea rcx, [rbp - 0x70]
call fcn.14007b3b0
mov eax, dword [rbp + 0x78]
mov ecx, dword [0x140140580]
cmp eax, ecx
jl 0x1400bd382
lea rdx, str.http:__
lea rcx, [rbp - 0x70]
call fcn.14007b3b0
mov eax, dword [rbp + 0x78]
mov ecx, dword [0x140140580]
lea rdx, [rbx + 0x2a8]
cmp eax, ecx
jl 0x1400bd3c1
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400bd39b
mov rdx, qword [rdx]
lea rcx, [rbp - 0x70]
call fcn.140086420
mov eax, dword [rbp + 0x78]
mov ecx, dword [0x140140580]
cmp eax, ecx
jl 0x1400bd3c1
lea rdx, [0x140111760]
lea rcx, [rbp - 0x70]
call fcn.14007b3b0
lea rdx, [rbp + 0x80]
lea rcx, [rbx + 0x60]
call fcn.1400b5910
movzx ecx, word [rax + 2]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx edx, ax
mov eax, dword [rbp + 0x78]
mov ecx, dword [0x140140580]
cmp eax, ecx
jl 0x1400bd44e
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov eax, dword [rbp + 0x78]
mov ecx, dword [0x140140580]
cmp eax, ecx
jl 0x1400bd44e
lea rdx, str._using
lea rcx, [rbp - 0x70]
call fcn.14007b3b0
mov eax, dword [rbp + 0x78]
mov ecx, dword [0x140140580]
cmp eax, ecx
jl 0x1400bd44e
movzx edx, word [rbx + 0x278]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov eax, dword [rbp + 0x78]
mov ecx, dword [0x140140580]
cmp eax, ecx
jl 0x1400bd44e
lea rdx, str._threads
lea rcx, [rbp - 0x70]
call fcn.14007b3b0
nop
lea rcx, [rbp - 0x70]
call fcn.1400993e0
cmp dword [0x140140580], 1
jg 0x1400bd498
mov edx, 1
lea rcx, [rbp - 0x70]
call fcn.140093260
mov dword [rbp + 0x78], 1
cmp dword [0x140140580], 1
jg 0x1400bd48f
lea rdx, str.Call__app.loglevel_crow::LogLevel::Warning___to_hide_Info_level_logs.
lea rcx, [rbp - 0x70]
call fcn.14007b3b0
nop
lea rcx, [rbp - 0x70]
call fcn.1400993e0
mov rsi, qword [rbx + 0x1a0]
mov ecx, dword [0x140146128]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400bd4b6
mov rdx, qword [rax + 8]
jmp 0x1400bd4b9
mov rdx, r15
mov r9d, 8
mov r8d, 0x98
movzx ecx, byte [rsp + 0x30]
call fcn.140088b70
mov rdi, rax
mov qword [rax + 0x20], r15
lea rax, [0x1400aa090]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
mov dword [rdi + 0x38], r15d
mov qword [rdi + 0x40], r13
mov qword [rdi + 0x48], r15
mov dword [rdi + 0x50], r15d
mov qword [rdi + 0x58], rbx
lea rcx, [rdi + 0x60]
lea r9, [rbx + 0x1c0]
xor r8d, r8d
xor edx, edx
call fcn.140093d10
mov qword [rbp + 0x90], rdi
mov rax, qword [rsi + 0x28]
lock inc dword [rax + 0x30]
lea rcx, [0x140140428]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x1400bd562
nop dword [rax]
mov rax, qword [rcx + 0x10]
test rax, rax
jne 0x1400bd57f
mov rcx, qword [rcx + 0x28]
test rcx, rcx
jne 0x1400bd550
mov rax, qword [rbp + 0x90]
mov qword [rax + 0x20], r15
mov rcx, qword [rbx + 0x1b0]
test rcx, rcx
je 0x1400bd59d
mov qword [rcx + 0x20], rax
jmp 0x1400bd5a4
dec rax
mov qword [rcx + 0x10], rax
mov eax, dword [rcx]
mov rdx, qword [rbp + 0x90]
mov dword [rdx + 0x50], eax
mov rcx, qword [rsi + 0x28]
call fcn.1400b8a80
jmp 0x1400bd5ab
mov qword [rbx + 0x1a8], rax
mov qword [rbx + 0x1b0], rax
lea rcx, [0x140140428]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov eax, dword [rsp + 0x34]
nop
cmp r12d, eax
je 0x1400bd5d2
call sub.MSVCP140.dll__Thrd_yield
mov eax, dword [rsp + 0x34]
nop
cmp r12d, eax
jne 0x1400bd5c3
mov rcx, rbx
call fcn.1400a9bb0
mov ecx, 8
call fcn.140105758
test rax, rax
je 0x1400bd5ee
mov qword [rax], rbx
jmp 0x1400bd5f1
mov rax, r15
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140086670]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400bd6f1
cmp dword [rsp + 0x48], 0
je 0x1400bd70c
call sub.MSVCP140.dll__Thrd_id
cmp dword [rsp + 0x48], eax
je 0x1400bd717
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x1400bd6e6
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400bd6b6
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.140082bb0
mov rdx, qword [rbp - 0x80]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400bd6ae
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bd6ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140105794
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140105b50
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x48], r15d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 4
call fcn.1400a4750
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3