Function at 0x1400a1948
Capabilities:
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
cmp dword [rcx + 0x38], 0
mov rsi, rdx
mov edi, r8d
mov rbx, rcx
je 0x1400a1b90
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x1400a1b90
mov r9, qword [rbx + 0x70]
test r9, r9
jne 0x1400a19b8
lea r9, [rsp + 0x50]
mov r8d, edi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400a1b9f
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
cmp edi, dword [rbx + 0x68]
jb 0x1400a1a6c
mov r14d, dword [rbx + 0x78]
sub r14d, dword [rbx + 0x6c]
jns 0x1400a19d0
xor r14d, r14d
jmp 0x1400a19d9
cmp r14d, edi
ja 0x1400a1b62
mov ebp, dword [rbx + 0x6c]
add rbp, r9
mov r15d, r14d
test r14d, r14d
je 0x1400a1a08
test rsi, rsi
je 0x1400a1be3
test rbp, rbp
je 0x1400a1a31
cmp rdi, r15
jb 0x1400a1a31
mov r8d, r15d
mov rdx, rbp
mov rcx, rsi
call fcn.14021a590
mov eax, dword [rbx + 0x68]
lea rdx, [r14 + rsi]
mov rcx, qword [rbx + 0x30]
lea r9, [rsp + 0x50]
sub edi, r14d
mov dword [rbx + 0x6c], eax
mov r8d, edi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400a1bab
jmp 0x1400a1a60
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.14021ac40
test rbp, rbp
je 0x1400a1be3
cmp rdi, r15
jae 0x1400a1bf3
call fcn.14021f174
mov dword [rax], 0x22
jmp 0x1400a1bee
mov edi, dword [rsp + 0x50]
add edi, r14d
jmp 0x1400a1b89
mov ecx, dword [rbx + 0x6c]
mov ebp, dword [rbx + 0x78]
lea eax, [rcx + rdi]
cmp eax, ebp
jb 0x1400a1b69
sub ebp, ecx
jns 0x1400a1a85
xor ebp, ebp
jmp 0x1400a1a8d
cmp ebp, edi
ja 0x1400a1b62
mov r12d, ebp
lea r14, [r9 + rcx]
test ebp, ebp
je 0x1400a1ac5
test rsi, rsi
jne 0x1400a1aad
call fcn.14021f174
mov dword [rax], 0x16
jmp 0x1400a1bd3
test r14, r14
je 0x1400a1ae6
cmp rdi, r12
jb 0x1400a1ae6
mov r8, r12
mov rdx, r14
mov rcx, rsi
call fcn.14021a590
mov r8d, dword [rbx + 0x68]
lea r9, [rsp + 0x68]
mov rdx, qword [rbx + 0x70]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400a1bb7
jmp 0x1400a1b00
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.14021ac40
test r14, r14
je 0x1400a1a9d
cmp rdi, r12
jmp 0x1400a1bc6
mov ecx, dword [rsp + 0x68]
sub edi, ebp
mov r15, qword [rbx + 0x70]
cmp edi, ecx
mov eax, edi
mov r14d, edi
cmovae eax, ecx
mov dword [rbx + 0x78], ecx
mov edi, eax
lea rcx, [rsi + rbp]
mov dword [rsp + 0x68], edi
test eax, eax
je 0x1400a1b47
test rcx, rcx
je 0x1400a1a9d
test r15, r15
je 0x1400a1b4e
cmp r14, rdi
jb 0x1400a1b4e
mov r8d, edi
mov rdx, r15
call fcn.14021a590
mov edi, dword [rsp + 0x68]
mov dword [rbx + 0x6c], edi
add edi, ebp
jmp 0x1400a1b89
mov r8, r14
xor edx, edx
call fcn.14021ac40
test r15, r15
jne 0x1400a1bc3
jmp 0x1400a1a9d
xor eax, eax
jmp 0x1400a19a1
lea rdx, [r9 + rcx]
mov r8, rdi
test edi, edi
je 0x1400a1b86
test rsi, rsi
je 0x1400a1be3
mov rcx, rsi
test rdx, rdx
je 0x1400a1bde
call fcn.14021a590
add dword [rbx + 0x6c], edi
mov eax, edi
jmp 0x1400a19a1
mov rcx, qword [rbx + 0x40]
mov edx, 6
call fcn.1400a1104
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.1400a1104
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.1400a1104
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.1400a1104
int3
cmp r14, rdi
jae 0x1400a1bd8
call fcn.14021f174
mov dword [rax], 0x22
call fcn.14021f008
call fcn.14007a03c
int3
call fcn.14021ac40
call fcn.14021f174
mov dword [rax], 0x16
call fcn.14021f008
call fcn.14007a03c
int3