Function at 0x140015460
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 [0x140063030]
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.1400152d0
test al, al
jne 0x140015506
mov qword [r14], rdi
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rdi
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140015885
mov rdx, qword [rbp - 0x41]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400154fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400158b6
call fcn.14002453c
jmp 0x140015885
lea rbx, [0x1400688a8]
cmp qword [0x1400688c0], 8
cmovae rbx, qword [0x1400688a8]
mov edx, 0x3d
lea rcx, [rbp - 0x31]
call fcn.1400140c0
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.1400146e0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140015594
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001558f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400158bc
call fcn.14002453c
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 0x140015611
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001560c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400158c2
call fcn.14002453c
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], di
test r15, r15
je 0x140015843
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, 0x43
lea rcx, [rbp - 0x31]
call fcn.1400140c0
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.1400146e0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1400156dc
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400156d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400158c8
call fcn.14002453c
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 0x1400157ff
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 0x140015788
mov esi, 0x4000
lea eax, [rdi + 0x4000]
movsxd r8, eax
cmp r8, rcx
jae 0x140015753
lea rax, [r8 + r9]
mov qword [rbp - 0x49], rax
jmp 0x140015788
jbe 0x140015788
mov rax, qword [rbp - 0x41]
sub rax, r9
cmp r8, rax
jbe 0x14001576f
mov rdx, r8
lea rcx, [rbp - 0x51]
call fcn.1400158d0
jmp 0x140015784
sub r8, rcx
lea rbx, [r10 + r8]
xor edx, edx
mov rcx, r10
call fcn.140026e20
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 0x1400157b0
mov eax, dword [rbp - 0x35]
test eax, eax
je 0x1400157b0
add edi, eax
jmp 0x140015720
movsxd r8, edi
mov r9, qword [rbp - 0x49]
mov rcx, r9
mov rdx, qword [rbp - 0x51]
sub rcx, rdx
cmp r8, rcx
jae 0x1400157cc
lea rax, [r8 + rdx]
jmp 0x140015803
jbe 0x140015807
mov rax, qword [rbp - 0x41]
sub rax, rdx
cmp r8, rax
jbe 0x1400157e8
mov rdx, r8
lea rcx, [rbp - 0x51]
call fcn.1400158d0
jmp 0x140015807
sub r8, rcx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.140026e20
mov qword [rbp - 0x49], rbx
jmp 0x140015807
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x49], rax
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140015843
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001583e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400158b0
call fcn.14002453c
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [r12], 0
je 0x14001586e
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.1400244f0
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.14002ae98
nop
call fcn.14002ae98
nop
call fcn.14002ae98
int3
call fcn.14002ae98
int3
call fcn.14002ae98
int3