Function at 0x140009728
Capabilities:
Get http content length
Read data from internet
Receive data

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x210
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400971b0]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov r14, rdx
mov rdi, rcx
xor esi, esi
cmp qword [rcx + 0x180], rsi
jne 0x14000977a
xor al, al
jmp 0x140009c37
mov r15d, 1
mov ecx, r15d
mov dword [rbp + 0x9c], ecx
mov qword [rbp + 0xe0], rsi
lea r12d, [r15 + 0xe]
mov qword [rbp + 0xe8], r12
mov byte [rbp + 0xd0], sil
mov rax, qword [rdi + 0x48]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140009936
lea rsi, [rbx + 0x40]
test ecx, ecx
je 0x1400097c3
and dword [rbp + 0x9c], 0
jmp 0x1400097d9
mov r8, r15
lea rdx, [0x140081e44]
lea rcx, [rbp + 0xd0]
call fcn.140017de0
lea r8, [0x140080368]
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14001b504
nop
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x1400097fd
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140017de0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r12
mov byte [rax], sil
lea rdx, [rsp + 0x30]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0xd0]
call fcn.140017de0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140009896
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009890
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c67
call fcn.14004a774
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400098d3
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c6d
call fcn.14004a774
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], sil
je 0x1400098fb
mov rax, qword [rbx + 8]
jmp 0x1400098f0
cmp rbx, qword [rax + 0x10]
jne 0x1400098f6
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], sil
je 0x1400098e3
mov rbx, rax
jmp 0x140009916
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], sil
jne 0x140009916
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], sil
je 0x140009907
mov rax, qword [rdi + 0x48]
mov qword [rsp + 0x58], rax
cmp rbx, rax
je 0x14000992f
mov ecx, dword [rbp + 0x9c]
jmp 0x1400097b2
mov r12, qword [rbp + 0xe8]
mov dword [rdi + 0x168], r15d
mov rax, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x14000994b
mov r14, qword [r14]
lea rdx, [rbp + 0xd0]
cmp r12, 0x10
cmovae rdx, qword [rbp + 0xd0]
mov dword [rsp + 0x20], eax
mov r9, r14
mov r8d, dword [rbp + 0xe0]
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x1400099c5
lea r12, [rdi + 0x138]
mov ebx, 4
mov dword [rbp + 0xa0], ebx
mov dword [rbp + 0x9c], esi
mov dword [r12], esi
lea rax, [rbp + 0x9c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xa0]
mov r8, r12
mov edx, 0x20000013
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x1400099d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x140], eax
mov r15b, sil
jmp 0x140009bf7
lea r13, [rdi + 0x13c]
mov dword [rbp + 0xa8], ebx
mov dword [rbp + 0xa4], esi
mov dword [r13], esi
lea rax, [rbp + 0xa4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xa8]
mov r8, r13
mov edx, 0x20000005
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x140009a28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x140], eax
lea rbx, [rdi + 0x148]
mov r8, rbx
mov rcx, rdi
call fcn.140009e50
mov qword [rbp + 0xc8], rsi
cmp qword [rbx + 0x18], 0x10
jb 0x140009a4b
mov rbx, qword [rbx]
lea rax, [rbp - 0x78]
mov qword [rbp - 0x80], rax
mov r8d, 3
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140017ab8
nop
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0xc8]
call fcn.140014a8c
nop
lea rax, [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
cmp rcx, rax
je 0x140009a89
call fcn.1400558e4
xor eax, eax
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], rax
mov ebx, 0x2800
mov edx, ebx
lea rcx, [rbp + 0xf0]
call fcn.140014858
nop
mov dword [rbp + 0x98], esi
mov r14d, esi
mov r8d, ebx
mov rsi, qword [rbp + 0xf0]
lea r9, [rbp + 0x98]
mov rdx, rsi
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140009b8e
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x140009b8e
lea rbx, [rdi + 0x120]
lea edx, [r14 + rax]
mov rcx, rbx
call fcn.14001c460
mov ecx, r14d
add rcx, qword [rbx]
mov r8d, dword [rbp + 0x98]
mov rdx, rsi
call fcn.14004c670
add r14d, dword [rbp + 0x98]
mov rcx, qword [rdi + 0x1c0]
test rcx, rcx
je 0x140009b83
mov eax, dword [r12]
mov dword [rbp + 0xb0], eax
mov eax, dword [r13]
mov dword [rbp + 0xb8], eax
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x90], rax
mov dword [rbp + 0xc0], r14d
mov rax, qword [rcx]
lea rdx, [rbp + 0x90]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xb0]
lea r8, [rbp + 0xb8]
lea rdx, [rbp + 0xc0]
call qword [rax + 0x10]
test al, al
je 0x140009b8e
mov r8d, 0x2800
jmp 0x140009ac7
mov dword [rdi + 0x168], 4
test rsi, rsi
je 0x140009bd5
mov rdx, qword [rbp + 0x100]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x140009bcc
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c73
mov rcx, rsi
call fcn.14004a774
nop
mov rdx, qword [rbp + 0xc8]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009bf7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140009c34
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009c2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c61
call fcn.14004a774
mov al, r15b
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.14004a750
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140055738
nop
call fcn.140055738
nop
call fcn.140055738
nop
call fcn.140055738
int3