Function at 0x140017060
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1403c6030]
xor rax, rsp
mov qword [rbp - 8], rax
xor esi, esi
movzx eax, byte [0x1403c79d3]
test al, al
jne 0x14001716d
mov eax, 1
xchg byte [0x1403c79d3], al
mov qword [rbp - 0x50], 1
lea rdi, [fcn.140017060]
mov qword [rbp - 0x20], rdi
mov rbx, qword [0x1403c81a0]
cmp rbx, qword [0x1403c81a8]
je 0x14001715b
lea ecx, [rsi + 0x10]
call fcn.1402d10fc
mov qword [rax], 1
mov qword [rax + 8], rdi
mov qword [rbp - 0x20], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1402cc550]
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 0x14001714d
add qword [0x1403c81a0], 0x10
mov eax, 9
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1402d0d40
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rdi], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x20]
mov rdx, rbx
call fcn.1402afdc0
jmp 0x14001711b
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], sil
lea r8, [rbp - 0x48]
call fcn.1400160e0
mov qword [0x1403c8258], rax
lea rcx, [rbp - 0x48]
call fcn.14029ed10
movzx eax, byte [0x1403c79d3]
test al, al
je 0x14001711b
movabs r14, 0x7fffffffc46535ff
movabs r15, 0x7fffffffffffffff
lea r12, [0x1400168b0]
lea r13, vtable.._AU_Callback__1____updateTime_P6AXAEBV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std___Z_TimeTable_timepoint__QEAAXP6AXAEBV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std___Z_Z_.0
nop
call fcn.140016fd0
nop word [rax + rax]
mov rcx, qword [0x1403c8258]
test rcx, rcx
je 0x1400171fb
mov rax, qword [rcx]
call qword [rax + 0x38]
cmp eax, 1
jne 0x1400172f8
lea rcx, [0x1403c7b20]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140017363
mov rbx, qword [0x1403c8228]
mov rdi, qword [0x1403c8230]
cmp rbx, rdi
je 0x140017242
mov rcx, rbx
call fcn.14029ed10
add rbx, 0x20
cmp rbx, rdi
jne 0x140017223
mov rbx, qword [0x1403c8228]
mov qword [0x1403c8230], rbx
lea rcx, [0x1403c7b20]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [0x1403c8258]
test rcx, rcx
je 0x140017265
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x1403c8258], rsi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14001728a
imul rax, rax, 0x64
jmp 0x1400172a5
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r14
jge 0x1400172b6
add rax, 0x3b9aca00
mov qword [rbp - 0x50], rax
jmp 0x1400172ba
mov qword [rbp - 0x50], r15
lea rcx, [rbp - 0x50]
call fcn.1402afc90
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
lea r8, [rbp - 0x48]
call fcn.1400160e0
mov qword [0x1403c8258], rax
lea rcx, [rbp - 0x48]
call fcn.14029ed10
jmp 0x1400171e0
mov rcx, qword [0x1403c8258]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [0x1403c7b20]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14001735a
lea rcx, [0x1403c7b20]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
lea rax, [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov rcx, qword [0x1403c8258]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
call qword [rax + 0x40]
movzx eax, byte [0x1403c79d3]
test al, al
jne 0x1400171d0
jmp 0x14001711b
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3