Function at 0x18028e380
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x238
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x258]
mov rax, qword [0x180344d00]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x18036b754]
call fcn.1800e5c4f
lea rcx, [rbp + 0x10]
call fcn.1800e3b57
nop
mov rax, qword [rbp + 0x220]
mov rax, qword [rax]
mov qword [rbp + 0x10], rax
mov rdx, qword [rbp + 0x238]
lea rcx, [rbp + 0x20]
call fcn.1800e4ec6
movzx eax, word [rbp + 0x240]
mov word [rbp + 0x48], ax
mov eax, dword [rbp + 0x248]
mov dword [rbp + 0x4c], eax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0x10]
lea r8, [0x1800e5c68]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x18028e48a
mov rax, qword [rbp + 0x230]
add rax, 0x100
lea rdx, str.Could_not_create_thread_for_timeout.
mov rcx, rax
call fcn.1800e12b2
mov byte [rbp + 0x164], 0
lea rcx, [rbp + 0x10]
call fcn.1800e164f
nop
mov rcx, qword [rbp + 0x238]
call fcn.1800e1e10
movzx eax, byte [rbp + 0x164]
jmp 0x18028e65d
mov edx, dword [0x180350cf0]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18028e563
lea rdx, str.Can_not_connect_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 [0x180350cf0]
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]
mov rax, qword [rbp + 0x220]
cmp qword [rax], 0
je 0x18028e503
mov rax, qword [rbp + 0x220]
mov rcx, qword [rax]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x180350b20]
call fcn.1800e4674
mov rax, qword [rbp + 0x230]
add rax, 0x100
lea rdx, str.InternetConnect_Thread_has_exited
mov rcx, rax
call fcn.1800e12b2
mov byte [rbp + 0x184], 0
lea rcx, [rbp + 0x10]
call fcn.1800e164f
nop
mov rcx, qword [rbp + 0x238]
call fcn.1800e1e10
movzx eax, byte [rbp + 0x184]
jmp 0x18028e65d
mov dword [rbp + 0x84], 0
lea rdx, [rbp + 0x84]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x18028e5d6
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 + 0x230]
add rcx, 0x100
mov rdx, rax
call fcn.1800e12b2
mov byte [rbp + 0x1a4], 0
lea rcx, [rbp + 0x10]
call fcn.1800e164f
nop
mov rcx, qword [rbp + 0x238]
call fcn.1800e1e10
movzx eax, byte [rbp + 0x1a4]
jmp 0x18028e65d
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x84], 0
je 0x18028e62b
mov rax, qword [rbp + 0x230]
add rax, 0x100
lea rdx, str.Worker_function_failed
mov rcx, rax
call fcn.1800e12b2
mov byte [rbp + 0x1c4], 0
lea rcx, [rbp + 0x10]
call fcn.1800e164f
nop
mov rcx, qword [rbp + 0x238]
call fcn.1800e1e10
movzx eax, byte [rbp + 0x1c4]
jmp 0x18028e65d
mov rax, qword [rbp + 0x228]
mov rcx, qword [rbp + 0x18]
mov qword [rax], rcx
mov byte [rbp + 0x1e4], 1
lea rcx, [rbp + 0x10]
call fcn.1800e164f
nop
mov rcx, qword [rbp + 0x238]
call fcn.1800e1e10
movzx eax, byte [rbp + 0x1e4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1803158a0]
call fcn.1800e4f75
mov rax, rdi
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.1800e34fe
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret