Function at 0x18006da90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1800bf280]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x20], rdx
xor r15d, r15d
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
xor r8d, r8d
lea rdx, [0x1800a6ebb]
lea rcx, [rbp - 0x40]
call fcn.180007af0
nop
mov rax, qword [rbx]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x40]
cmp rax, rdi
je 0x18006db4a
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18006db0c
mov r9, qword [rdi]
mov rsi, qword [rdi + 0x10]
mov rax, qword [rbp - 0x28]
cmp rsi, rax
ja 0x18006db3e
lea rbx, [rbp - 0x40]
cmp rax, 0x10
cmovae rbx, qword [rbp - 0x40]
mov qword [rbp - 0x30], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x18006db4a
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180007df0
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x50]
lea r8, [0x18006e330]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x18006dc46
lea rcx, [r14 + 0xc0]
cmp qword [rcx + 0x18], 0x24
jb 0x18006dba7
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 0x18006dbb9
lea r9, str.Could_not_create_thread_for_timeout.
mov edx, 0x24
call fcn.180007df0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18006dbf4
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006dbef
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006dddd
call fcn.18008c01c
movdqa xmm0, xmmword [0x1800af9e0]
mov byte [rbp - 0x40], 0
movdqu xmmword [rbp - 0x30], xmm0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x18006dc3f
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x18006dc3a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006de65
mov rcx, r8
call fcn.18008c01c
xor al, al
jmp 0x18006de33
mov edx, dword [0x1800c5ec4]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18006dd15
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.18006f200
mov rcx, rax
mov edx, dword [0x1800c5ec4]
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 [0x1800c5ea8]
test rcx, rcx
je 0x18006dcb3
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 0x18006dd04
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 0x18006dbb9
lea r9, str.InternetConnect_Thread_has_exited
mov edx, 0x22
jmp 0x18006dbb3
mov dword [rbp - 0x18], r15d
lea rdx, [rbp - 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x18006dd4d
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 0x18006dbb9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp - 0x18], 0
je 0x18006dda4
lea rcx, [r14 + 0xc0]
cmp qword [rcx + 0x18], 0x16
jb 0x18006dd93
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 0x18006dbb9
lea r9, str.Worker_function_failed
mov edx, 0x16
jmp 0x18006dbb3
cmp dword [rbp - 0x48], 0
setne bl
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18006dde9
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006dde4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006dde4
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 - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x18006de30
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x18006de2b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006de65
mov rcx, r8
call fcn.18008c01c
movzx eax, bl
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18008b900
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3