Function at 0x14000211c
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x4f0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x490], rcx
mov qword [rbp + 0x498], rdx
mov qword [rbp + 0x4a0], r8
mov qword [rbp + 0x4a8], r9
lea rax, [rbp + 0x40f]
mov qword [rbp + 0x448], rax
nop
nop
lea rax, [rbp + 0x410]
mov r8d, r10d
lea rdx, str.Content_Type:_application_json_r_n
mov rcx, rax
call fcn.14002e820
lea rax, [rbp + 0x410]
mov rcx, rax
call fcn.14002e780
mov rdx, rax
lea rcx, [rbp + 0x40f]
lea rax, [rbp + 0x3e0]
mov r8, rcx
mov rcx, rax
call fcn.1400c0030
lea rax, [rbp + 0x40f]
mov rcx, rax
call fcn.1400afb10
nop
lea rax, [rbp + 0x438]
mov r8d, ebx
lea rdx, str.HTTP_1.1
mov rcx, rax
call fcn.140032380
lea rax, [rbp + 0x438]
mov rcx, rax
call fcn.1400322e0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp + 0x468], rax
cmp qword [rbp + 0x468], 0
jne 0x140002216
mov ebx, 0xe6
jmp 0x140002520
mov rax, qword [rbp + 0x490]
mov rcx, rax
call fcn.140043db0
mov rdx, rax
mov rax, qword [rbp + 0x468]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x1bb
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetConnectA]
call rax
mov qword [rbp + 0x460], rax
cmp qword [rbp + 0x460], 0
jne 0x140002297
mov rax, qword [rbp + 0x468]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe5
jmp 0x140002520
mov rax, qword [rbp + 0x498]
mov rcx, rax
call fcn.140043db0
mov rbx, rax
lea rax, [rbp + 0x442]
mov r8d, esi
lea rdx, str.POST
mov rcx, rax
call fcn.14002ff30
lea rax, [rbp + 0x442]
mov rcx, rax
call fcn.14002fe90
mov rdx, rax
mov rax, qword [rbp + 0x460]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rbx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpOpenRequestA]
call rax
mov qword [rbp + 0x458], rax
cmp qword [rbp + 0x458], 0
jne 0x140002354
mov rax, qword [rbp + 0x460]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x468]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe4
jmp 0x140002520
mov dword [rbp + 0x3dc], 0xea60
lea rdx, [rbp + 0x3dc]
mov rax, qword [rbp + 0x458]
mov r9d, 4
mov r8, rdx
mov edx, 6
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetSetOptionA]
call rax
mov rax, qword [rbp + 0x4a0]
mov rcx, rax
call fcn.140043d90
mov dword [rbp + 0x454], eax
mov rax, qword [rbp + 0x4a0]
mov rcx, rax
call fcn.140043db0
mov rbx, rax
lea rax, [rbp + 0x3e0]
mov rcx, rax
call fcn.140043d90
mov esi, eax
lea rax, [rbp + 0x3e0]
mov rcx, rax
call fcn.140043db0
mov rcx, rax
mov rax, qword [rbp + 0x458]
mov edx, dword [rbp + 0x454]
mov dword [rsp + 0x20], edx
mov r9, rbx
mov r8d, esi
mov rdx, rcx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpSendRequestA]
call rax
test eax, eax
sete al
test al, al
je 0x140002467
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x450], eax
mov rax, qword [rbp + 0x458]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x460]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x468]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
cmp dword [rbp + 0x450], 0x2ee2
jne 0x14000245d
mov ebx, 0xe7
jmp 0x140002520
mov ebx, 0xe3
jmp 0x140002520
mov rax, qword [rbp + 0x4a8]
mov rcx, rax
call fcn.1400bdd90
mov dword [rbp - 0x34], 0
jmp 0x1400024a3
mov eax, dword [rbp - 0x34]
mov eax, eax
mov byte [rbp + rax - 0x30], 0
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0x4a8]
mov rcx, rax
call fcn.1400c0a70
mov dword [rbp - 0x34], 0
lea rcx, [rbp - 0x34]
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0x458]
mov r9, rcx
mov r8d, 0x3ff
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
test eax, eax
je 0x1400024d9
mov eax, dword [rbp - 0x34]
test eax, eax
je 0x1400024d9
mov eax, 1
jmp 0x1400024de
mov eax, 0
test al, al
jne 0x14000247f
mov rax, qword [rbp + 0x458]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x460]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x468]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe8
lea rax, [rbp + 0x3e0]
mov rcx, rax
call fcn.1400c0880
mov eax, ebx
jmp 0x14000256e
add rsp, 0x4f0
pop rbx
pop rsi
pop rbp
ret