Function at 0x140007320
Capabilities:
Create http request
Create process on windows
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
mov eax, 0x10f0
call fcn.140010bf0
sub rsp, rax
mov rax, qword [0x140050070]
xor rax, rsp
mov qword [rsp + 0x10e8], rax
xor esi, esi
mov dword [rsp + 0x34], esi
mov byte [rsp + 0x30], sil
lea r12, [0x140053010]
nop dword [rax + rax]
cmp dword [rsp + 0x34], 0xa
jge 0x14000761e
cmp byte [rsp + 0x30], 0
jne 0x14000761e
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.Download_Agent
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x140007650
lea r8, [0x140052f30]
lea rdx, [0x140053050]
lea rcx, [rsp + 0xa0]
call fcn.14000cc50
nop
lea rdx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x140007673
mov rcx, r12
cmp qword [0x140053028], 0x10
cmovae rcx, qword [0x140053010]
lea rdx, [0x1400489c8]
call fcn.140016d58
test rax, rax
je 0x14000744f
mov rcx, rax
call fcn.140017278
mov rcx, r12
cmp qword [0x140053028], 0x10
cmovae rcx, qword [0x140053010]
call fcn.140017528
mov rcx, r12
cmp qword [0x140053028], 0x10
cmovae rcx, qword [0x140053010]
lea rdx, [0x140048de0]
call fcn.140016d58
mov r14, rax
mov rcx, rbx
test rax, rax
je 0x14000769e
mov dword [rsp + 0x9c], 0x20
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x9c]
lea r8, [rsp + 0xc0]
mov edx, 5
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1400076cf
lea rcx, [rsp + 0xc0]
call fcn.14001b848
mov r13d, eax
mov r15d, esi
lea r9, [rsp + 0x98]
mov r8d, 0x1000
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140007567
nop word [rax + rax]
mov ecx, dword [rsp + 0x98]
test ecx, ecx
je 0x140007567
mov edx, ecx
mov r9, r14
mov r8d, 1
lea rcx, [rsp + 0xe0]
call fcn.14001a5e8
add r15d, dword [rsp + 0x98]
mov eax, r15d
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
xorps xmm0, xmm0
cvtsi2sd xmm0, r13
divsd xmm1, xmm0
mulsd xmm1, qword [0x140049160]
cvttsd2si eax, xmm1
mov dword [0x140052f1c], eax
lea r9, [rsp + 0x98]
mov r8d, 0x1000
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400074f0
mov rcx, r14
call fcn.140017278
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r8, r12
cmp qword [0x140053028], 0x10
cmovae r8, qword [0x140053010]
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rsi
lea r9, str._SILENT
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x140052f18], 1
mov byte [rsp + 0x30], 1
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x140007612
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000760c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007712
call fcn.1400105b0
nop
jmp 0x140007370
mov rcx, qword [rsp + 0x10e8]
xor rcx, rsp
call fcn.140010590
lea r11, [rsp + 0x10f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
lea rdx, str.Could_not_open_internet_connection.
lea rcx, [rsp + 0x38]
call fcn.140001610
lea rdx, [0x14004e6b8]
lea rcx, [rsp + 0x38]
call fcn.140012364
nop
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.Could_not_open_internet_file.
lea rcx, [rsp + 0x50]
call fcn.140001610
lea rdx, [0x14004e6b8]
lea rcx, [rsp + 0x50]
call fcn.140012364
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.Could_not_open_local_file.
lea rcx, [rsp + 0x68]
call fcn.140001610
lea rdx, [0x14004e6b8]
lea rcx, [rsp + 0x68]
call fcn.140012364
mov rcx, r14
call fcn.140017278
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.Could_not_query_file_size.
lea rcx, [rsp + 0x80]
call fcn.140001610
lea rdx, [0x14004e6b8]
lea rcx, [rsp + 0x80]
call fcn.140012364
nop
call fcn.14001c610
int3