Function at 0x140061a60
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 [0x1400d0040]
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], 0xeaeffdfb
mov dword [rsp + 0x4c], 0xf7e1cfe1
mov eax, dword [0x1400bfeb0]
movd xmm6, eax
psubb xmm6, xmmword [0x1400c0580]
movd xmm0, dword [rsp + 0x48]
movdqa xmm1, xmm6
xorps xmm1, xmm0
movd dword [rsp + 0x48], xmm1
mov eax, dword [0x1400bfec0]
movd xmm7, eax
psubb xmm7, xmmword [0x1400c0580]
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 0x140061b40
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x48]
call fcn.140079350
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1400bff60]
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 0x140061be6
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, [0x1400be32e]
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 0x140061c34
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rsp + 0x60], 0xdbdeddc0
mov dword [rsp + 0x64], 0xbea0bca3
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], 0xdfd9c6d8
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 0x140061ce9
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 0x140061eb0
mov r11, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140061d3c
mov r11, qword [rdi]
movdqa xmm0, xmmword [0x1400c0e00]
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1400c07b0]
movdqu xmmword [rbp - 0x80], xmm1
mov dword [rbp - 0x70], 0xceccccfa
mov dword [rbp - 0x6c], 0x95dcc8de
mov dword [rbp - 0x68], 0xb3c19490
lea rcx, [rsp + 0x70]
call fcn.1400623f0
mov r9, r11
mov r8, rax
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.14004cd20
mov r9d, 0xa0000000
mov r8d, 0xffffffff
lea rdx, [rbp + 0x120]
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x140061eb0
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 0x140061e0a
inc rdx
mov rcx, qword [rbp - 0x48]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140061e05
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400623e2
call fcn.14007b234
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 0x140061e57
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x140061e52
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140062378
mov rcx, r8
call fcn.14007b234
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r15
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140061ea0
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x140061e9b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006237e
mov rcx, r8
call fcn.14007b234
mov qword [rbx + 0x10], r15
jmp 0x140062337
inc rsi
cmp byte [rsi + r13], 0
jne 0x140061eb0
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 0x140061eef
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 0x140061dc8
test r14, r14
je 0x140062150
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x10]
call fcn.1400aa330
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140061f16
mov rdx, qword [rbx]
mov r8d, 0x22
lea rcx, [rbp - 0x10]
call fcn.140077800
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 0x1400620e3
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 0x140061fac
mov eax, dword [rbp - 0x20]
test eax, eax
je 0x140061fac
mov r8d, eax
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x10]
call fcn.140076b50
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 0x140061f74
lea rcx, [rbp - 8]
call fcn.140077700
test rax, rax
jne 0x140061fec
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 0x140062384
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 0x1400620e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400620e3
mov r15d, dword [rbp - 0x50]
mov esi, r13d
test r15, r15
je 0x14006207e
cmp r15, 0x1000
jb 0x140062062
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x1400623d6
call fcn.14007b2ac
test rax, rax
je 0x1400623dc
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14006206d
mov rcx, r15
call fcn.14007b2ac
mov rsi, rax
lea r13, [rsi + r15]
mov r8, r15
xor edx, edx
mov rcx, rsi
call fcn.1400aa330
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 0x1400620e3
sub r13, rsi
cmp r13, 0x1000
jb 0x1400620d3
add r13, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1400623dc
mov rsi, rcx
mov rdx, r13
mov rcx, rsi
call fcn.14007b234
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.1400768a0
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.14007ccf4
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 0x140062253
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1400621b3
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400621ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400623e2
call fcn.14007b234
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 0x1400621ff
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400621fa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140062378
mov rcx, r8
call fcn.14007b234
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140062248
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140062243
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006237e
mov rcx, r8
call fcn.14007b234
mov qword [rbx + 0x10], rsi
mov al, 1
jmp 0x140062339
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140062260
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1400622a2
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006229d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400623e2
call fcn.14007b234
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 0x1400622ee
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400622e9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140062378
mov rcx, r8
call fcn.14007b234
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140062333
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14006232e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006237e
mov rcx, r8
call fcn.14007b234
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.14007ab80
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.140090bec
nop
call fcn.140090bec
nop
test al, 4
je 0x140062391
lea rbx, str.ios_base::badbit_set
jmp 0x1400623a5
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.14004d080
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14004db00
lea rdx, [0x1400ce2b8]
lea rcx, [rsp + 0x70]
call fcn.14007e8e0
int3
call fcn.14004ce80
int3
call fcn.140090bec
nop
call fcn.140090bec
int3