Function at 0x140060080
Capabilities:
Connect to http server
Create http request
Delete file
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x698]
sub rsp, 0x760
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1400d7040]
xor rax, rsp
mov qword [rbp + 0x630], rax
mov qword [rbp - 0x20], r9
mov r14, rdx
mov r13, qword [rbp + 0x6c0]
mov rdi, qword [rbp + 0x6c8]
mov qword [rbp - 0x60], rdi
mov rbx, qword [rbp + 0x6d0]
mov qword [rbp - 0x58], rbx
mov dword [rsp + 0x48], 0xf2f7e5e3
mov dword [rsp + 0x4c], 0xeff9d7f9
mov eax, dword [0x1400c5ec0]
movd xmm6, eax
psubb xmm6, xmmword [0x1400c6990]
movd xmm0, dword [rsp + 0x48]
movdqa xmm1, xmm6
xorps xmm1, xmm0
movd dword [rsp + 0x48], xmm1
mov eax, dword [0x1400c5ed0]
movd xmm7, eax
psubb xmm7, xmmword [0x1400c6990]
movd xmm0, dword [rsp + 0x4c]
movdqa xmm1, xmm7
xorps xmm1, xmm0
movd dword [rsp + 0x4c], xmm1
mov byte [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xor r15d, r15d
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea rax, [rsp + 0x48]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140060160
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x48]
call fcn.14007f6c0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1400c5f90]
movdqu xmmword [rbp + 0x110], xmm1
mov byte [rbp + 0x100], 0
mov byte [rsp + 0x40], 0
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rcx, qword [rbp - 0x48]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
mov dword [rbp - 0x18], 0x1388
mov r9d, 4
lea r8, [rbp - 0x18]
mov edx, 2
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov qword [rbp - 0x38], r15
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rcx, qword [rbp - 0x48]
mov byte [rcx], 0
test r12, r12
jne 0x140060206
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r8d, 0x50
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 3
lea r9, [0x1400c432e]
mov qword [rsp + 0x20], r9
mov rdx, r14
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r15, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140060254
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rsp + 0x60], 0xc3c6c5d8
mov dword [rsp + 0x64], 0xa6b8a4bb
movd ecx, xmm6
movd xmm1, ecx
movd xmm0, dword [rsp + 0x60]
xorps xmm1, xmm0
movd dword [rsp + 0x60], xmm1
movd eax, xmm7
movd xmm1, eax
movd xmm0, dword [rsp + 0x64]
xorps xmm1, xmm0
movd dword [rsp + 0x64], xmm1
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x58], 0xc7c1dec0
movd xmm1, ecx
movd xmm0, dword [rsp + 0x58]
xorps xmm1, xmm0
movd dword [rsp + 0x58], xmm1
mov byte [rsp + 0x5c], 0
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8, qword [rbp - 0x20]
lea rdx, [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r14, rax
test rax, rax
jne 0x140060309
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp - 0x28], 0x1388
mov r9d, 4
lea r8, [rbp - 0x28]
mov edx, 5
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, 4
lea r8, [rbp - 0x28]
mov r15d, 6
mov edx, r15d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetSetOptionA]
cmp qword [rdi + 0x10], 0
je 0x1400604d0
mov r11, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14006035c
mov r11, qword [rdi]
movdqa xmm0, xmmword [0x1400c7670]
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1400c6db0]
movdqu xmmword [rbp - 0x80], xmm1
mov dword [rbp - 0x70], 0xd6d4d4e2
mov dword [rbp - 0x6c], 0x8dc4d0c6
mov dword [rbp - 0x68], 0xbbc99c98
lea rcx, [rsp + 0x70]
call fcn.140060a10
mov r9, r11
mov r8, rax
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.14004b350
mov r9d, 0xa0000000
mov r8d, 0xffffffff
lea rdx, [rbp + 0x120]
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x1400604d0
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14006042a
inc rdx
mov rcx, qword [rbp - 0x48]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140060425
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060a02
call fcn.1400815a4
xor r15d, r15d
mov byte [rbp - 0x48], r15b
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], r15
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140060477
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x140060472
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140060998
mov rcx, r8
call fcn.1400815a4
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r15
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400604c0
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x1400604bb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006099e
mov rcx, r8
call fcn.1400815a4
mov qword [rbx + 0x10], r15
jmp 0x140060957
inc rsi
cmp byte [rsi + r13], 0
jne 0x1400604d0
mov dword [rsp + 0x20], esi
mov r9, r13
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x14006050f
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
jmp 0x1400603e8
test r14, r14
je 0x140060770
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x10]
call fcn.1400b06a0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140060536
mov rdx, qword [rbx]
mov r8d, 0x22
lea rcx, [rbp - 0x10]
call fcn.14007d990
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x14], edx
cmp qword [rbp + 0x78], 0
je 0x140060703
lea r9, [rbp - 0x20]
mov r8d, 0x400
lea rdx, [rbp + 0x230]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400605cc
mov eax, dword [rbp - 0x20]
test eax, eax
je 0x1400605cc
mov r8d, eax
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x10]
call fcn.14007cce0
lea r9, [rbp - 0x20]
mov r8d, 0x400
lea rdx, [rbp + 0x230]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140060594
lea rcx, [rbp - 8]
call fcn.14007d890
test rax, rax
jne 0x14006060c
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx + 0x38], 0
mov eax, 2
cmovne r15d, eax
or r15d, dword [rbp + rcx]
and r15d, 0x17
mov dword [rbp + rcx], r15d
mov eax, dword [rbp + rcx + 4]
and eax, r15d
jne 0x1400609a4
xor r13d, r13d
mov dword [rbp - 0x50], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x50]
xor r8d, r8d
mov edx, 0x16
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x140060703
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140060703
mov r15d, dword [rbp - 0x50]
mov esi, r13d
test r15, r15
je 0x14006069e
cmp r15, 0x1000
jb 0x140060682
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x1400609f6
call fcn.14008161c
test rax, rax
je 0x1400609fc
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14006068d
mov rcx, r15
call fcn.14008161c
mov rsi, rax
lea r13, [rsi + r15]
mov r8, r15
xor edx, edx
mov rcx, rsi
call fcn.1400b06a0
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x50]
mov r8, rsi
mov edx, 0x16
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
setne r15b
mov byte [rsp + 0x40], r15b
test rsi, rsi
je 0x140060703
sub r13, rsi
cmp r13, 0x1000
jb 0x1400606f3
add r13, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1400609fc
mov rsi, rcx
mov rdx, r13
mov rcx, rsi
call fcn.1400815a4
mov byte [rsp + 0x40], r15b
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp - 8]
call fcn.14007ca30
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x14], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0x98]
call fcn.140083068
nop
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [rsp + 0x40], 0
je 0x140060873
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1400607d3
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400607ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060a02
call fcn.1400815a4
xor esi, esi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], sil
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14006081f
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14006081a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140060998
mov rcx, r8
call fcn.1400815a4
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140060868
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140060863
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006099e
mov rcx, r8
call fcn.1400815a4
mov qword [rbx + 0x10], rsi
mov al, 1
jmp 0x140060959
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140060880
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1400608c2
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400608bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060a02
call fcn.1400815a4
xor esi, esi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], sil
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14006090e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140060909
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140060998
mov rcx, r8
call fcn.1400815a4
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140060953
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14006094e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006099e
mov rcx, r8
call fcn.1400815a4
mov qword [rbx + 0x10], rsi
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov rcx, qword [rbp + 0x630]
xor rcx, rsp
call fcn.140080ef0
lea r11, [rsp + 0x760]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140096f5c
nop
call fcn.140096f5c
nop
test al, 4
je 0x1400609b1
lea rbx, str.ios_base::badbit_set
jmp 0x1400609c5
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14004b6b0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14004c130
lea rdx, [0x1400d4b70]
lea rcx, [rsp + 0x70]
call fcn.140084c50
int3
call fcn.14004b4b0
int3
call fcn.140096f5c
nop
call fcn.140096f5c
int3