Function at 0x14009d4a8
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 0x14009d6f0
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x14009d6f0
mov r9, qword [rbx + 0x70]
test r9, r9
jne 0x14009d518
lea r9, [rsp + 0x50]
mov r8d, edi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14009d6ff
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 0x14009d5cc
mov r14d, dword [rbx + 0x78]
sub r14d, dword [rbx + 0x6c]
jns 0x14009d530
xor r14d, r14d
jmp 0x14009d539
cmp r14d, edi
ja 0x14009d6c2
mov ebp, dword [rbx + 0x6c]
add rbp, r9
mov r15d, r14d
test r14d, r14d
je 0x14009d568
test rsi, rsi
je 0x14009d743
test rbp, rbp
je 0x14009d591
cmp rdi, r15
jb 0x14009d591
mov r8d, r15d
mov rdx, rbp
mov rcx, rsi
call fcn.1402160f0
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 0x14009d70b
jmp 0x14009d5c0
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.1402167a0
test rbp, rbp
je 0x14009d743
cmp rdi, r15
jae 0x14009d753
call fcn.14021aadc
mov dword [rax], 0x22
jmp 0x14009d74e
mov edi, dword [rsp + 0x50]
add edi, r14d
jmp 0x14009d6e9
mov ecx, dword [rbx + 0x6c]
mov ebp, dword [rbx + 0x78]
lea eax, [rcx + rdi]
cmp eax, ebp
jb 0x14009d6c9
sub ebp, ecx
jns 0x14009d5e5
xor ebp, ebp
jmp 0x14009d5ed
cmp ebp, edi
ja 0x14009d6c2
mov r12d, ebp
lea r14, [r9 + rcx]
test ebp, ebp
je 0x14009d625
test rsi, rsi
jne 0x14009d60d
call fcn.14021aadc
mov dword [rax], 0x16
jmp 0x14009d733
test r14, r14
je 0x14009d646
cmp rdi, r12
jb 0x14009d646
mov r8, r12
mov rdx, r14
mov rcx, rsi
call fcn.1402160f0
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 0x14009d717
jmp 0x14009d660
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.1402167a0
test r14, r14
je 0x14009d5fd
cmp rdi, r12
jmp 0x14009d726
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 0x14009d6a7
test rcx, rcx
je 0x14009d5fd
test r15, r15
je 0x14009d6ae
cmp r14, rdi
jb 0x14009d6ae
mov r8d, edi
mov rdx, r15
call fcn.1402160f0
mov edi, dword [rsp + 0x68]
mov dword [rbx + 0x6c], edi
add edi, ebp
jmp 0x14009d6e9
mov r8, r14
xor edx, edx
call fcn.1402167a0
test r15, r15
jne 0x14009d723
jmp 0x14009d5fd
xor eax, eax
jmp 0x14009d501
lea rdx, [r9 + rcx]
mov r8, rdi
test edi, edi
je 0x14009d6e6
test rsi, rsi
je 0x14009d743
mov rcx, rsi
test rdx, rdx
je 0x14009d73e
call fcn.1402160f0
add dword [rbx + 0x6c], edi
mov eax, edi
jmp 0x14009d501
mov rcx, qword [rbx + 0x40]
mov edx, 6
call fcn.14009cc64
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009cc64
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009cc64
int3
mov rcx, qword [rbx + 0x40]
xor edx, edx
call fcn.14009cc64
int3
cmp r14, rdi
jae 0x14009d738
call fcn.14021aadc
mov dword [rax], 0x22
call fcn.14021a98c
call fcn.140075b9c
int3
call fcn.1402167a0
call fcn.14021aadc
mov dword [rax], 0x16
call fcn.14021a98c
call fcn.140075b9c
int3