Function at 0x140009738
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 [0x1400991b0]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov r14, rdx
mov rdi, rcx
xor esi, esi
cmp qword [rcx + 0x180], rsi
jne 0x14000978a
xor al, al
jmp 0x140009c47
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 0x140009946
lea rsi, [rbx + 0x40]
test ecx, ecx
je 0x1400097d3
and dword [rbp + 0x9c], 0
jmp 0x1400097e9
mov r8, r15
lea rdx, [0x140082e44]
lea rcx, [rbp + 0xd0]
call fcn.1400185b4
lea r8, [0x140081368]
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14001bcd8
nop
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x14000980d
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.1400185b4
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.1400185b4
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400098a6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c77
call fcn.14004b024
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400098e3
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c7d
call fcn.14004b024
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], sil
je 0x14000990b
mov rax, qword [rbx + 8]
jmp 0x140009900
cmp rbx, qword [rax + 0x10]
jne 0x140009906
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], sil
je 0x1400098f3
mov rbx, rax
jmp 0x140009926
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], sil
jne 0x140009926
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], sil
je 0x140009917
mov rax, qword [rdi + 0x48]
mov qword [rsp + 0x58], rax
cmp rbx, rax
je 0x14000993f
mov ecx, dword [rbp + 0x9c]
jmp 0x1400097c2
mov r12, qword [rbp + 0xe8]
mov dword [rdi + 0x168], r15d
mov rax, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x14000995b
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 0x1400099d5
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 0x1400099e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x140], eax
mov r15b, sil
jmp 0x140009c07
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 0x140009a38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x140], eax
lea rbx, [rdi + 0x148]
mov r8, rbx
mov rcx, rdi
call fcn.140009e60
mov qword [rbp + 0xc8], rsi
cmp qword [rbx + 0x18], 0x10
jb 0x140009a5b
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.14001828c
nop
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0xc8]
call fcn.1400152bc
nop
lea rax, [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
cmp rcx, rax
je 0x140009a99
call fcn.140056194
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.140015088
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 0x140009b9e
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x140009b9e
lea rbx, [rdi + 0x120]
lea edx, [r14 + rax]
mov rcx, rbx
call fcn.14001cd08
mov ecx, r14d
add rcx, qword [rbx]
mov r8d, dword [rbp + 0x98]
mov rdx, rsi
call fcn.14004cf20
add r14d, dword [rbp + 0x98]
mov rcx, qword [rdi + 0x1c0]
test rcx, rcx
je 0x140009b93
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 0x140009b9e
mov r8d, 0x2800
jmp 0x140009ad7
mov dword [rdi + 0x168], 4
test rsi, rsi
je 0x140009be5
mov rdx, qword [rbp + 0x100]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x140009bdc
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c83
mov rcx, rsi
call fcn.14004b024
nop
mov rdx, qword [rbp + 0xc8]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009c07
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140009c44
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009c3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c71
call fcn.14004b024
mov al, r15b
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.14004b000
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.140055fe8
nop
call fcn.140055fe8
nop
call fcn.140055fe8
nop
call fcn.140055fe8
int3