Function at 0x14003a020
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x20], rdx
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov dword [rbp - 0x48], r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
xor r8d, r8d
lea rdx, [0x140042db9]
lea rcx, [rbp - 0x40]
call fcn.14001d0c0
nop
mov rax, qword [rbx]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x40]
cmp rax, rdi
je 0x14003a0a4
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14003a097
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x40]
call fcn.14001b350
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x50]
lea r8, [0x14003a730]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14003a176
mov r8d, 0x24
lea rdx, str.Could_not_create_thread_for_timeout.
lea rcx, [rsi + 0xc0]
call fcn.14001b350
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14003a124
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a11f
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a2a9
call fcn.14003c604
movdqa xmm0, xmmword [0x140045b30]
mov byte [rbp - 0x40], 0
movdqu xmmword [rbp - 0x30], xmm0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14003a16f
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x14003a16a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003a328
mov rcx, r8
call fcn.14003c604
xor al, al
jmp 0x14003a2ff
mov edx, dword [0x140051454]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14003a20b
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.14001bc00
mov edx, dword [0x140051454]
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.14001bc00
lea rdx, [0x14003b640]
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 [0x140051438]
test rcx, rcx
je 0x14003a1df
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x1400512e0]
call fcn.140031c30
mov r8d, 0x22
lea rdx, str.InternetConnect_Thread_has_exited
jmp 0x14003a0dc
mov dword [rbp - 0x18], r14d
lea rdx, [rbp - 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x14003a24f
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 0x14003a240
jmp 0x14003a0dc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp - 0x18], 0
je 0x14003a270
mov r8d, 0x16
lea rdx, str.Worker_function_failed
jmp 0x14003a0dc
cmp dword [rbp - 0x48], 0
setne bl
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14003a2b5
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a2b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a2b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003c604
movdqa xmm0, xmmword [0x140045b30]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14003a2fc
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14003a2f7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003a328
mov rcx, r8
call fcn.14003c604
movzx eax, bl
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003c5a0
add rsp, 0x80
pop r14
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