Function at 0x14009d2f8
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 0x14009d540
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x14009d540
mov r9, qword [rbx + 0x70]
test r9, r9
jne 0x14009d368
lea r9, [rsp + 0x50]
mov r8d, edi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14009d54f
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 0x14009d41c
mov r14d, dword [rbx + 0x78]
sub r14d, dword [rbx + 0x6c]
jns 0x14009d380
xor r14d, r14d
jmp 0x14009d389
cmp r14d, edi
ja 0x14009d512
mov ebp, dword [rbx + 0x6c]
add rbp, r9
mov r15d, r14d
test r14d, r14d
je 0x14009d3b8
test rsi, rsi
je 0x14009d593
test rbp, rbp
je 0x14009d3e1
cmp rdi, r15
jb 0x14009d3e1
mov r8d, r15d
mov rdx, rbp
mov rcx, rsi
call fcn.140215f40
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 0x14009d55b
jmp 0x14009d410
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.1402165f0
test rbp, rbp
je 0x14009d593
cmp rdi, r15
jae 0x14009d5a3
call fcn.14021a92c
mov dword [rax], 0x22
jmp 0x14009d59e
mov edi, dword [rsp + 0x50]
add edi, r14d
jmp 0x14009d539
mov ecx, dword [rbx + 0x6c]
mov ebp, dword [rbx + 0x78]
lea eax, [rcx + rdi]
cmp eax, ebp
jb 0x14009d519
sub ebp, ecx
jns 0x14009d435
xor ebp, ebp
jmp 0x14009d43d
cmp ebp, edi
ja 0x14009d512
mov r12d, ebp
lea r14, [r9 + rcx]
test ebp, ebp
je 0x14009d475
test rsi, rsi
jne 0x14009d45d
call fcn.14021a92c
mov dword [rax], 0x16
jmp 0x14009d583
test r14, r14
je 0x14009d496
cmp rdi, r12
jb 0x14009d496
mov r8, r12
mov rdx, r14
mov rcx, rsi
call fcn.140215f40
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 0x14009d567
jmp 0x14009d4b0
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.1402165f0
test r14, r14
je 0x14009d44d
cmp rdi, r12
jmp 0x14009d576
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 0x14009d4f7
test rcx, rcx
je 0x14009d44d
test r15, r15
je 0x14009d4fe
cmp r14, rdi
jb 0x14009d4fe
mov r8d, edi
mov rdx, r15
call fcn.140215f40
mov edi, dword [rsp + 0x68]
mov dword [rbx + 0x6c], edi
add edi, ebp
jmp 0x14009d539
mov r8, r14
xor edx, edx
call fcn.1402165f0
test r15, r15
jne 0x14009d573
jmp 0x14009d44d
xor eax, eax
jmp 0x14009d351
lea rdx, [r9 + rcx]
mov r8, rdi
test edi, edi
je 0x14009d536
test rsi, rsi
je 0x14009d593
mov rcx, rsi
test rdx, rdx
je 0x14009d58e
call fcn.140215f40
add dword [rbx + 0x6c], edi
mov eax, edi
jmp 0x14009d351
mov rcx, qword [rbx + 0x40]
mov edx, 6
call fcn.14009cab4
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009cab4
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009cab4
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009cab4
int3
cmp r14, rdi
jae 0x14009d588
call fcn.14021a92c
mov dword [rax], 0x22
call fcn.14021a7dc
call fcn.1400759ec
int3
call fcn.1402165f0
call fcn.14021a92c
mov dword [rax], 0x16
call fcn.14021a7dc
call fcn.1400759ec
int3