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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4de8]
mov eax, 0x4ee8
call fcn.14001f210
sub rsp, rax
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rbp + 0x4dd0], rax
mov r14, r9
mov qword [rsp + 0x48], r8
mov r15, rdx
mov r13, rcx
xor edi, edi
xor r9d, r9d
lea rcx, [0x14003f380]
xor r8d, r8d
lea edx, [r9 + 1]
mov dword [rsp + 0x20], edi
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbx, rax
test rax, rax
jne 0x14000add7
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000ada7
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
lea rdx, [0x14003f398]
mov r8d, 0x50
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rsi, rax
test rax, rax
jne 0x14000ae15
xor ecx, ecx
jmp 0x14000aecc
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.14000a710
lea rdx, [rsp + 0x50]
mov rcx, r14
mov rdi, rax
call fcn.14000a6ec
mov r8, qword [rdi]
mov rdx, qword [rax]
lea rcx, [rbp - 0x78]
call fcn.14000b34c
mov rcx, rax
call fcn.140004fa4
xor edi, edi
lea rdx, [0x14003f3c0]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
xor r9d, r9d
mov r8, rax
mov rcx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
lea rcx, [rbp - 0x78]
mov r12, rax
call fcn.140004f98
test r12, r12
je 0x14000af59
mov rdx, qword [rsp + 0x48]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
mov r9, rdx
lea r8d, [rax + 0x31]
repne scasb al, byte [rdi]
lea rdx, str.Content_Type:_application_x_www_form_urlencoded_r_n
not rcx
dec rcx
mov dword [rsp + 0x20], ecx
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpSendRequestA]
xor edi, edi
test eax, eax
jne 0x14000aee0
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14000adca
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x40], edi
call fcn.140004db8
jmp 0x14000af09
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000af25
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
mov r8d, eax
call fcn.14000a9fc
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov r8d, 0x4e20
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000aef0
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x60]
mov rcx, r13
call fcn.140004e4c
lea rcx, [rsp + 0x60]
call fcn.140004e88
jmp 0x14000af7a
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x14003daae]
mov rcx, r13
call fcn.140004e18
mov rcx, r15
call fcn.140004f98
mov rcx, r14
call fcn.140004f98
mov rax, r13
mov rcx, qword [rbp + 0x4dd0]
xor rcx, rsp
call fcn.14001c0c0
add rsp, 0x4ee8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret