Function at 0x18006dee0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0x88
mov rax, qword [0x1800bf280]
xor rax, rsp
mov qword [rbp - 1], rax
mov rdi, r9
mov r14, r8
mov r15, rdx
mov r12, rcx
mov qword [rbp - 0x11], r9
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
xor r8d, r8d
lea rdx, [0x1800a6ebb]
lea rcx, [rbp - 0x39]
call fcn.180007af0
xor r13d, r13d
mov word [rbp - 0x19], r13w
mov dword [rbp - 0x15], r13d
mov rax, qword [r12]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x39]
cmp rax, rdi
je 0x18006dfa6
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18006df68
mov r9, qword [rdi]
mov rsi, qword [rdi + 0x10]
mov rax, qword [rbp - 0x21]
cmp rsi, rax
ja 0x18006df9a
lea rbx, [rbp - 0x39]
cmp rax, 0x10
cmovae rbx, qword [rbp - 0x39]
mov qword [rbp - 0x29], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x18006dfa6
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.180007df0
movzx eax, word [rbp + 0x77]
mov word [rbp - 0x19], ax
mov dword [rbp - 0x15], 3
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
lea r9, [rbp - 0x49]
lea r8, [0x18006e2d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x18006e0b1
lea rcx, [r14 + 0xc0]
cmp qword [rcx + 0x18], 0x24
jb 0x18006e012
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x24
lea r8d, [rax + 0x24]
lea rdx, str.Could_not_create_thread_for_timeout.
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x24], 0
jmp 0x18006e024
lea r9, str.Could_not_create_thread_for_timeout.
mov edx, 0x24
call fcn.180007df0
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x18006e05f
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006e05a
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006e245
call fcn.18008c01c
movdqa xmm0, xmmword [0x1800af9e0]
mov byte [rbp - 0x39], 0
movdqu xmmword [rbp - 0x29], xmm0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x18006e0aa
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x18006e0a5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006e2c9
mov rcx, r8
call fcn.18008c01c
xor al, al
jmp 0x18006e29a
mov edx, dword [0x1800c5ec0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18006e17d
lea rdx, str.Can_not_connect_to_server_in
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18006f200
mov rcx, rax
mov edx, dword [0x1800c5ec0]
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.18006f200
mov rcx, rax
lea rdx, [0x18006f3d0]
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 [r12]
test rcx, rcx
je 0x18006e11b
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x1800c5d50]
call fcn.180065160
lea rcx, [r14 + 0xc0]
cmp qword [rcx + 0x18], 0x22
jb 0x18006e16c
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x22
mov r8d, 0x22
lea rdx, str.InternetConnect_Thread_has_exited
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x22], 0
jmp 0x18006e024
lea r9, str.InternetConnect_Thread_has_exited
mov edx, 0x22
jmp 0x18006e01e
mov dword [rbp - 9], r13d
lea rdx, [rbp - 9]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x18006e1b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Error_on_GetExitCodeThread:
add rdx, rax
lea rcx, [r14 + 0xc0]
call fcn.18006ef60
jmp 0x18006e024
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp - 9], 0
je 0x18006e20c
lea rcx, [r14 + 0xc0]
cmp qword [rcx + 0x18], 0x16
jb 0x18006e1fb
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x16
mov r8d, 0x16
lea rdx, str.Worker_function_failed
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x16], 0
jmp 0x18006e024
lea r9, str.Worker_function_failed
mov edx, 0x16
jmp 0x18006e01e
mov rax, qword [rbp - 0x41]
mov qword [r15], rax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x18006e251
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006e24c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006e24c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008c01c
movdqa xmm0, xmmword [0x1800af9e0]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x18006e298
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x18006e293
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006e2c9
mov rcx, r8
call fcn.18008c01c
mov al, 1
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r13
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.18008b900
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3