Function at 0x18028e750
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
mov rax, qword [0x180344d00]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x18036b754]
call fcn.1800e5c4f
lea rcx, [rbp + 8]
call fcn.1800e100a
nop
mov rax, qword [rbp + 0x210]
mov rax, qword [rax]
mov qword [rbp + 8], rax
mov rdx, qword [rbp + 0x218]
lea rcx, [rbp + 0x18]
call fcn.1800e4ec6
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 8]
lea r8, [0x1800e5466]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x58], rax
cmp qword [rbp + 0x58], 0
jne 0x18028e841
mov rax, qword [rbp + 0x220]
add rax, 0x100
lea rdx, str.Could_not_create_thread_for_timeout.
mov rcx, rax
call fcn.1800e12b2
mov byte [rbp + 0x154], 0
lea rcx, [rbp + 8]
call fcn.1800e2bc6
nop
mov rcx, qword [rbp + 0x218]
call fcn.1800e1e10
movzx eax, byte [rbp + 0x154]
jmp 0x18028ea13
mov edx, dword [0x180350cf4]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18028e914
lea rdx, str.Can_not_send_request_to_server_in
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800e182f
mov edx, dword [0x180350cf4]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
lea rdx, str._milliseconds
mov rcx, rax
call fcn.1800e182f
lea rdx, [0x1800e12e4]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
cmp qword [0x180350cd0], 0
je 0x18028e8b4
mov rcx, qword [0x180350cd0]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x180350b20]
call fcn.1800e4674
mov rax, qword [rbp + 0x220]
add rax, 0x100
lea rdx, str.InternetConnect_Thread_has_exited
mov rcx, rax
call fcn.1800e12b2
mov byte [rbp + 0x174], 0
lea rcx, [rbp + 8]
call fcn.1800e2bc6
nop
mov rcx, qword [rbp + 0x218]
call fcn.1800e1e10
movzx eax, byte [rbp + 0x174]
jmp 0x18028ea13
mov dword [rbp + 0x74], 0
lea rdx, [rbp + 0x74]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x18028e981
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
lea rcx, str.Error_on_GetExitCodeThread:
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x220]
add rcx, 0x100
mov rdx, rax
call fcn.1800e12b2
mov byte [rbp + 0x194], 0
lea rcx, [rbp + 8]
call fcn.1800e2bc6
nop
mov rcx, qword [rbp + 0x218]
call fcn.1800e1e10
movzx eax, byte [rbp + 0x194]
jmp 0x18028ea13
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x74], 0
je 0x18028e9d3
mov rax, qword [rbp + 0x220]
add rax, 0x100
lea rdx, str.Worker_function_failed
mov rcx, rax
call fcn.1800e12b2
mov byte [rbp + 0x1b4], 0
lea rcx, [rbp + 8]
call fcn.1800e2bc6
nop
mov rcx, qword [rbp + 0x218]
call fcn.1800e1e10
movzx eax, byte [rbp + 0x1b4]
jmp 0x18028ea13
cmp dword [rbp + 0x10], 0
je 0x18028e9e2
mov byte [rbp + 0x1e4], 1
jmp 0x18028e9e9
mov byte [rbp + 0x1e4], 0
movzx eax, byte [rbp + 0x1e4]
mov byte [rbp + 0x1d4], al
lea rcx, [rbp + 8]
call fcn.1800e2bc6
nop
mov rcx, qword [rbp + 0x218]
call fcn.1800e1e10
movzx eax, byte [rbp + 0x1d4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x180315980]
call fcn.1800e4f75
mov rax, rdi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.1800e34fe
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret