Function at 0x18006cba0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov dword [rbp - 0x28], r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x180164c70]
movdqu xmmword [rbp - 0x10], xmm1
mov byte [rbp - 0x20], r14b
mov rax, qword [rcx]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x20]
cmp rax, rdx
je 0x18006cc06
cmp qword [rdx + 0x18], 0xf
jbe 0x18006cbf9
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x20]
call fcn.180052150
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x30]
lea r8, [0x18006d270]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x18006ccd6
lea r8d, [rax + 0x24]
lea rdx, str.Could_not_create_thread_for_timeout.
lea rcx, [rsi + 0xc0]
call fcn.180052150
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x18006cc84
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006cc7f
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006ce0a
call fcn.18012643c
movdqa xmm0, xmmword [0x180164c70]
mov byte [rbp - 0x20], 0
movdqu xmmword [rbp - 0x10], xmm0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18006cccf
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x18006ccca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006ce85
mov rcx, r8
call fcn.18012643c
xor al, al
jmp 0x18006ce61
mov edx, dword [0x1801d32e4]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18006cd6b
lea rdx, str.Can_not_send_request_to_server_in
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180053820
mov edx, dword [0x1801d32e4]
mov rcx, rax
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_long_int____ptr64]
mov rcx, rax
lea rdx, str._milliseconds
call fcn.180053820
lea rdx, [0x1800539f0]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [0x1801d32c8]
test rcx, rcx
je 0x18006cd3f
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x1801d3170]
call fcn.180065b00
mov r8d, Ordinal_35
lea rdx, str.InternetConnect_Thread_has_exited
jmp 0x18006cc3c
mov dword [rbp + 0x38], r14d
lea rdx, [rbp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x18006cdaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Error_on_GetExitCodeThread:
add rdx, rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x18006cda0
jmp 0x18006cc3c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x38], 0
je 0x18006cdd0
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.Worker_function_failed
jmp 0x18006cc3c
cmp dword [rbp - 0x28], 0
setne dil
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x18006ce16
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006ce11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006ce11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18012643c
movdqa xmm0, xmmword [0x180164c70]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18006ce5d
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18006ce58
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006ce85
mov rcx, r8
call fcn.18012643c
movzx eax, dil
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r14
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3