Function at 0x140002da0
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, 0x528
movabs rax, 0x589cb11751f86d54
mov r14, rcx
mov rdi, rdx
mov r13, r8
mov rsi, r9
lea rbp, [rsp + 0x4bf]
lea r12, [rsp + 0x90]
movabs rdx, 0xae2a65c6d0e86fbb
movabs rcx, 0x75e8df7225960217
and rbp, 0xffffffffffffffe0
mov qword [rsp + 0x80], r12
mov qword [rbp], rax
movabs rax, 0x6b2b781715590c8
mov qword [rbp + 8], rax
movabs rax, 0xebd6ab39318b1079
mov qword [rbp + 0x10], rax
movabs rax, 0x14d98fb6afd95b18
mov qword [rbp + 0x18], rax
vmovdqa ymm2, ymmword [rbp]
movabs rax, 0x6779d26fc6167dc0
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x68], rax
lea rax, [rsp + 0x80]
mov qword [rbp + 0x20], rdx
vmovdqa xmm3, xmmword [rbp + 0x20]
mov qword [rbp + 0x40], rcx
movabs rcx, 0x76d397bb1425e99c
mov qword [rbp + 0x60], rdx
vpxor xmm1, xmm3, xmmword [rbp + 0x60]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x48], rcx
movabs rcx, 0x84bfdf5852e27c09
mov qword [rbp + 0x50], rcx
movabs rcx, 0x1ed4e1d9dcb37476
mov qword [rbp + 0x58], rcx
vpxor ymm0, ymm2, ymmword [rbp + 0x40]
mov rcx, rbp
vmovdqa xmmword [rbp + 0x20], xmm1
vmovdqa ymmword [rbp], ymm0
vmovdqu ymmword [rsp + 0x40], ymm0
vzeroupper
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
vmovdqu ymm0, ymmword [rsp + 0x40]
cmp rax, 0xf
mov qword [rsp + 0xa0], rax
mov r15, rax
ja 0x140003188
cmp rax, 1
jne 0x140003168
vpextrb byte [rsp + 0x90], xmm0, 0
mov rdx, r12
lea rbx, [rsp + 0xa0]
vzeroupper
mov qword [rsp + 0x88], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov byte [rdx + rax], 0
movabs rax, 0x44c6ee5d75c2565f
movabs rdx, 0x75e8df7225960217
mov qword [rsp + 0xa0], rax
movabs rax, 0x76d397bb1425e99c
mov qword [rsp + 0x40], rdx
mov edx, 1
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x48], rax
vmovdqa xmm4, xmmword [rsp + 0x40]
vpxor xmm0, xmm4, xmmword [rsp + 0xa0]
mov dword [rsp + 0x20], 0
vmovdqa xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbp, rax
test rax, rax
je 0x1400031f8
mov rdx, qword [r14]
xor r9d, r9d
mov r8d, 0x1bb
mov rcx, rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140003290
mov rcx, rax
mov dword [rsp + 0x30], 0x800000
xor r9d, r9d
movabs rax, 0x75e8df7271c54d47
movabs rdx, 0x75e8df7225960217
mov qword [rsp + 0x38], 0
mov qword [rsp + 0xa0], rax
movabs rax, 0x76d397bb1425e99c
mov qword [rsp + 0x40], rdx
mov rdx, rbx
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x48], rax
vmovdqa xmm5, xmmword [rsp + 0x40]
vpxor xmm0, xmm5, xmmword [rsp + 0xa0]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r8, qword [rdi]
vmovdqa xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rdi, rax
test rax, rax
je 0x1400032a8
mov dword [rsp + 0x78], 0xea60
mov r9d, 4
lea r8, [rsp + 0x78]
mov rcx, rax
mov edx, 6
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rax, qword [r13 + 8]
mov r8d, dword [rsp + 0x88]
mov rcx, rdi
mov rdx, qword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov r9, qword [r13]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x140003258
mov rax, qword [rsi]
mov qword [rsi + 8], 0
lea r13, [rsp + 0x7c]
movabs r15, 0x3fffffffffffffff
mov r14, qword [sym.imp.WININET.dll_InternetReadFile]
mov byte [rax], 0
jmp 0x1400030f6
mov eax, dword [rsp + 0x7c]
test eax, eax
je 0x140003114
mov rcx, rbx
mov byte [rsp + rax + 0xa0], 0
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rax, r15
sub rax, qword [rsi + 8]
cmp rax, r8
jb 0x1400032f0
mov rdx, rbx
mov rcx, rsi
call fcn.14000bae0
mov r9, r13
mov r8d, 0x3ff
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x7c], 0
call r14
test eax, eax
jne 0x1400030c0
mov rbx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call rbx
mov rcx, qword [rsp + 0x60]
call rbx
mov rcx, rbp
call rbx
mov ebx, 0xe8
mov rcx, qword [rsp + 0x80]
cmp rcx, r12
je 0x14000314f
mov rax, qword [rsp + 0x90]
lea rdx, [rax + 1]
call sub.libstdc_6.dll_operator_delete_void__unsigned_long_long_
mov eax, ebx
add rsp, 0x528
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test rax, rax
je 0x140002edb
mov rax, r12
lea rbx, [rsp + 0xa0]
vzeroupper
jmp 0x1400031bb
mov rcx, qword [rsp + 0x68]
lea rbx, [rsp + 0xa0]
xor r8d, r8d
mov rdx, rbx
vzeroupper
call fcn.14000bad0
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x90], rdx
cmp r15d, 8
jae 0x140003208
test r15b, 4
jne 0x1400032c5
test r15d, r15d
je 0x1400031e0
movzx edx, byte [rbp]
mov byte [rax], dl
test r15b, 2
jne 0x1400032dc
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x80]
jmp 0x140002ee9
mov ebx, 0xe6
jmp 0x140003131
mov rdx, qword [rbp]
mov qword [rax], rdx
mov edx, r15d
mov rcx, qword [rbp + rdx - 8]
mov qword [rax + rdx - 8], rcx
lea rdx, [rax + 8]
and rdx, 0xfffffffffffffff8
sub rax, rdx
add r15d, eax
sub rbp, rax
and r15d, 0xfffffff8
cmp r15d, 8
jb 0x1400031e0
and r15d, 0xfffffff8
xor eax, eax
mov ecx, eax
add eax, 8
mov r8, qword [rbp + rcx]
mov qword [rdx + rcx], r8
cmp eax, r15d
jb 0x14000323d
jmp 0x1400031e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, eax
mov rcx, rdi
call rbx
mov rcx, qword [rsp + 0x60]
call rbx
mov rcx, rbp
call rbx
xor ebx, ebx
cmp esi, 0x2ee2
sete bl
lea ebx, [rbx*4 + 0xe3]
jmp 0x140003131
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, 0xe5
jmp 0x140003131
mov rcx, qword [rsp + 0x60]
mov rbx, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rbx
mov rcx, rbp
call rbx
mov ebx, 0xe4
jmp 0x140003131
mov edx, dword [rbp]
mov r15d, r15d
mov dword [rax], edx
mov edx, dword [rbp + r15 - 4]
mov dword [rax + r15 - 4], edx
jmp 0x1400031e0
mov r15d, r15d
movzx edx, word [rbp + r15 - 2]
mov word [rax + r15 - 2], dx
jmp 0x1400031e0
lea rcx, str.basic_string::append
call fcn.14000ba48
mov rbx, rax
jmp 0x14000ffdc