Function at 0x140015500
Capabilities:
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov rax, qword [0x14006c030]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rdx
mov r12, rcx
mov qword [rbp - 0x11], rdx
mov rsi, qword [rbp + 0x6f]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xor edi, edi
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], rdi
call fcn.140015370
test al, al
jne 0x1400155a6
mov qword [r14], rdi
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rdi
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140015925
mov rdx, qword [rbp - 0x41]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001559c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015956
call fcn.1400285fc
jmp 0x140015925
lea rbx, [0x140071978]
cmp qword [0x140071990], 8
cmovae rbx, qword [0x140071978]
mov edx, 0x42
lea rcx, [rbp - 0x31]
call fcn.1400140d0
nop
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
add r8, rdx
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x71]
call fcn.1400146d0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140015634
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001562f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001595c
call fcn.1400285fc
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdx, qword [rbp - 0x71]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x4883000
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, str.HTTP_1.0
mov r8, rbx
mov rcx, qword [r12 + 0x10]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r15, rax
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x1400156b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400156ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015962
call fcn.1400285fc
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], di
test r15, r15
je 0x1400158e3
mov dword [rbp - 0x11], 4
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x39]
mov edx, 0x1f
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [rbp - 0x39], 0x100
mov r9d, 4
lea r8, [rbp - 0x39]
lea edx, [r9 + 0x1b]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov edx, 0x48
lea rcx, [rbp - 0x31]
call fcn.1400140d0
nop
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
add r8, rdx
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
lea rcx, [rbp - 9]
call fcn.1400146d0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x14001577c
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015777
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015968
call fcn.1400285fc
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov eax, dword [rbp + 0x77]
mov dword [rsp + 0x20], eax
mov r9, rsi
mov r8d, dword [rbp + 7]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpSendRequestW]
cmp eax, 1
jne 0x14001589f
mov dword [rbp - 0x35], edi
nop dword [rax]
mov r10, qword [rbp - 0x49]
mov rcx, r10
mov r9, qword [rbp - 0x51]
sub rcx, r9
mov esi, ecx
sub esi, edi
test esi, esi
jg 0x140015828
mov esi, 0x4000
lea eax, [rdi + 0x4000]
movsxd r8, eax
cmp r8, rcx
jae 0x1400157f3
lea rax, [r8 + r9]
mov qword [rbp - 0x49], rax
jmp 0x140015828
jbe 0x140015828
mov rax, qword [rbp - 0x41]
sub rax, r9
cmp r8, rax
jbe 0x14001580f
mov rdx, r8
lea rcx, [rbp - 0x51]
call fcn.140015970
jmp 0x140015824
sub r8, rcx
lea rbx, [r10 + r8]
xor edx, edx
mov rcx, r10
call fcn.14002aed0
mov qword [rbp - 0x49], rbx
mov r9, qword [rbp - 0x51]
movsxd rdx, edi
add rdx, r9
lea r9, [rbp - 0x35]
mov r8d, esi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140015850
mov eax, dword [rbp - 0x35]
test eax, eax
je 0x140015850
add edi, eax
jmp 0x1400157c0
movsxd r8, edi
mov r9, qword [rbp - 0x49]
mov rcx, r9
mov rdx, qword [rbp - 0x51]
sub rcx, rdx
cmp r8, rcx
jae 0x14001586c
lea rax, [r8 + rdx]
jmp 0x1400158a3
jbe 0x1400158a7
mov rax, qword [rbp - 0x41]
sub rax, rdx
cmp r8, rax
jbe 0x140015888
mov rdx, r8
lea rcx, [rbp - 0x51]
call fcn.140015970
jmp 0x1400158a7
sub r8, rcx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.14002aed0
mov qword [rbp - 0x49], rbx
jmp 0x1400158a7
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x49], rax
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x1400158e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400158de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015950
call fcn.1400285fc
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [r12], 0
je 0x14001590e
mov rcx, qword [r12 + 0x10]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [r12 + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [r12], 0
mov rax, qword [rbp - 0x51]
mov qword [r14], rax
mov rax, qword [rbp - 0x49]
mov qword [r14 + 8], rax
mov rax, qword [rbp - 0x41]
mov qword [r14 + 0x10], rax
mov rax, r14
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400285b0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14002ef48
nop
call fcn.14002ef48
nop
call fcn.14002ef48
int3
call fcn.14002ef48
int3
call fcn.14002ef48
int3