Function at 0x140001bfa
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
mov ebp, 0xe6
movabs rax, 0x10d13c04856b5711
movabs r14, 0xa1d4294e744a8ca6
movabs r13, 0x21ff0d2bd53f0359
mov qword [rsp + 0x48], r14
mov rdi, rdx
xor edx, edx
mov r15, rcx
mov qword [rsp + 0x40], r13
vmovdqa xmm1, xmmword [rsp + 0x40]
mov r12, r8
lea rbx, [rsp + 0x4af]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x90]
xor r8d, r8d
and rbx, 0xffffffffffffffe0
mov qword [rsp + 0x98], r14
mov rcx, rax
vpxor xmm0, xmm1, xmmword [rsp + 0x90]
mov dword [rsp + 0x548], r9d
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov edx, 1
mov qword [rsp + 0x40], rax
vmovdqa xmmword [rsp + 0x90], xmm0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
je 0x140001f08
xor r10d, r10d
xor r11d, r11d
xor ebp, ebp
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8d, 0x1bb
mov rcx, rax
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], r11d
mov rdx, qword [r15]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rbp, rax
test rax, rax
jne 0x140001d01
mov rcx, rsi
mov ebp, 0xe5
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001f08
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, 0x21ff0d2bd56b461e
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 0x140001d91
mov rcx, rbp
mov rbx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebp, 0xe4
call rbx
mov rcx, rsi
call rbx
jmp 0x140001f08
mov r9d, 4
lea r8, [rsp + 0x68]
mov edx, 6
mov rcx, rax
imul r15d, dword [rsp + 0x548], 0x3e8
mov dword [rsp + 0x68], r15d
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov qword [rbx], r13
lea rdx, [rbx + 0x20]
movabs rax, 0xc8b634ea1516c1a
mov qword [rbx + 8], r14
mov qword [rbx + 0x20], rax
movabs rax, 0xc4a00974113af5f2
mov qword [rbx + 0x28], rax
movabs rax, 0xbcaafd61cc6b1063
mov qword [rbx + 0x30], rax
movabs rax, 0x467604e015de3462
mov qword [rbx + 0x38], rax
vmovdqa ymm3, ymmword [rbx + 0x20]
movabs rax, 0xb1c69015a444641b
mov qword [rbx + 0x10], rax
movabs rax, 0x467604e015de3468
mov qword [rbx + 0x18], rax
vpxor ymm0, ymm3, ymmword [rbx]
vmovdqa ymmword [rbx + 0x20], ymm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
call fcn.14000181c
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 0x140001e8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov rdi, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r12d, eax
call rdi
mov rcx, rbp
xor ebp, ebp
call rdi
mov rcx, rsi
call rdi
cmp r12d, 0x2ee2
sete bpl
lea ebp, [rbp*4 + 0xe3]
jmp 0x140001f00
mov rax, qword [r12]
xor edx, edx
lea r13, [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, r13
mov r8d, 0x3ff
mov dword [rsp + 0x6c], eax
mov rcx, rdi
call r15
test eax, eax
je 0x140001ee5
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x140001ee5
mov rdx, qword [rsp + 0x40]
mov rcx, r12
mov byte [rsp + rax + 0x90], 0
call fcn.1400aba60
jmp 0x140001ea8
mov rcx, rdi
mov rdi, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rdi
mov rcx, rbp
mov ebp, 0xe8
call rdi
mov rcx, rsi
call rdi
mov rcx, rbx
call fcn.1400aa4f0
mov eax, ebp
add rsp, 0x4e8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret