Function at 0x1400791f0
Capabilities:
Contain obfuscated stackstrings
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1400a45d0]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r15, r9
mov qword [rsp + 0x40], r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rdx
mov rax, qword [rbp + 0x458]
mov qword [rsp + 0x48], rax
xor r12d, r12d
mov r13b, r12b
lea edi, [r12 + 0xf]
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], r12
mov byte [rbp - 0x80], r12b
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], r12b
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140078ea0
test al, al
je 0x1400794a8
lea edi, [r12 + 1]
mov edx, dword [rsp + 0x30]
mov rcx, r15
call fcn.140078248
test al, al
je 0x1400792b4
mov rcx, rsi
call fcn.1400785ac
neg al
sbb ecx, ecx
and edi, ecx
cmp qword [rsi + 0x18], 0x10
jb 0x1400792c0
mov rcx, qword [rsi]
jmp 0x1400792c3
mov rcx, rsi
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, edi
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
test rax, rax
je 0x1400794a0
xor r15d, r15d
mov eax, 0x803000
cmp dword [rsp + 0x30], 1
cmove r15d, eax
mov dword [rbp - 0x40], 0x65636341
mov dword [rbp - 0x39], 0x2a2f2a20
mov word [rbp - 0x3b], 0x3a74
mov dword [rbp - 0x35], 0x6e5c725c
mov dword [rbp - 0x30], 0x6e5c72
mov byte [rbp - 0x3c], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp - 0x31], 0x5c
cmp qword [rbx + 0x18], 0x10
jb 0x140079329
mov rdi, qword [rbx]
jmp 0x14007932c
mov rdi, rbx
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r9d, eax
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], r15d
lea r8, [rbp - 0x40]
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
xor r12d, r12d
test rax, rax
je 0x140079494
lea r15d, [r12 + 4]
cmp dword [rsp + 0x30], 1
jne 0x1400793a8
mov dword [rsp + 0x3c], r15d
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x30]
lea edx, [r12 + 0x1f]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetQueryOptionA]
bts dword [rsp + 0x30], 8
mov r9d, r15d
lea r8, [rsp + 0x30]
lea edx, [r12 + 0x1f]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x34]
mov edx, 0x20000005
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x14007948b
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov r13b, 1
cmp eax, 0xa
jge 0x14007948b
mov byte [rbp - 0x20], r12b
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp - 0x1f]
call fcn.14004d2b0
mov dword [rsp + 0x30], r12d
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14007948b
cmp dword [rsp + 0x30], r12d
je 0x14007948b
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], r12
mov byte [rbp - 0x60], r12b
cmp byte [rbp - 0x20], r12b
jne 0x140079446
mov r8, r12
jmp 0x140079457
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r12b
jne 0x14007944e
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.14000303c
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.14000532c
nop
cmp qword [rbp - 0x48], 0x10
jb 0x14007948b
mov rcx, qword [rbp - 0x60]
call fcn.140049668
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400794a3
xor r12d, r12d
mov edi, reloc.WS2_32.dll_ntohs
cmp qword [rsp + 0x78], 0x10
jb 0x1400794ba
mov rcx, qword [rsp + 0x60]
call fcn.140049668
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], r12b
cmp qword [rbp - 0x68], 0x10
jb 0x1400794d9
mov rcx, qword [rbp - 0x80]
call fcn.140049668
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], r12
mov byte [rbp - 0x80], r12b
cmp qword [rbx + 0x18], 0x10
jb 0x1400794f4
mov rcx, qword [rbx]
call fcn.140049668
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x10], r12
mov byte [rbx], r12b
mov al, r13b
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140049680
add rsp, 0x4f0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret