Function at 0x140001c84
Capabilities:
Connect to http server
Create http request
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, 0x4e8
movabs rax, 0x34206dd55517a437
movabs r14, 0x9adb528305672d98
movabs r13, 0x50e5cfa0543f07f
mov qword [rsp + 0x48], r14
mov rdi, rdx
xor edx, edx
mov rbp, rcx
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x90]
mov r12, r8
mov r15d, r9d
mov qword [rsp + 0x40], r13
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov qword [rsp + 0x98], r14
vmovdqa xmm1, xmmword [rsp + 0x40]
lea rbx, [rsp + 0x4af]
vpxor xmm0, xmm1, xmmword [rsp + 0x90]
mov dword [rsp + 0x20], edx
mov edx, 1
and rbx, 0xffffffffffffffe0
mov qword [rsp + 0x40], rax
vmovdqa xmmword [rsp + 0x90], xmm0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
je 0x140001f84
xor r10d, r10d
xor r11d, r11d
xor eax, eax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x38], r10
xor r9d, r9d
mov r8d, 0x1bb
mov rcx, rsi
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rbp, rax
test rax, rax
jne 0x140001d82
mov rcx, rsi
mov ebx, 0xe5
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001f9e
mov qword [rsp + 0x50], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x98], r14
mov rcx, rbp
movabs rax, 0x50e5cfa0517b538
mov qword [rsp + 0x58], r14
vmovdqa xmm2, xmmword [rsp + 0x50]
mov qword [rsp + 0x90], rax
vpxor xmm0, xmm2, xmmword [rsp + 0x90]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
xor r9d, r9d
mov qword [rsp + 0x38], r8
mov dword [rsp + 0x30], 0x80800000
mov r8, qword [rdi]
vmovdqa xmmword [rsp + 0x90], xmm0
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rdi, rax
test rax, rax
jne 0x140001e12
mov rbx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call rbx
mov rcx, rsi
call rbx
mov ebx, 0xe4
jmp 0x140001f9e
imul r15d, r15d, 0x3e8
mov r9d, 4
lea r8, [rsp + 0x68]
mov rcx, rax
mov edx, 6
mov dword [rsp + 0x68], r15d
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov qword [rbx], r13
lea r13, [rsp + 0x70]
movabs rax, 0x287a329f712d9f3c
mov qword [rbx + 8], r14
lea rdx, [rbx + 0x20]
mov rcx, r13
mov qword [rbx + 0x20], rax
movabs rax, 0xffaf72b9601754cc
mov qword [rbx + 0x28], rax
movabs rax, 0x6164e040b956ee91
mov qword [rbx + 0x30], rax
movabs rax, 0x4a4e7bf5531a9e00
mov qword [rbx + 0x38], rax
vmovdqa ymm3, ymmword [rbx + 0x20]
movabs rax, 0x6c088d34d1799ae9
mov qword [rbx + 0x10], rax
movabs rax, 0x4a4e7bf5531a9e0a
mov qword [rbx + 0x18], rax
vpxor ymm0, ymm3, ymmword [rbx]
vmovdqa ymmword [rbx + 0x20], ymm0
call fcn.14000188c
mov rax, qword [rsp + 0x78]
xor ecx, ecx
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov rdx, qword [rsp + 0x70]
mov rcx, rdi
lea r8d, [rax - 1]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x140001f08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
mov rdi, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rdi
mov rcx, rbp
call rdi
mov rcx, rsi
call rdi
cmp ebx, 0x2ee2
sete bl
movzx ebx, bl
lea ebx, [rbx*4 + 0xe3]
jmp 0x140001f7a
mov rax, qword [r12]
xor edx, edx
lea rbx, [rsp + 0x6c]
mov r15, qword [sym.imp.WININET.dll_InternetReadFile]
mov qword [r12 + 8], rdx
mov byte [rax], 0
xor eax, eax
mov rdx, qword [rsp + 0x40]
mov r9, rbx
mov r8d, 0x3ff
mov dword [rsp + 0x6c], eax
mov rcx, rdi
call r15
test eax, eax
je 0x140001f5f
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x140001f5f
mov rdx, qword [rsp + 0x40]
mov rcx, r12
mov byte [rsp + rax + 0x90], 0
call fcn.1400052d8
jmp 0x140001f22
mov rbx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call rbx
mov rcx, rbp
call rbx
mov rcx, rsi
call rbx
mov ebx, 0xe8
mov rcx, r13
call fcn.1400052f0
jmp 0x140001f9e
mov ebx, 0xe6
jmp 0x140001f9e
mov eax, ebx
add rsp, 0x4e8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret