Function at 0x13f22ad64
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.13f23f200
sub rsp, rax
mov rax, qword [0x13f268490]
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, [0x13f25f380]
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 0x13f22add7
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x13f22ada7
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
lea rdx, [0x13f25f398]
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 0x13f22ae15
xor ecx, ecx
jmp 0x13f22aecc
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.13f22a710
lea rdx, [rsp + 0x50]
mov rcx, r14
mov rdi, rax
call fcn.13f22a6ec
mov r8, qword [rdi]
mov rdx, qword [rax]
lea rcx, [rbp - 0x78]
call fcn.13f22b34c
mov rcx, rax
call fcn.13f224fa4
xor edi, edi
lea rdx, [0x13f25f3c0]
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.13f224f98
test r12, r12
je 0x13f22af59
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 0x13f22aee0
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 0x13f22adca
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x40], edi
call fcn.13f224db8
jmp 0x13f22af09
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x13f22af25
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
mov r8d, eax
call fcn.13f22a9fc
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 0x13f22aef0
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.13f224e4c
lea rcx, [rsp + 0x60]
call fcn.13f224e88
jmp 0x13f22af7a
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x13f25daae]
mov rcx, r13
call fcn.13f224e18
mov rcx, r15
call fcn.13f224f98
mov rcx, r14
call fcn.13f224f98
mov rax, r13
mov rcx, qword [rbp + 0x4dd0]
xor rcx, rsp
call fcn.13f23c0b0
add rsp, 0x4ee8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret