Function at 0x180071150
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1800c2280]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov qword [rbp - 0x18], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
xor r12d, r12d
mov qword [rbp - 0x40], r12
movdqa xmm0, xmmword [0x1800b26d0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], r12b
xor r8d, r8d
lea rdx, [0x1800aaf36]
lea rcx, [rbp - 0x40]
call fcn.18005a450
mov word [rbp - 0x20], r12w
mov dword [rbp - 0x1c], r12d
mov rax, qword [r15]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x40]
cmp rax, rbx
je 0x1800711e9
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800711dc
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x40]
call fcn.18005a450
movzx eax, word [rbp + 0x60]
mov word [rbp - 0x20], ax
mov dword [rbp - 0x1c], 3
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
lea r9, [rbp - 0x50]
lea r8, [0x180071490]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x1800712c8
lea r8d, [rax + 0x24]
lea rdx, str.Could_not_create_thread_for_timeout.
lea rcx, [rsi + 0xc0]
call fcn.18005a450
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x180071276
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180071271
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800713f9
call fcn.18008f3a8
movdqa xmm0, xmmword [0x1800b26d0]
mov byte [rbp - 0x40], 0
movdqu xmmword [rbp - 0x30], xmm0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800712c1
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x1800712bc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18007147b
mov rcx, r8
call fcn.18008f3a8
xor al, al
jmp 0x18007144e
mov edx, dword [0x1800c8f50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180071359
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.180072650
mov rcx, rax
mov edx, dword [0x1800c8f50]
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.180072650
mov rcx, rax
lea rdx, [0x180072820]
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 [r15]
test rcx, rcx
je 0x18007132d
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x1800c8de0]
call fcn.180069010
mov r8d, 0x22
lea rdx, str.InternetConnect_Thread_has_exited
jmp 0x18007122e
mov dword [rbp - 0x10], r12d
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x18007139f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.Error_on_GetExitCodeThread:
add rdx, rax
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180071390
jmp 0x18007122e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp - 0x10], 0
je 0x1800713c0
mov r8d, 0x16
lea rdx, str.Worker_function_failed
jmp 0x18007122e
mov rax, qword [rbp - 0x48]
mov qword [r14], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x180071405
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180071400
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180071400
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008f3a8
movdqa xmm0, xmmword [0x1800b26d0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18007144c
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180071447
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18007147b
mov rcx, r8
call fcn.18008f3a8
mov al, 1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18008ecd0
add rsp, 0x80
pop r15
pop r14
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