Function at 0x14009d358
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 0x14009d5a0
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x14009d5a0
mov r9, qword [rbx + 0x70]
test r9, r9
jne 0x14009d3c8
lea r9, [rsp + 0x50]
mov r8d, edi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14009d5af
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 0x14009d47c
mov r14d, dword [rbx + 0x78]
sub r14d, dword [rbx + 0x6c]
jns 0x14009d3e0
xor r14d, r14d
jmp 0x14009d3e9
cmp r14d, edi
ja 0x14009d572
mov ebp, dword [rbx + 0x6c]
add rbp, r9
mov r15d, r14d
test r14d, r14d
je 0x14009d418
test rsi, rsi
je 0x14009d5f3
test rbp, rbp
je 0x14009d441
cmp rdi, r15
jb 0x14009d441
mov r8d, r15d
mov rdx, rbp
mov rcx, rsi
call fcn.140215fa0
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 0x14009d5bb
jmp 0x14009d470
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.140216650
test rbp, rbp
je 0x14009d5f3
cmp rdi, r15
jae 0x14009d603
call fcn.14021a98c
mov dword [rax], 0x22
jmp 0x14009d5fe
mov edi, dword [rsp + 0x50]
add edi, r14d
jmp 0x14009d599
mov ecx, dword [rbx + 0x6c]
mov ebp, dword [rbx + 0x78]
lea eax, [rcx + rdi]
cmp eax, ebp
jb 0x14009d579
sub ebp, ecx
jns 0x14009d495
xor ebp, ebp
jmp 0x14009d49d
cmp ebp, edi
ja 0x14009d572
mov r12d, ebp
lea r14, [r9 + rcx]
test ebp, ebp
je 0x14009d4d5
test rsi, rsi
jne 0x14009d4bd
call fcn.14021a98c
mov dword [rax], 0x16
jmp 0x14009d5e3
test r14, r14
je 0x14009d4f6
cmp rdi, r12
jb 0x14009d4f6
mov r8, r12
mov rdx, r14
mov rcx, rsi
call fcn.140215fa0
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 0x14009d5c7
jmp 0x14009d510
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.140216650
test r14, r14
je 0x14009d4ad
cmp rdi, r12
jmp 0x14009d5d6
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 0x14009d557
test rcx, rcx
je 0x14009d4ad
test r15, r15
je 0x14009d55e
cmp r14, rdi
jb 0x14009d55e
mov r8d, edi
mov rdx, r15
call fcn.140215fa0
mov edi, dword [rsp + 0x68]
mov dword [rbx + 0x6c], edi
add edi, ebp
jmp 0x14009d599
mov r8, r14
xor edx, edx
call fcn.140216650
test r15, r15
jne 0x14009d5d3
jmp 0x14009d4ad
xor eax, eax
jmp 0x14009d3b1
lea rdx, [r9 + rcx]
mov r8, rdi
test edi, edi
je 0x14009d596
test rsi, rsi
je 0x14009d5f3
mov rcx, rsi
test rdx, rdx
je 0x14009d5ee
call fcn.140215fa0
add dword [rbx + 0x6c], edi
mov eax, edi
jmp 0x14009d3b1
mov rcx, qword [rbx + 0x40]
mov edx, 6
call fcn.14009cb14
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009cb14
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009cb14
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009cb14
int3
cmp r14, rdi
jae 0x14009d5e8
call fcn.14021a98c
mov dword [rax], 0x22
call fcn.14021a83c
call fcn.140075a4c
int3
call fcn.140216650
call fcn.14021a98c
mov dword [rax], 0x16
call fcn.14021a83c
call fcn.140075a4c
int3