Function at 0x1800a10a0
Capabilities:
Connect socket
Initialize winsock library
Resolve dns
Set socket configuration

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb08]
sub rsp, 0xbe0
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0xad0], rax
xor esi, esi
mov qword [rbp + 0x60], rsi
mov byte [rbp + 0x240], sil
xor eax, eax
mov qword [rbp + 0x241], rax
mov dword [rbp + 0x249], eax
mov word [rbp + 0x24d], ax
mov byte [rbp + 0x24f], al
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x250]
call fcn.1800cf2b0
mov r15d, 1
mov dword [rbp + 0x68], r15d
xor r12b, r12b
mov r14d, r15d
mov rcx, qword [0x1801ae030]
test rcx, rcx
je 0x1800a1174
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], sil
jne 0x1800a1140
test rax, rax
je 0x1800a1174
mov rcx, qword [0x1801ae038]
test rcx, rcx
je 0x1800a1174
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], sil
jne 0x1800a1160
movzx r12d, r12b
test rax, rax
cmovne r12d, r15d
cmp byte [0x1801f3a4e], sil
je 0x1800a1189
mov ebx, 0x30d40
mov edi, 5
jmp 0x1800a1193
mov ebx, 0x493e0
mov edi, socket
mov ecx, 0x202
lea rdx, [rbp + 0xa0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1800a11b1
mov eax, r15d
jmp 0x1800a1911
cmp dword [0x1801ae050], esi
jne 0x1800a18ff
xor eax, eax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov dword [rbp + 0x74], esi
mov dword [rbp + 0x78], r15d
mov dword [rbp + 0x7c], 6
or r8, 0xffffffffffffffff
test r12b, r12b
je 0x1800a1238
mov rdx, qword [0x1801ae030]
inc r8
cmp byte [rdx + r8], al
jne 0x1800a1201
lea rcx, [rbp + 0x250]
call fcn.1800e3890
mov rdx, qword [0x1801ae038]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x1800a1221
lea rcx, [rbp + 0x240]
call fcn.1800e3890
jmp 0x1800a1274
mov rdx, qword [0x1801ae020]
nop
inc r8
cmp byte [rdx + r8], al
jne 0x1800a1240
lea rcx, [rbp + 0x250]
call fcn.1800e3890
mov r9d, dword [0x1801ae028]
lea r8, [0x18013c2fc]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x240]
call fcn.180081e30
lea r9, [rbp + 0x60]
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x250]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1800a138b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, str.Failed_to_resolve_server_name___d_
mov edx, 0x7ff
lea rcx, [rbp + 0x2d0]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 5
jl 0x1800a1381
lea rax, [rbp - 0x38]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], rsi
mov word [rbp - 0x38], si
mov r8d, 0x1d
lea rdx, str.gridInterfaceHttpsWindows.cpp
lea rcx, [rbp - 0x38]
call fcn.18001eca0
nop
mov qword [rbp], 7
mov qword [rbp - 8], rsi
mov word [rbp - 0x18], si
mov r8d, socket
lea rdx, str.httpsServerConnect
lea rcx, [rbp - 0x18]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x2d0]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x60], rax
lea r13, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x58], r13
lea rax, [rbp - 0x68]
mov qword [rbp - 0x50], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x377
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x58]
mov edx, 5
call fcn.180019ae4
mov eax, 2
jmp 0x1800a1911
mov r15, qword [rbp + 0x60]
test r15, r15
je 0x1800a190e
lea r13, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
nop
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, dword [r15 + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x1801ae048], rax
lea r8, [rbp + 0x68]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x1800a1811
mov dword [0x1801ae050], 2
mov r8d, dword [r15 + 0x10]
mov rdx, qword [r15 + 0x20]
mov rcx, qword [0x1801ae048]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1800a17dc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1800a150f
mov r14d, 4
mov dword [0x1801ae050], 3
mov r9d, eax
lea r8, str.Failed_to_connect_to_server___d_
mov edx, 0x7ff
lea rcx, [rbp + 0x2d0]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 5
jl 0x1800a14fd
lea rax, [rsp + 0x58]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
lea r8d, [r14 + 0x19]
lea rdx, str.gridInterfaceHttpsWindows.cpp
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
lea r8d, [r14 + 0xe]
lea rdx, str.httpsServerConnect
lea rcx, [rsp + 0x38]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x2d0]
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x68], r13
lea rax, [rbp - 0x58]
mov qword [rbp - 0x60], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x3aa
lea r9, [rsp + 0x38]
lea r8, [rbp - 0x68]
lea edx, [r14 + 1]
call fcn.180019ae4
mov rcx, qword [0x1801ae048]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1800a17c0
test edi, edi
je 0x1800a16c6
movabs rax, 0x20c49ba5e353f7cf
imul rbx
mov rsi, rdx
sar rsi, 7
mov rax, rsi
shr rax, 0x3f
add rsi, rax
mov eax, 0
cmovs rsi, rax
nop
dec edi
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.180053bf8
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x50], xmm1
lea rdx, [rbp + 0x40]
or rcx, 0xffffffffffffffff
call fcn.1800c9470
mov ecx, reloc.WS2_32.dll_recv
call fcn.1800a1000
mov eax, dword [0x1801ae050]
cmp eax, 1
je 0x1800a1696
cmp eax, 3
je 0x1800a1594
test edi, edi
jne 0x1800a1540
xor esi, esi
jmp 0x1800a16cc
mov r14d, 4
mov r9d, 0x2733
lea r8, str.Failed_to_connect_to_server___d_
mov edx, 0x7ff
lea rcx, [rbp + 0x2d0]
call fcn.18000e038
call fcn.18003e228
xor esi, esi
cmp dword [rax + 0x20], 5
jl 0x1800a1681
lea rax, [rsp + 0x38]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
lea r8d, [r14 + 0x19]
lea rdx, str.gridInterfaceHttpsWindows.cpp
lea rcx, [rsp + 0x38]
call fcn.18001eca0
nop
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
lea r8d, [r14 + 0xe]
lea rdx, str.httpsServerConnect
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
lea rax, [rsp + 0x32]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x2d0]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r13
lea rax, [rbp + 8]
mov qword [rbp + 0x20], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x3c6
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x18]
lea edx, [rsi + 5]
call fcn.180019ae4
mov rcx, qword [0x1801ae048]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x1801ae050]
jmp 0x1800a16ce
test r12b, r12b
je 0x1800a17d2
call fcn.18009e520
mov r14d, eax
test eax, eax
je 0x1800a17d2
mov rcx, qword [0x1801ae048]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x1801ae050]
xor esi, esi
jmp 0x1800a16ce
mov eax, dword [0x1801ae050]
dec edi
cmp eax, 2
jne 0x1800a17c0
lea r14d, [rax + 3]
mov r9d, 0x2733
lea r8, str.Failed_to_connect_to_server__timeout_reached___d_
mov edx, 0x7ff
lea rcx, [rbp + 0x2d0]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], r14d
jl 0x1800a17c0
lea rax, [rsp + 0x38]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
lea r8d, [r14 + 0x18]
lea rdx, str.gridInterfaceHttpsWindows.cpp
lea rcx, [rsp + 0x38]
call fcn.18001eca0
nop
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
lea r8d, [r14 + 0xd]
lea rdx, str.httpsServerConnect
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
lea rax, [rsp + 0x31]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x2d0]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x78], r13
lea rax, [rbp - 0x48]
mov qword [rbp - 0x70], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x3ce
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x78]
mov edx, r14d
call fcn.180019ae4
mov r15, qword [r15 + 0x28]
test r15, r15
je 0x1800a18ff
jmp 0x1800a13a0
xor eax, eax
mov r14d, eax
jmp 0x1800a18ff
test r12b, r12b
je 0x1800a17ff
call fcn.18009e520
mov r14d, eax
test eax, eax
je 0x1800a17ff
mov rcx, qword [0x1801ae048]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1800a18ff
mov dword [0x1801ae050], 1
mov r14d, esi
jmp 0x1800a18ff
mov r9d, eax
lea r8, str.Failed_to_set_socket_in_non_blocking_mode___d_
mov edx, 0x7ff
lea rcx, [rbp + 0x2d0]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x1800a18f9
lea rax, [rsp + 0x38]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
mov r8d, 0x1d
lea rdx, str.gridInterfaceHttpsWindows.cpp
lea rcx, [rsp + 0x38]
call fcn.18001eca0
nop
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
mov r8d, socket
lea rdx, str.httpsServerConnect
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
lea rax, [rsp + 0x31]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x2d0]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x48], r13
lea rax, [rbp - 0x78]
mov qword [rbp - 0x40], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x38d
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x48]
mov edx, 3
call fcn.180019ae4
mov r14d, 3
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1800a190e
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, r14d
mov rcx, qword [rbp + 0xad0]
xor rcx, rsp
call fcn.1800a6240
lea r11, [rsp + 0xbe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret