Function at 0x140031300
Capabilities:
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 - 0x40]
sub rsp, 0x140
mov r15, rcx
call fcn.140035830
mov ecx, 0x338
call fcn.14008922c
mov r13, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400313bf
xor edx, edx
mov r8d, 0x338
mov rcx, rax
call fcn.14008a1a8
movzx esi, byte [r15]
movzx r14d, word [r15 + 4]
lea rax, [rbp]
mov qword [rsp + 0x68], rax
lea rdx, [r15 + 0x18]
lea rcx, [rbp]
call fcn.1400119d0
mov rdi, rax
movzx ebx, word [r15 + 2]
lea rdx, [r15 + 0x38]
lea rcx, [rbp + 0x20]
call fcn.1400119d0
lea rcx, [r15 + 0xdd8]
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov byte [rsp + 0x38], sil
mov word [rsp + 0x30], r14w
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdi
movzx r9d, bx
mov r8, rax
mov rdx, r15
mov rcx, r13
call fcn.140011220
jmp 0x1400313c5
xor r12d, r12d
mov eax, r12d
mov rbx, qword [r15 + 0xde0]
mov qword [r15 + 0xde0], rax
test rbx, rbx
je 0x1400313ed
mov rcx, rbx
call fcn.140014c10
mov edx, 0x338
mov rcx, rbx
call fcn.140089268
mov rbx, qword [r15 + 0xde0]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x50], r12
mov rcx, qword [r15 + 0xdd0]
test rcx, rcx
je 0x14003141c
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
call qword [rax]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov rax, qword [r15 + 0xd90]
mov qword [rbx + 0x2e0], rax
mov qword [rbp - 8], r12
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14003144e
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
call qword [rax]
mov qword [rbp - 8], rax
lea rdx, [rbx + 0x2e8]
lea rcx, [rbp - 0x40]
call fcn.140034770
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140031478
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140031492
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rbx, qword [r15 + 0xde8]
mov rdi, qword [r15 + 0xdf0]
cmp rbx, rdi
je 0x140031506
lea rsi, [0x1400d03d0]
nop dword [rax]
mov rcx, qword [r15 + 0xde0]
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], rsi
lea r8, [rcx + 0x1a8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rbx]
lea rdx, [rsp + 0x68]
mov rcx, qword [rcx + 0x1a0]
call fcn.140020d40
cmp dword [rsp + 0x50], 0
jne 0x14003158f
add rbx, 4
cmp rbx, rdi
jne 0x1400314b0
lea rcx, [r15 + 0xe50]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140031584
mov eax, dword [r15 + 0xe9c]
cmp eax, 0x7fffffff
je 0x140031570
mov byte [r15 + 0xe00], 1
lea rcx, [r15 + 0xe08]
call sub.MSVCP140.dll__Cnd_broadcast
lea rcx, [r15 + 0xe50]
call sub.MSVCP140.dll__Mtx_unlock
mov rcx, qword [r15 + 0xde0]
lea r11, [rsp + 0x140]
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
jmp 0x1400315b0
dec eax
mov dword [r15 + 0xe9c], eax
mov ecx, 6
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
lea rdx, [0x14009a68c]
lea rcx, [rsp + 0x50]
call fcn.140024d20
int3
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 - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1400d0580]
xor rax, rsp
mov qword [rbp + 0x298], rax
mov rsi, rcx
xor r13d, r13d
movzx r12d, word [rcx + 0x278]
sub r12w, 1
mov word [rsp + 0x30], r12w
mov ebx, r13d
mov dword [rsp + 0x38], ebx
movzx r14d, r12w
mov dword [rsp + 0x40], r14d
je 0x1400317a5
nop word [rax + rax]
mov ecx, 0x18
call fcn.14008922c
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140031767
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov rcx, rdi
call fcn.1400133e0
nop
lea rcx, [rdi + 8]
mov dl, 1
call fcn.1400127f0
nop
mov ecx, 0xb0
call fcn.14008922c
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140031699
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call fcn.14008a1a8
xor r9d, r9d
lea r8d, [r9 - 1]
mov rdx, rdi
mov rcx, rbx
call fcn.1400144b0
mov r12, rax
jmp 0x14003169c
mov r12, r13
mov qword [rbp + 0x278], r12
mov r13, qword [rdi]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.14000ed30
mov rax, qword [r12 + 0x18]
cmp qword [r13 + 0x28], rax
jne 0x140032038
mov qword [rbp - 0x50], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x48], 1
mov rbx, qword [r13 + 0x30]
test rbx, rbx
je 0x140031738
mov r14, qword [rbp - 0x80]
mov r15, qword [rsp + 0x78]
nop dword [rax]
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140031707
test r14, r14
je 0x140031707
cmp rax, r14
je 0x140032022
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003172a
test r15, r15
je 0x14003172a
lea rdx, [r15 + 8]
add rcx, 8
call sub.VCRUNTIME140.dll___std_type_info_compare
test eax, eax
je 0x140032022
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x1400316f0
mov r14d, dword [rsp + 0x40]
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [r12 + 8], xmm0
mov rax, qword [r13 + 0x30]
mov qword [r12 + 0x20], rax
mov qword [r13 + 0x30], r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rdi + 0x10], r12
mov ebx, dword [rsp + 0x38]
xor r13d, r13d
jmp 0x14003176a
mov rdi, r13
mov qword [rsp + 0x50], rdi
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x140031783
mov qword [rdx], rdi
add qword [rsi + 8], 8
jmp 0x140031790
lea r8, [rsp + 0x50]
mov rcx, rsi
call fcn.140007af0
inc ebx
mov dword [rsp + 0x38], ebx
cmp ebx, r14d
jl 0x140031620
movzx r12d, word [rsp + 0x30]
movzx edi, r12w
mov r14, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x48]
mov rcx, r14
sub rcx, rdx
sar rcx, 6
cmp rdi, rcx
jae 0x1400317f8
shl rdi, 6
add rdi, rdx
mov rbx, rdi
cmp rdi, r14
je 0x1400317f2
nop
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400317e9
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], r13
add rbx, 0x40
cmp rbx, r14
jne 0x1400317d0
mov qword [rsi + 0x50], rdi
jmp 0x140031834
jbe 0x140031834
mov rax, qword [rsi + 0x58]
sub rax, rdx
sar rax, 6
cmp rdi, rax
jbe 0x14003181d
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsi + 0x48]
call fcn.14000a6e0
jmp 0x140031834
sub rdi, rcx
je 0x140031830
mov qword [r14 + 0x38], r13
add r14, 0x40
sub rdi, 1
jne 0x140031822
mov qword [rsi + 0x50], r14
movzx ebx, r12w
mov r14, qword [rsi + 0x38]
mov rdx, qword [rsi + 0x30]
mov rcx, r14
sub rcx, rdx
sar rcx, 3
cmp rbx, rcx
jae 0x140031855
lea rax, [rdx + rbx*8]
jmp 0x140031896
jbe 0x14003189a
mov rax, qword [rsi + 0x40]
sub rax, rdx
sar rax, 3
cmp rbx, rax
jbe 0x14003187a
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsi + 0x30]
call fcn.14000a570
jmp 0x14003189a
sub rbx, rcx
lea rbx, [rbx*8]
mov r8, rbx
xor edx, edx
mov rcx, r14
call fcn.14008a1a8
lea rax, [rbx + r14]
mov qword [rsi + 0x38], rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x260], xmm1
mov qword [rbp + 0x270], r13
mov dword [rbp + 0x258], r13d
movzx edi, r13w
cmp r13w, r12w
jae 0x140031a1a
mov qword [rbp - 0x28], rsi
mov word [rbp - 0x20], di
lea rax, [rbp + 0x258]
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x280], xmm0
mov qword [rbp + 0x290], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp - 0x10], xmm0
movsd xmm1, qword [rbp - 0x18]
movsd qword [rbp], xmm1
mov ecx, 0x120
call fcn.14008922c
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140031930
xor edx, edx
mov r8d, 0x120
mov rcx, rax
call fcn.14008a1a8
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140005110
mov rbx, rax
jmp 0x140031933
mov rbx, r13
mov qword [rbp + 0x280], rbx
mov byte [rbp + 0x288], 0
mov byte [rbp + 0x290], 0
test rbx, rbx
je 0x14003204e
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x70], 1
lock inc dword [rbx + 8]
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140031992
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x140031984
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
jmp 0x140031992
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rdx, qword [rbp + 0x268]
cmp rdx, qword [rbp + 0x270]
je 0x1400319bb
mov rcx, r13
mov qword [rsp + 0x68], rcx
mov qword [rdx], rbx
mov byte [rdx + 8], 1
add qword [rbp + 0x268], 0x10
jmp 0x1400319d1
lea r8, [rsp + 0x68]
lea rcx, [rbp + 0x260]
call fcn.140007ef0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140031a0d
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140031a0d
mov rcx, qword [rsp + 0x68]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x140031a03
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x140031a0d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
inc di
cmp di, r12w
jb 0x1400318c1
lea r15, [0x1400d03d0]
cmp qword [rsi + 0x320], 0
je 0x140031b9a
mov rax, qword [rsi + 0x2e0]
test rax, rax
jle 0x140031b9a
imul r14, rax, 0xf4240
mov r15, qword [rsi + 0x1f8]
lea rdi, [rsi + 0x200]
lea rcx, [rsp + 0x60]
call fcn.14002cb30
mov rax, qword [rsp + 0x60]
test rax, rax
js 0x140031a7f
movabs rbx, 0x7fffffffffffffff
mov rcx, rbx
sub rcx, rax
cmp rcx, r14
jge 0x140031a94
jmp 0x140031a98
movabs rbx, 0x8000000000000000
mov rcx, rbx
sub rcx, rax
cmp r14, rcx
jl 0x140031a98
lea rbx, [rax + r14]
cmp byte [rdi + 8], 0
je 0x140031aba
lea r8, [rdi + 0x10]
lea rdx, [r15 + 0x28]
mov r9, 0xffffffffffffffff
mov rcx, qword [r15 + 0x58]
call fcn.14000bd40
mov byte [rdi + 8], 0
mov qword [rdi], rbx
mov qword [rsp + 0x40], rsi
mov r14, qword [rsi + 0x1f8]
lea rax, [rsp + 0x40]
mov qword [rbp - 0x40], rax
mov ecx, dword [0x1400d9750]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140031ae9
mov rdx, qword [rax + 8]
jmp 0x140031aec
mov rdx, r13
mov r9d, 8
mov r8d, 0x90
movzx ecx, byte [rsp + 0x30]
call fcn.14000b3a0
mov rbx, rax
mov qword [rbp - 0x38], rax
mov qword [rax + 0x20], r13
lea rax, [0x140023780]
mov qword [rbx + 0x28], rax
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], r13
mov dword [rbx + 0x30], r13d
mov dword [rbx + 0x38], r13d
lea rax, [0x1400d03d0]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], r13
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x50], rax
lea rcx, [rbx + 0x58]
lea r9, [rsi + 0x238]
xor r8d, r8d
xor edx, edx
call fcn.140012380
mov qword [rbp - 0x30], rbx
mov byte [rdi + 8], 1
lea r9, [rdi + 0x10]
lea rdx, [r14 + 0x28]
mov qword [rsp + 0x20], rbx
mov r8, rdi
mov rcx, qword [r14 + 0x58]
call fcn.14000f8d0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x38], r13
lea rcx, [rbp - 0x40]
call fcn.1400308a0
nop
lea r15, [0x1400d03d0]
lea rcx, [rsi + 0x60]
lea rdx, [rbp + 0x128]
call fcn.14002bf10
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
mov word [rsi + 0x2a0], ax
mov rax, qword [rsi + 0x270]
mov word [rax + 2], cx
cmp dword [0x1400d01b0], 1
jg 0x140031d94
mov edx, 1
lea rcx, [rbp + 8]
call fcn.140011920
mov eax, 1
mov dword [rbp + 0xf0], eax
lea rdx, [rsi + 0x280]
mov ecx, dword [0x1400d01b0]
cmp ecx, eax
jg 0x140031c23
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140031c0e
mov rdx, qword [rdx]
lea rcx, [rbp + 8]
call fcn.1400095a0
mov eax, dword [rbp + 0xf0]
mov ecx, dword [0x1400d01b0]
cmp eax, ecx
jl 0x140031c63
lea rdx, str._server_is_running_at
lea rcx, [rbp + 8]
call fcn.140005e90
mov eax, dword [rbp + 0xf0]
mov ecx, dword [0x1400d01b0]
cmp eax, ecx
jl 0x140031c63
lea rdx, str.http:__
lea rcx, [rbp + 8]
call fcn.140005e90
mov eax, dword [rbp + 0xf0]
mov ecx, dword [0x1400d01b0]
lea rdx, [rsi + 0x2a8]
cmp eax, ecx
jl 0x140031ca5
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140031c7c
mov rdx, qword [rdx]
lea rcx, [rbp + 8]
call fcn.1400095a0
mov eax, dword [rbp + 0xf0]
mov ecx, dword [0x1400d01b0]
cmp eax, ecx
jl 0x140031ca5
lea rdx, [0x14009a580]
lea rcx, [rbp + 8]
call fcn.140005e90
lea rcx, [rsi + 0x60]
lea rdx, [rbp + 0x148]
call fcn.14002bf10
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
mov eax, dword [rbp + 0xf0]
mov ecx, dword [0x1400d01b0]
cmp eax, ecx
jl 0x140031d3e
lea rcx, [rbp + 8]
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 + 0xf0]
mov ecx, dword [0x1400d01b0]
cmp eax, ecx
jl 0x140031d3e
lea rdx, str._using
lea rcx, [rbp + 8]
call fcn.140005e90
mov eax, dword [rbp + 0xf0]
mov ecx, dword [0x1400d01b0]
cmp eax, ecx
jl 0x140031d3e
movzx edx, word [rsi + 0x278]
lea rcx, [rbp + 8]
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 + 0xf0]
mov ecx, dword [0x1400d01b0]
cmp eax, ecx
jl 0x140031d3e
lea rdx, str._threads
lea rcx, [rbp + 8]
call fcn.140005e90
nop
lea rcx, [rbp + 8]
call fcn.140016a20
cmp dword [0x1400d01b0], 1
jg 0x140031d94
mov edx, 1
lea rcx, [rbp + 0x168]
call fcn.140011920
mov dword [rbp + 0x250], 1
cmp dword [0x1400d01b0], 1
jg 0x140031d88
lea rdx, str.Call__app.loglevel_crow::LogLevel::Warning___to_hide_Info_level_logs.
lea rcx, [rbp + 0x168]
call fcn.140005e90
nop
lea rcx, [rbp + 0x168]
call fcn.140016a20
mov qword [rsp + 0x38], rsi
mov rdi, qword [rsi + 0x1a0]
lea rax, [rsp + 0x38]
mov qword [rbp - 0x78], rax
mov ecx, dword [0x1400d9750]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140031dc0
mov rdx, qword [rax + 8]
jmp 0x140031dc3
mov rdx, r13
mov r9d, 8
mov r8d, 0x98
movzx ecx, byte [rsp + 0x30]
call fcn.14000b3a0
mov rbx, rax
mov qword [rax + 0x20], r13
lea rax, [0x1400235d0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], r13
mov dword [rbx + 0x30], r13d
mov dword [rbx + 0x38], r13d
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x48], r13
mov dword [rbx + 0x50], r13d
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0x58], rax
lea rcx, [rbx + 0x60]
lea r9, [rsi + 0x1c0]
xor r8d, r8d
xor edx, edx
call fcn.140012380
mov qword [rbp - 0x68], rbx
mov rax, qword [rdi + 0x28]
lock inc dword [rax + 0x30]
lea rcx, [0x1400d0058]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x140031e67
mov rax, qword [rcx + 0x10]
test rax, rax
jne 0x140031e81
mov rcx, qword [rcx + 0x28]
test rcx, rcx
jne 0x140031e55
mov rax, qword [rbp - 0x68]
mov qword [rax + 0x20], r13
mov rdx, qword [rsi + 0x1b0]
test rdx, rdx
je 0x140031e9c
mov qword [rdx + 0x20], rax
jmp 0x140031ea3
dec rax
mov qword [rcx + 0x10], rax
mov eax, dword [rcx]
mov rdx, qword [rbp - 0x68]
mov dword [rdx + 0x50], eax
mov rcx, qword [rdi + 0x28]
call fcn.14002ddf0
jmp 0x140031eaa
mov qword [rsi + 0x1a8], rax
mov qword [rsi + 0x1b0], rax
lea rcx, [0x1400d0058]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x70], r13
lea rcx, [rbp - 0x78]
call fcn.1400307e0
nop
mov eax, dword [rbp + 0x258]
nop
movzx ebx, r12w
cmp ebx, eax
je 0x140031ee8
call sub.MSVCP140.dll__Thrd_yield
mov eax, dword [rbp + 0x258]
nop
cmp ebx, eax
jne 0x140031ed8
mov rcx, rsi
call fcn.140022fe0
mov ecx, 8
call fcn.14008922c
test rax, rax
je 0x140031f04
mov qword [rax], rsi
jmp 0x140031f07
mov rax, r13
mov qword [rbp + 0x278], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1400099b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140032012
cmp dword [rsp + 0x58], 0
je 0x140032059
call sub.MSVCP140.dll__Thrd_id
cmp dword [rsp + 0x58], eax
je 0x140032064
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x50], xmm0
xor edx, edx
lea rcx, [rbp - 0x50]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x140032007
mov rcx, qword [rbp + 0x260]
test rcx, rcx
je 0x140031fd7
lea r8, [rbp + 0x260]
mov rdx, qword [rbp + 0x268]
call fcn.1400069f0
mov rdx, qword [rbp + 0x270]
mov rcx, qword [rbp + 0x260]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031fd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031fd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089268
mov rcx, qword [rbp + 0x298]
xor rcx, rsp
call fcn.1400897d0
lea r11, [rsp + 0x3a0]
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 + 0x58], r13d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rbp + 0xf8]
call fcn.140014280
nop
mov rcx, rax
call fcn.14000fed0
nop
lea rcx, [rbp + 0x110]
call fcn.140013650
nop
mov rcx, rax
call fcn.14000fe70
nop
mov ecx, 4
call fcn.1400200f0
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