Function at 0x1800036c0
Capabilities:
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
xor ebx, ebx
lea rax, [0x1800107b8]
mov qword [rbp - 0x70], rax
mov r14, r8
xor eax, eax
mov qword [rbp - 0x68], rbx
mov r15, rdx
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x58], rax
xor edx, edx
mov qword [rsp + 0x60], rax
mov r8d, 0x400
mov qword [rsp + 0x68], rax
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov esi, r9d
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov dword [rbp + 0x3c8], ebx
mov dword [rsp + 0x40], ebx
call sub.msvcrt.dll_memset
mov edx, dword [r15 + 4]
lea rcx, [rsp + 0x50]
call fcn.180007320
mov rcx, qword [rsp + 0x60]
lea r8, [0x180010740]
mov r9, rdi
mov edx, 0x400
call fcn.180001a30
lea ecx, [rbx + 0xc]
call fcn.180006080
mov r9d, dword [r15 + 4]
lea r8, [r15 + 8]
mov rcx, rax
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
call fcn.180006a40
mov rcx, qword [rsp + 0x58]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x1800037a0
mov r9, qword [rsp + 0x60]
mov edx, 0x400
test rax, rax
jne 0x1800037c9
lea r8, [0x180010740]
lea rcx, [rbp - 0x60]
call fcn.180001a30
jmp 0x1800037de
mov qword [rsp + 0x20], rcx
lea r8, [0x1800107c0]
lea rcx, [rbp - 0x60]
call fcn.180001a30
mov ecx, 0x1a
call fcn.180006080
mov rcx, qword [0x180017130]
lea r8, [rbp - 0x60]
mov rdx, rax
xor r9d, r9d
mov rax, qword [0x180017140]
mov qword [rsp + 0x38], rax
mov eax, dword [0x180017124]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rcx, rax
mov rdi, rax
call fcn.180003000
mov rdx, qword [rsp + 0x50]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bl
jne 0x180003837
mov eax, dword [rsp + 0x70]
mov rcx, rdi
mov r9, qword [rsp + 0x68]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [r15 + 4]
lea rcx, [rsp + 0x50]
call fcn.180007310
mov rcx, rdi
call fcn.180003660
mov rcx, rdi
test eax, eax
je 0x1800038de
xor r9d, r9d
lea rdx, [rbp + 0x3c8]
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1800038db
mov eax, dword [rbp + 0x3c8]
cmp eax, esi
jae 0x1800038db
test eax, eax
jne 0x1800038a5
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1800038e7
test esi, esi
je 0x1800038db
nop dword [rax]
mov edx, ebx
lea r9, [rsp + 0x40]
add rdx, r14
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180003904
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x180003904
add ebx, eax
cmp ebx, esi
jb 0x1800038b0
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
or eax, 0xffffffff
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp ebx, esi
jae 0x1800038db
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, ntohs
call fcn.180006080
mov rcx, rax
mov r9d, esi
mov r8d, ebx
mov rdx, r14
call fcn.1800073c0
jmp 0x1800038e7