Function at 0x259e5379f
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, 0x898
mov rbp, r8
mov r15, rcx
mov r14, rdx
mov edx, 0x30
lea rax, [rsp + 0xb8]
mov r13, r9
lea rdi, [rsp + 0xd8]
mov rcx, rax
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x79f]
call fcn.259e5363f
or r8, 0xffffffffffffffff
mov rcx, rbp
and rbx, 0xffffffffffffffe0
lea rdx, [0x259f1a0e8]
call fcn.259e86620
or r9, 0xffffffffffffffff
mov rdx, rbp
mov rcx, rdi
lea r8, [rax + 1]
mov qword [rsp + 0x70], rdi
call fcn.259e871e0
movabs rsi, 0x3d84c3b35576c2a0
mov r8, qword [rsp + 0x68]
mov rdx, rbx
mov rax, rsi
mov qword [rbx], rax
movabs rax, 0x330a38092eb30fa0
mov qword [rbx + 8], rax
movabs rax, 0x180a253910edb8a9
mov qword [rbx + 0x10], rax
movabs rax, 0xaac3ed380eb7b7a0
mov qword [rbx + 0x18], rax
movabs rax, 0x713cb9956e5c0476
mov qword [rbx + 0x20], rax
movabs rax, 0x6361cb874201b6f9
mov qword [rbx + 0x28], rax
vmovdqa xmm2, xmmword [rbx + 0x20]
movabs rax, 0x10f0add62118ade3
mov qword [rbx + 0x60], rax
movabs rax, 0x466718334bc376f4
mov qword [rbx + 0x68], rax
movabs rax, 0x377e57586084ccc5
mov qword [rbx + 0x70], rax
movabs rax, 0xdea2891563c5d8c6
mov qword [rbx + 0x78], rax
vmovdqa ymm1, ymmword [rbx + 0x60]
movabs rax, 0x1552ccfa0c7c3f17
vpxor ymm0, ymm1, ymmword [rbx]
vmovdqa ymmword [rbx], ymm0
mov qword [rbx + 0x80], rax
movabs rax, 0x6361cb877f78c498
mov qword [rbx + 0x88], rax
vpxor xmm0, xmm2, xmmword [rbx + 0x80]
lea rax, [rsp + 0xf8]
mov rcx, rax
mov qword [rsp + 0x78], rax
vmovdqa xmmword [rbx + 0x20], xmm0
call fcn.259f100a0
movabs rax, 0x360638092eb30fa0
mov qword [rbx], rsi
movabs rdx, 0x40d2a0ee264ac38b
mov qword [rbx + 8], rax
movabs rax, 0x5817233903eda0b5
mov qword [rbx + 0x10], rax
movabs rax, 0xf3d6ec6100aaf7a8
mov qword [rbx + 0x18], rax
vmovdqa ymm3, ymmword [rbx]
movabs rax, 0x1f5fa19b690e4b64
mov qword [rbx + 0x20], rax
movabs rax, 0x4e15a5e20b16abdb
mov qword [rbx + 0x28], rax
movabs rax, 0xa2ab646f5571a04d
mov qword [rbx + 0x30], rax
movabs rax, 0x9fc99646c495abb7
mov qword [rbx + 0x38], rax
vmovdqa ymm4, ymmword [rbx + 0x20]
movabs rax, 0x32b3ce87446af9ec
mov qword [rbx + 0x40], rax
movabs rax, 0xcb0f1c21eb573645
mov qword [rbx + 0x48], rax
vmovdqa xmm5, xmmword [rbx + 0x40]
movabs rax, 0x10f0add62118ade3
mov qword [rbx + 0x60], rax
movabs rax, 0x466718334bc376f4
mov qword [rbx + 0x68], rax
movabs rax, 0x377e57586084ccc5
mov qword [rbx + 0x70], rax
movabs rax, 0xdea2891563c5d8c6
mov qword [rbx + 0x78], rax
vpxor ymm0, ymm3, ymmword [rbx + 0x60]
movabs rax, 0x1552ccfa0c7c3f17
vmovdqa ymmword [rbx], ymm0
mov qword [rbx + 0x80], rax
movabs rax, 0x6361cb877f78c498
mov qword [rbx + 0x88], rax
movabs rax, 0xd0ce021c3b10d219
mov qword [rbx + 0x90], rax
movabs rax, 0xf1a0f229a7fbee9a
mov qword [rbx + 0x98], rax
vpxor ymm0, ymm4, ymmword [rbx + 0x80]
vmovdqa ymmword [rbx + 0x20], ymm0
mov qword [rbx + 0xa0], rdx
movabs rdx, 0xcb0f1c2be65d3b3c
mov qword [rbx + 0xa8], rdx
vpxor xmm0, xmm5, xmmword [rbx + 0xa0]
movabs rdx, 0x320e6b5c3bb01fb0
mov qword [rbx + 0xc0], rsi
vmovdqa xmmword [rbx + 0x40], xmm0
mov qword [rbx + 0xc8], rdx
movabs rdx, 0x451131785aeaa3ac
mov qword [rbx + 0xd0], rdx
movabs rdx, 0xfe99e86102a1f5ab
mov qword [rbx + 0xd8], rdx
vmovdqa ymm1, ymmword [rbx + 0xc0]
movabs rdx, 0x7c34eec769115e79
vpxor ymm0, ymm1, ymmword [rbx + 0x60]
mov qword [rbx + 0xf8], rax
lea rax, [rsp + 0x138]
vmovdqa ymmword [rbx + 0xc0], ymm0
mov r8, qword [rsp + 0x68]
mov rcx, rax
mov qword [rbx + 0xe0], rdx
movabs rdx, 0xf08ada7445aa1f4
mov qword [rbx + 0xe8], rdx
movabs rdx, 0xd0ec3f795671bc7c
mov qword [rbx + 0xf0], rdx
vmovdqa ymm2, ymmword [rbx + 0xe0]
lea rdx, [0x259f1a11e]
vpxor ymm0, ymm2, ymmword [rbx + 0x80]
mov qword [rsp + 0x48], rax
vmovdqa ymmword [rbx + 0xe0], ymm0
call fcn.259f100a0
lea rax, [rsp + 0x158]
mov rdx, qword [rsp + 0x48]
lea r8, [0x259f1a121]
mov rcx, rax
mov qword [rsp + 0x60], rax
call fcn.259f10000
lea rax, [rsp + 0x178]
mov rdx, qword [rsp + 0x60]
lea r8, [rbx + 0xc0]
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.259f10000
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
call fcn.259efd4c0
mov rdx, rax
lea rax, [rsp + 0x198]
lea rsi, [rsp + 0x380]
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.259efec00
mov rdx, qword [rsp + 0x40]
lea r8, [0x259f1a124]
mov rcx, rsi
call fcn.259f10000
lea rcx, [rsp + 0x118]
mov r8, rbx
mov rdx, rsi
call fcn.259f10000
mov rcx, rsi
call fcn.259efbe80
mov rcx, qword [rsp + 0x40]
call fcn.259efbe80
mov rcx, qword [rsp + 0x50]
call fcn.259efbe80
mov rcx, qword [rsp + 0x60]
call fcn.259efbe80
mov rcx, qword [rsp + 0x48]
call fcn.259efbe80
mov r8, qword [rsp + 0x68]
lea rdx, str._r_n__
mov rcx, rsi
call fcn.259f100a0
mov rcx, qword [rsp + 0x48]
lea r8, str.___r_n
mov rdx, rsi
call fcn.259f10000
mov rcx, rsi
call fcn.259efbe80
mov rcx, qword [rsp + 0x40]
mov r8d, 6
mov rdx, rbp
call fcn.259eebee0
lea rcx, [rsp + 0x1f0]
call fcn.259e7eb00
test al, al
je 0x259e54096
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.259ece7a0
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov r12, qword [rsp + 0x80]
call fcn.259ece690
test r12, r12
jns 0x259e53c6f
lea rcx, str.cannot_create_std::vector_larger_than_max_size__
call fcn.259f14380
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
je 0x259e53ca2
mov rcx, r12
call fcn.259f12380
mov rbx, rax
jmp 0x259e53ca4
xor ebx, ebx
lea rdx, [rbx + r12]
mov qword [rsp + 0xa0], rbx
mov rbp, rbx
mov qword [rsp + 0xb0], rdx
test r12, r12
je 0x259e53cd9
mov rcx, r12
mov byte [rbx], 0
lea rbp, [rbx + 1]
dec rcx
je 0x259e53cd9
mov rdi, rbp
xor eax, eax
mov rbp, rdx
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x40]
mov r8, r12
mov rdx, rbx
mov qword [rsp + 0xa8], rbp
call fcn.259ece2d0
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rdx - 0x18]
test byte [rax + rdx + 0x20], 5
je 0x259e53d13
call fcn.259eebb00
mov ebx, 0xe2
jmp 0x259e54084
call fcn.259eebb00
lea rax, [rsp + 0x188]
xor edi, edi
mov qword [rsp + 0x178], rax
mov rax, rbp
sub rax, rbx
mov qword [rsp + 0x180], rdi
mov qword [rsp + 0x380], rax
cmp rax, 0xf
jbe 0x259e53d73
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x380]
xor r8d, r8d
call fcn.259efe9a0
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x380]
mov qword [rsp + 0x188], rax
mov rdx, qword [rsp + 0x178]
sub rbp, rbx
xor eax, eax
cmp rax, rbp
je 0x259e53d90
mov cl, byte [rbx + rax]
mov byte [rdx + rax], cl
inc rax
jmp 0x259e53d80
mov rax, qword [rsp + 0x380]
mov rdx, qword [rsp + 0x178]
lea r8, [rsp + 0x118]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x180], rax
mov byte [rdx + rax], 0
xor edx, edx
call fcn.259efdb60
mov rdx, rax
mov rcx, rsi
call fcn.259efec00
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call fcn.259efd4c0
mov rcx, qword [rsp + 0x60]
mov rdx, rax
lea rsi, [rsp + 0x380]
xor ebx, ebx
call fcn.259efec00
mov rcx, rsi
call fcn.259efbe80
mov rcx, qword [rsp + 0x50]
call fcn.259efbe80
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
movabs rax, 0x21de9cf9714cf9ab
mov rcx, rsi
movabs rdx, 0x10f0add62118ade3
mov qword [rsp + 0x380], rax
movabs rax, 0x466718334bc376f4
mov qword [rsp + 0x50], rdx
mov edx, 1
mov qword [rsp + 0x388], rax
mov qword [rsp + 0x58], rax
vmovdqa xmm3, xmmword [rsp + 0x50]
vpxor xmm0, xmm3, xmmword [rsp + 0x380]
vmovdqa xmmword [rsp + 0x380], xmm0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
test rax, rax
je 0x259e54075
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 [r15]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rbp, rax
test rax, rax
jne 0x259e53ec5
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, 0xe5
jmp 0x259e5407a
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x30], 0x800000
xor r9d, r9d
movabs rax, 0x10f0add6754be2b3
mov qword [rsp + 0x38], rcx
mov rcx, rbp
movabs rdx, 0x10f0add62118ade3
mov qword [rsp + 0x380], rax
movabs rax, 0x466718334bc376f4
mov qword [rsp + 0x50], rdx
mov rdx, rsi
mov qword [rsp + 0x388], rax
mov qword [rsp + 0x58], rax
vmovdqa xmm4, xmmword [rsp + 0x50]
vpxor xmm0, xmm4, xmmword [rsp + 0x380]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r8
mov r8, qword [r14]
vmovdqa xmmword [rsp + 0x380], xmm0
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rsi, rax
test rax, rax
jne 0x259e53f66
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call rsi
mov rcx, rbx
call rsi
mov ebx, 0xe4
jmp 0x259e5407a
mov r9d, 4
lea r8, [rsp + 0x9c]
mov edx, 6
mov rcx, rax
mov dword [rsp + 0x9c], 0xea60
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rax, qword [rsp + 0x160]
mov r9, qword [rsp + 0x158]
mov rcx, rsi
mov r8d, dword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x259e53ff5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov r12d, eax
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rsi
mov rcx, rbp
call rsi
mov rcx, rbx
call rsi
xor ebx, ebx
cmp r12d, 0x2ee2
sete bl
lea ebx, [rbx*4 + 0xe3]
jmp 0x259e5407a
mov rax, qword [r13]
xor edx, edx
mov r15, qword [sym.imp.WININET.dll_InternetReadFile]
lea r14, [rsp + 0x178]
mov qword [r13 + 8], rdx
lea r12, [rsp + 0x380]
mov byte [rax], 0
xor eax, eax
mov r9, r14
mov r8d, 0x3ff
mov rdx, r12
mov dword [rsp + 0x178], eax
mov rcx, rsi
call r15
test eax, eax
je 0x259e54058
mov eax, dword [rsp + 0x178]
test eax, eax
je 0x259e54058
mov rdx, r12
mov rcx, r13
mov byte [rsp + rax + 0x380], 0
call fcn.259e516ec
jmp 0x259e54019
mov rcx, rsi
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rsi
mov rcx, rbp
call rsi
mov rcx, rbx
call rsi
mov ebx, 0xe8
jmp 0x259e5407a
mov ebx, 0xe6
mov rcx, qword [rsp + 0x60]
call fcn.259efbe80
lea rcx, [rsp + 0xa0]
call fcn.259efafd0
jmp 0x259e5418c
mov ebx, 0xe1
jmp 0x259e5418c
mov rcx, qword [rsp + 0x40]
call fcn.259eec600
mov rcx, qword [rsp + 0x48]
call fcn.259efbe80
lea rcx, [rsp + 0x118]
call fcn.259efbe80
mov rcx, qword [rsp + 0x78]
call fcn.259efbe80
mov rcx, qword [rsp + 0x70]
call fcn.259efbe80
mov rcx, qword [rsp + 0x68]
call fcn.259efbe80
mov eax, ebx
add rsp, 0x898
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret