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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1401567f8]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov r15, rdx
mov rdi, rcx
xor esi, esi
cmp qword [rcx + 0x180], rsi
jne 0x14000a07c
xor al, al
jmp 0x14000a5d7
mov r12d, 1
mov r13d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x14013df30]
movdqu xmmword [rbp + 0xf0], xmm1
mov byte [rbp + 0xe0], sil
mov rax, qword [rcx + 0x48]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14000a267
lea rsi, [rbx + 0x20]
lea r14, [rbx + 0x40]
test r13d, r13d
je 0x14000a0c8
xor r13d, r13d
jmp 0x14000a0de
mov r8, r12
lea rdx, [0x14013b844]
lea rcx, [rbp + 0xe0]
call fcn.140025524
mov rcx, qword [rsi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 2
jb 0x14000a613
mov r9, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000a106
mov r9, qword [rsi]
mov qword [rsp + 0x30], 2
lea rax, [0x14013b6c8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov dl, byte [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14002ce4c
nop
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x14000a140
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.140025524
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], setsockopt
mov byte [rax], sil
lea rdx, [rsp + 0x48]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0xe0]
call fcn.140025524
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000a1df
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a1d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a607
call fcn.1400b7640
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14000a21b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a216
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a60d
call fcn.1400b7640
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], sil
je 0x14000a243
mov rax, qword [rbx + 8]
jmp 0x14000a238
cmp rbx, qword [rax + 0x10]
jne 0x14000a23e
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], sil
je 0x14000a22b
mov rbx, rax
jmp 0x14000a25e
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], sil
jne 0x14000a25e
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], sil
je 0x14000a24f
cmp rbx, qword [rdi + 0x48]
jmp 0x14000a0b0
mov dword [rdi + 0x168], r12d
mov eax, dword [r15 + 0x10]
cmp qword [r15 + 0x18], 0x10
jb 0x14000a27c
mov r15, qword [r15]
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rdx, qword [rbp + 0xe0]
mov dword [rsp + 0x20], eax
mov r9, r15
mov r8d, dword [rbp + 0xf0]
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x14000a2f7
lea rax, [rdi + 0x138]
mov dword [rbp + 0xbc], 4
mov dword [rbp + 0xb8], esi
mov dword [rax], esi
lea rcx, [rbp + 0xb8]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0xbc]
mov r8, rax
mov edx, 0x20000013
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x14000a30b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x140], eax
mov r12b, sil
jmp 0x14000a597
lea r13, [rdi + 0x13c]
mov dword [rbp + 0xc4], 4
mov dword [rbp + 0xc0], esi
mov dword [r13], esi
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc4]
mov r8, r13
mov edx, 0x20000005
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x14000a35e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x140], eax
lea rbx, [rdi + 0x148]
mov r8, rbx
mov rcx, rdi
call fcn.14000a7e4
mov qword [rbp + 0xd8], rsi
cmp qword [rbx + 0x18], 0x10
jb 0x14000a381
mov rbx, qword [rbx]
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
mov r8d, 3
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140024f04
nop
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp + 0xd8]
call fcn.140021e44
nop
lea rax, [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
cmp rcx, rax
je 0x14000a3bf
call fcn.1400ca5d8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], rax
mov ebx, 0x2800
mov edx, ebx
lea rcx, [rbp + 0x100]
call fcn.140021bc0
nop
mov dword [rbp + 0xa8], esi
mov r15d, esi
lea r9, [rbp + 0xa8]
mov r8d, ebx
mov rbx, qword [rbp + 0x100]
mov rdx, rbx
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000a52e
mov edx, dword [rbp + 0xa8]
test edx, edx
je 0x14000a528
lea r14, [rdi + 0x120]
lea eax, [r15 + rdx]
mov esi, eax
mov r12, qword [r14 + 8]
mov r8, qword [r14]
mov rcx, r12
sub rcx, r8
cmp rsi, rcx
jae 0x14000a44a
add rax, r8
jmp 0x14000a485
jbe 0x14000a489
mov rax, qword [r14 + 0x10]
sub rax, r8
cmp rsi, rax
jbe 0x14000a46b
mov rdx, rsi
mov rcx, r14
call fcn.140030320
mov edx, dword [rbp + 0xa8]
jmp 0x14000a489
sub rsi, rcx
mov r8, rsi
xor edx, edx
mov rcx, r12
call fcn.1400ba120
lea rax, [r12 + rsi]
mov edx, dword [rbp + 0xa8]
mov qword [r14 + 8], rax
mov ecx, r15d
add rcx, qword [r14]
mov r8d, edx
mov rdx, rbx
call fcn.1400b9a70
add r15d, dword [rbp + 0xa8]
mov rcx, qword [rdi + 0x1c0]
test rcx, rcx
je 0x14000a503
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0xa0], rax
mov eax, dword [rdi + 0x138]
mov dword [rbp + 0xc8], eax
mov eax, dword [r13]
mov dword [rbp + 0xd0], eax
mov dword [rbp + 0xb0], r15d
mov rax, qword [rcx]
lea rdx, [rbp + 0xa0]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xc8]
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0xb0]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x14000a528
lea r9, [rbp + 0xa8]
mov r8d, 0x2800
mov rdx, rbx
mov rcx, qword [rdi + 0x180]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000a418
mov r12d, 1
mov dword [rdi + 0x168], 4
test rbx, rbx
je 0x14000a575
mov rdx, qword [rbp + 0x110]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000a56c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a619
mov rcx, rbx
call fcn.1400b7640
nop
mov rdx, qword [rbp + 0xd8]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a597
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x14000a5d4
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a5cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a601
call fcn.1400b7640
mov al, r12b
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.1400b7620
mov rbx, qword [rsp + 0x270]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400c9b5c
nop
call fcn.1400c9b5c
nop
call fcn.1400c9b5c
int3
call fcn.140001f84
nop
call fcn.1400c9b5c
int3