Function at 0x1400011c0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x518]
sub rsp, 0x5f0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rbp + 0x4c0], rax
mov r14, rcx
mov qword [rsp + 0x78], rcx
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea r8d, [r13 + 0x3f]
lea rdx, str.https:__raw.githubusercontent.com_blizexx_Horizon_main_Download
lea rcx, [rbp - 0x80]
call fcn.140002da0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x14005ba00]
movdqu xmmword [rbp - 0x50], xmm1
mov byte [rbp - 0x60], r13b
lea rdx, str.Connecting_to_API..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002a40
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.User_Agent
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
test rax, rax
je 0x140001584
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rsi, rax
test rax, rax
je 0x14000157b
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], r13b
lea r9, [rsp + 0x78]
mov r8d, 0x400
lea rdx, [rbp + 0xc0]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001392
nop word [rax + rax]
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x140001392
mov edi, eax
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140001356
lea rax, [rcx + rdi]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8d, edi
lea rdx, [rbp + 0xc0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14000136f
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0xc0]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140002c10
lea r9, [rsp + 0x78]
mov r8d, 0x400
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001300
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rbx, [rsp + 0x58]
mov rdi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x70]
cmp r15, 0xf
cmova rbx, rdi
mov r12, 0xffffffffffffffff
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x140001426
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x14004e794]
lea rdx, [0x14004e796]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x40], 1
inc rcx
cmp rcx, rdx
jne 0x1400013f0
lea rdx, [rsi + rbx]
mov rcx, rbx
cmp rbx, rdx
jae 0x140001426
nop dword [rax]
movzx eax, byte [rcx]
cmp byte [rbp + rax - 0x40], 0
je 0x140001537
inc rcx
cmp rcx, rdx
jb 0x140001410
mov rcx, r12
cmp rcx, r12
je 0x14000153f
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
cmp rsi, rcx
jb 0x140001647
sub rsi, rcx
cmp rsi, r12
cmovb r12, rsi
lea rdx, [rsp + 0x58]
cmp r15, 0xf
cmova rdx, rdi
add rdx, rcx
mov r8, r12
lea rcx, [rsp + 0x38]
call fcn.140002da0
movups xmm7, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x60], xmm7
movups xmm6, xmmword [rsp + 0x48]
movdqu xmmword [rbp - 0x50], xmm6
lea rdx, str.Fetched_download_from_API:_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002a40
movups xmmword [r14], xmm7
movups xmmword [r14 + 0x10], xmm6
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400014df
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000156a
call fcn.14004bff4
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14000160a
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001605
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001605
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rcx, rbx
jmp 0x140001429
cmp r15, 0xf
jbe 0x140001597
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001571
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001571
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14004bff4
jmp 0x140001597
lea rdx, str.Unable_to_access_API__Please_contact_support._n
jmp 0x14000158b
lea rdx, str.No_internet_access.._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002a40
lea rdx, str.Unable_to_access_API__Please_contact_support.._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002a40
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
xor r8d, r8d
lea rdx, [0x14004e728]
mov rcx, r14
call fcn.140002da0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14000160a
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001605
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001605
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bff4
mov rax, r14
mov rcx, qword [rbp + 0x4c0]
xor rcx, rsp
call fcn.14004bf90
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140002a20
nop
int3