Function at 0x259e51aea
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, 0x21de9cf9714cf9ab
movabs r14, 0x466718334bc376f4
movabs r13, 0x10f0add62118ade3
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 0x259e51dea
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 0x259e51be8
mov rcx, rsi
mov ebx, 0xe5
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x259e51e04
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, 0x10f0add6214ce8a4
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 0x259e51c78
mov rbx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call rbx
mov rcx, rsi
call rbx
mov ebx, 0xe4
jmp 0x259e51e04
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, 0x3d84c3b35576c2a0
mov qword [rbx + 8], r14
lea rdx, [rbx + 0x20]
mov rcx, r13
mov qword [rbx + 0x20], rax
movabs rax, 0x231338092eb30fa0
mov qword [rbx + 0x28], rax
movabs rax, 0x3a123a2c08abb8bd
mov qword [rbx + 0x30], rax
movabs rax, 0xdea2891563c5d8cc
mov qword [rbx + 0x38], rax
vmovdqa ymm3, ymmword [rbx + 0x20]
movabs rax, 0x377e57586084ccc5
mov qword [rbx + 0x10], rax
movabs rax, 0xdea2891563c5d8c6
mov qword [rbx + 0x18], rax
vpxor ymm0, ymm3, ymmword [rbx]
vmovdqa ymmword [rbx + 0x20], ymm0
call fcn.259e516f2
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 0x259e51d6e
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 0x259e51de0
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 0x259e51dc5
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x259e51dc5
mov rdx, qword [rsp + 0x40]
mov rcx, r12
mov byte [rsp + rax + 0x90], 0
call fcn.259e516ec
jmp 0x259e51d88
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.259efbe80
jmp 0x259e51e04
mov ebx, 0xe6
jmp 0x259e51e04
mov eax, ebx
add rsp, 0x4e8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret