Function at 0x18009d1c0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0xff0]
mov eax, 0x10f0
call fcn.1800a7270
sub rsp, rax
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x1110], rbx
mov qword [rsp + 0x1118], rsi
mov qword [rsp + 0x1120], rdi
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0xfe0], rax
xor r14b, r14b
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x7e0]
call fcn.1800cf2b0
xor r15d, r15d
mov edi, r15d
mov esi, r15d
mov ebx, r15d
mov rax, qword [0x1801ae058]
test rax, rax
je 0x18009d249
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], sil
jne 0x18009d240
mov rcx, qword [0x1801ae068]
call fcn.18009efb0
cmp eax, 2
jne 0x18009d3a5
mov rax, qword [0x1801ae058]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
mov rax, qword [0x1801ae060]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1801ae020]
mov qword [rsp + 0x20], rax
mov r9, qword [0x1801ae040]
lea r8, str.POST__s_HTTP_1.1_r_nHost:__s_r_nAuthorization:_Bearer__s_r_nContent_Type:_application_json_r_nContent_Length:__d_r_n_r_n_s_r_n
mov edx, 0x800
lea rcx, [rbp + 0x7e0]
call fcn.180081e30
mov esi, eax
cmp eax, 0x800
jl 0x18009d3a5
mov r9, qword [0x1801ae068]
lea r8, str.Maximum_buffer_size_exceeded_for_HTTP__s_request
mov edx, 0x7ff
lea rcx, [rbp - 0x20]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x18009d39e
lea rax, [rsp + 0x70]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r15
mov word [rsp + 0x70], r15w
mov r8d, 0x1d
lea rdx, str.gridInterfaceHttpsWindows.cpp
lea rcx, [rsp + 0x70]
call fcn.18001eca0
nop
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
mov r8d, socket
lea rdx, str._getServerResponse
lea rcx, [rsp + 0x50]
call fcn.18001eca0
nop
lea rax, [rsp + 0x40]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x68], rax
lea rax, 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 - 0x60], rax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x58], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x806
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x60]
mov edx, 3
call fcn.180019ae4
xor al, al
jmp 0x18009d7dd
mov ebx, 0x493e0
mov eax, 0x30d40
cmp byte [0x1801f3a4e], dil
cmovne ebx, eax
mov edx, reloc.WS2_32.dll_recv
lea ecx, [rdx - 0xb]
call fcn.1800a2c30
cmp dword [0x1801ae050], 3
je 0x18009d39e
nop
mov r8d, esi
sub r8d, edi
movsxd rax, edi
lea rdx, [rbp + 0x7e0]
add rdx, rax
xor r9d, r9d
mov rcx, qword [0x1801ae048]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x18009d6eb
test eax, eax
je 0x18009d406
add edi, eax
cmp edi, esi
jl 0x18009d3d0
mov edx, 0x300
mov ecx, 5
call fcn.1800a2c30
cmp dword [0x1801ae050], 3
je 0x18009d39e
mov edx, 1
mov rcx, qword [0x1801ae048]
call qword [sym.imp.WS2_32.dll_shutdown]
mov ecx, 0x4000
call fcn.1800dd380
mov rdi, rax
mov qword [0x1801ae070], rax
test rax, rax
jne 0x18009d533
lea r8, str.Failed_to_allocate_memory
mov edx, 0x7ff
lea rcx, [rbp - 0x20]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x18009d39e
lea rax, [rsp + 0x50]
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
lea r8d, [rdi + 0x1d]
lea rdx, str.gridInterfaceHttpsWindows.cpp
lea rcx, [rsp + 0x50]
call fcn.18001eca0
nop
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r15
mov word [rsp + 0x70], r15w
lea r8d, [rdi + 0x12]
lea rdx, str._getServerResponse
lea rcx, [rsp + 0x70]
call fcn.18001eca0
nop
lea rax, [rsp + 0x40]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x58], rax
lea rax, 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 - 0x70], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x68], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x83e
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x70]
lea edx, [rdi + 3]
call fcn.180019ae4
xor al, al
jmp 0x18009d7dd
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.1800cf2b0
mov eax, r15d
mov dword [0x1801ae078], eax
movabs rsi, 0x20c49ba5e353f7cf
nop word [rax + rax]
mov r8d, 0x4000
sub r8d, eax
movsxd rdx, eax
add rdx, rdi
xor r9d, r9d
mov rcx, qword [0x1801ae048]
call qword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
cmp eax, 0xffffffff
jne 0x18009d5dc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x18009d609
mov rax, rsi
imul rbx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmovs rdx, r15
lea rcx, [rsp + 0x70]
call fcn.180053bf8
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
or rcx, 0xffffffffffffffff
call fcn.1800c9470
mov eax, dword [0x1801ae078]
jmp 0x18009d5f2
test ecx, ecx
je 0x18009d6e3
mov eax, dword [0x1801ae078]
add eax, ecx
mov dword [0x1801ae078], eax
cmp eax, 0x4000
jge 0x18009d6e3
mov rdi, qword [0x1801ae070]
jmp 0x18009d560
mov r9d, eax
lea r8, str.Failed_to_read_socket___d_
mov edx, 0x7ff
lea rcx, [rbp - 0x20]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x18009d7d9
lea rax, [rsp + 0x50]
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
mov r8d, 0x1d
lea rdx, str.gridInterfaceHttpsWindows.cpp
lea rcx, [rsp + 0x50]
call fcn.18001eca0
nop
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r15
mov word [rsp + 0x70], r15w
mov r8d, socket
lea rdx, str._getServerResponse
lea rcx, [rsp + 0x70]
call fcn.18001eca0
nop
lea rax, [rsp + 0x40]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x58], rax
lea rax, 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 - 0x70], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x68], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x853
jmp 0x18009d7c6
mov r14b, 1
jmp 0x18009d7d9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, str.Failed_to_write_to_socket___d_
mov edx, 0x7ff
lea rcx, [rbp - 0x20]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x18009d7d9
lea rax, [rsp + 0x50]
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
mov r8d, 0x1d
lea rdx, str.gridInterfaceHttpsWindows.cpp
lea rcx, [rsp + 0x50]
call fcn.18001eca0
nop
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r15
mov word [rsp + 0x70], r15w
mov r8d, socket
lea rdx, str._getServerResponse
lea rcx, [rsp + 0x70]
call fcn.18001eca0
nop
lea rax, [rsp + 0x40]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x58], rax
lea rax, 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 - 0x70], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x68], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x822
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x70]
mov edx, 3
call fcn.180019ae4
movzx eax, r14b
mov rcx, qword [rbp + 0xfe0]
xor rcx, rsp
call fcn.1800a6240
lea r11, [rsp + 0x10f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret