Function at 0x14009cef8
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 0x14009d140
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x14009d140
mov r9, qword [rbx + 0x70]
test r9, r9
jne 0x14009cf68
lea r9, [rsp + 0x50]
mov r8d, edi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14009d14f
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 0x14009d01c
mov r14d, dword [rbx + 0x78]
sub r14d, dword [rbx + 0x6c]
jns 0x14009cf80
xor r14d, r14d
jmp 0x14009cf89
cmp r14d, edi
ja 0x14009d112
mov ebp, dword [rbx + 0x6c]
add rbp, r9
mov r15d, r14d
test r14d, r14d
je 0x14009cfb8
test rsi, rsi
je 0x14009d193
test rbp, rbp
je 0x14009cfe1
cmp rdi, r15
jb 0x14009cfe1
mov r8d, r15d
mov rdx, rbp
mov rcx, rsi
call fcn.140215b40
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 0x14009d15b
jmp 0x14009d010
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.1402161f0
test rbp, rbp
je 0x14009d193
cmp rdi, r15
jae 0x14009d1a3
call fcn.14021a52c
mov dword [rax], 0x22
jmp 0x14009d19e
mov edi, dword [rsp + 0x50]
add edi, r14d
jmp 0x14009d139
mov ecx, dword [rbx + 0x6c]
mov ebp, dword [rbx + 0x78]
lea eax, [rcx + rdi]
cmp eax, ebp
jb 0x14009d119
sub ebp, ecx
jns 0x14009d035
xor ebp, ebp
jmp 0x14009d03d
cmp ebp, edi
ja 0x14009d112
mov r12d, ebp
lea r14, [r9 + rcx]
test ebp, ebp
je 0x14009d075
test rsi, rsi
jne 0x14009d05d
call fcn.14021a52c
mov dword [rax], 0x16
jmp 0x14009d183
test r14, r14
je 0x14009d096
cmp rdi, r12
jb 0x14009d096
mov r8, r12
mov rdx, r14
mov rcx, rsi
call fcn.140215b40
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 0x14009d167
jmp 0x14009d0b0
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.1402161f0
test r14, r14
je 0x14009d04d
cmp rdi, r12
jmp 0x14009d176
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 0x14009d0f7
test rcx, rcx
je 0x14009d04d
test r15, r15
je 0x14009d0fe
cmp r14, rdi
jb 0x14009d0fe
mov r8d, edi
mov rdx, r15
call fcn.140215b40
mov edi, dword [rsp + 0x68]
mov dword [rbx + 0x6c], edi
add edi, ebp
jmp 0x14009d139
mov r8, r14
xor edx, edx
call fcn.1402161f0
test r15, r15
jne 0x14009d173
jmp 0x14009d04d
xor eax, eax
jmp 0x14009cf51
lea rdx, [r9 + rcx]
mov r8, rdi
test edi, edi
je 0x14009d136
test rsi, rsi
je 0x14009d193
mov rcx, rsi
test rdx, rdx
je 0x14009d18e
call fcn.140215b40
add dword [rbx + 0x6c], edi
mov eax, edi
jmp 0x14009cf51
mov rcx, qword [rbx + 0x40]
mov edx, 6
call fcn.14009c6b4
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009c6b4
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009c6b4
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009c6b4
int3
cmp r14, rdi
jae 0x14009d188
call fcn.14021a52c
mov dword [rax], 0x22
call fcn.14021a3dc
call fcn.1400755ec
int3
call fcn.1402161f0
call fcn.14021a52c
mov dword [rax], 0x16
call fcn.14021a3dc
call fcn.1400755ec
int3