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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4e8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x490], rcx
mov qword [rbp + 0x498], rdx
mov qword [rbp + 0x4a0], r8
mov dword [rbp + 0x4a8], r9d
lea rax, [rbp + 0x400]
mov r8d, r10d
lea rdx, str.HTTP_1.1
mov rcx, rax
call fcn.140032920
lea rax, [rbp + 0x400]
mov rcx, rax
call fcn.140032880
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 + 0x458], rax
cmp qword [rbp + 0x458], 0
jne 0x140001d74
mov ebx, 0xe6
jmp 0x1400020d1
mov rax, qword [rbp + 0x490]
mov rcx, rax
call fcn.140043db0
mov rdx, rax
mov rax, qword [rbp + 0x458]
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 + 0x450], rax
cmp qword [rbp + 0x450], 0
jne 0x140001df5
mov rax, qword [rbp + 0x458]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe5
jmp 0x1400020d1
mov rax, qword [rbp + 0x498]
mov rcx, rax
call fcn.140043db0
mov rbx, rax
lea rax, [rbp + 0x40a]
mov r8d, edi
lea rdx, [0x1400e9172]
mov rcx, rax
call fcn.14002ed10
lea rax, [rbp + 0x40a]
mov rcx, rax
call fcn.14002ec70
mov rdx, rax
mov rax, qword [rbp + 0x450]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x80800000
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 + 0x448], rax
cmp qword [rbp + 0x448], 0
jne 0x140001eb2
mov rax, qword [rbp + 0x450]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x458]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe4
jmp 0x1400020d1
mov eax, dword [rbp + 0x4a8]
imul eax, eax, 0x3e8
mov dword [rbp + 0x3fc], eax
lea rdx, [rbp + 0x3fc]
mov rax, qword [rbp + 0x448]
mov r9d, 4
mov r8, rdx
mov edx, 6
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetSetOptionA]
call rax
lea rax, [rbp + 0x40f]
mov qword [rbp + 0x438], rax
nop
nop
lea rax, [rbp + 0x410]
mov r8d, esi
lea rdx, str.Content_Type:_text_html_r_n
mov rcx, rax
call fcn.14002cdb0
lea rax, [rbp + 0x410]
mov rcx, rax
call fcn.14002cd10
mov rdx, rax
lea rcx, [rbp + 0x40f]
lea rax, [rbp + 0x3d0]
mov r8, rcx
mov rcx, rax
call fcn.1400c0030
lea rax, [rbp + 0x40f]
mov rcx, rax
call fcn.1400afb10
nop
lea rax, [rbp + 0x3d0]
mov rcx, rax
call fcn.140043d90
lea ebx, [rax - 1]
lea rax, [rbp + 0x3d0]
mov rcx, rax
call fcn.140043db0
mov rdx, rax
mov rax, qword [rbp + 0x448]
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, ebx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpSendRequestA]
call rax
test eax, eax
sete al
test al, al
je 0x140002009
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x444], eax
mov rax, qword [rbp + 0x448]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x450]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x458]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
cmp dword [rbp + 0x444], 0x2ee2
jne 0x140001fff
mov ebx, 0xe7
jmp 0x1400020c2
mov ebx, 0xe3
jmp 0x1400020c2
mov rax, qword [rbp + 0x4a0]
mov rcx, rax
call fcn.1400bdd90
mov dword [rbp - 0x34], 0
jmp 0x140002045
mov eax, dword [rbp - 0x34]
mov eax, eax
mov byte [rbp + rax - 0x30], 0
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0x4a0]
mov rcx, rax
call fcn.1400c0a70
mov dword [rbp - 0x34], 0
lea rcx, [rbp - 0x34]
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0x448]
mov r9, rcx
mov r8d, 0x3ff
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
test eax, eax
je 0x14000207b
mov eax, dword [rbp - 0x34]
test eax, eax
je 0x14000207b
mov eax, 1
jmp 0x140002080
mov eax, 0
test al, al
jne 0x140002021
mov rax, qword [rbp + 0x448]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x450]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x458]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe8
lea rax, [rbp + 0x3d0]
mov rcx, rax
call fcn.1400c0880
mov eax, ebx
jmp 0x140002110
add rsp, 0x4e8
pop rbx
pop rsi
pop rdi
pop rbp
ret