Function at 0x14005bae0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor r15d, r15d
mov dword [rsp + 0x38], r15d
lea rdx, str.Russian
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
lea rdx, [0x1400660b8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002290
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x140066440]
movdqu xmmword [rbp + 0xc0], xmm1
mov byte [rbp + 0xb0], r15b
lea rdx, str.Accept:_application_vnd.githubjson
xor ecx, ecx
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.Authorization:_Bearer_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
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.X_GitHub_Api_Version:_2022_11_28
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
mov rsi, rax
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rdi, rax
lea edx, [r15 + 0x62]
mov r8d, 0x19000
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, str.https:__api.github.com_repos_Domaman202_SunstrikeColorTrigger_releases_latest
mov edx, 0x2712
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r14d, 1
mov r8d, r14d
lea edx, [r15 + 0x2b]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8, rsi
mov edx, 0x2727
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, str.curl_8.4.0
mov edx, 0x2722
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8d, r14d
lea edx, [r15 + 0x34]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea edx, [r15 + 0x44]
lea r8d, [r15 + 0x32]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea edx, [r15 + 0x54]
lea r8d, [r15 + 4]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8d, r14d
mov edx, 0x89
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8d, r14d
mov edx, 0xd5
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x140002ab0]
mov edx, 0x4e2b
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [rbp + 0xb0]
mov edx, 0x2711
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_perform]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_slist_free_all]
test ebx, ebx
je 0x14005bcc9
lea rdx, [0x140063e58]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002290
mov rcx, rax
lea rdx, [0x140002460]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rbp - 0x18], r15
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0xa0]
call fcn.140003b20
nop
mov byte [rsp + 0x40], 0
xor eax, eax
mov qword [rsp + 0x48], rax
lea rdx, [0x140070a60]
lea rcx, [rsp + 0x40]
call fcn.14000f650
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov r8d, 8
lea rdx, str.tag_name
lea rcx, [rsp + 0x50]
call fcn.140001c00
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xa0]
call fcn.1400046c0
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14005c2f0
movzx ebx, al
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140003140
nop
test bl, bl
je 0x14005bde6
movzx edx, byte [rbp + 0xa0]
lea rcx, [rbp + 0xa8]
call fcn.140003140
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x14005bdba
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bdb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005bf9b
call fcn.14005cddc
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14005cb30
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov r8d, 6
lea rdx, str.assets
lea rcx, [rsp + 0x50]
call fcn.140001c00
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xa0]
call fcn.1400046c0
mov rbx, rax
lea rdi, [rax + 8]
cmp byte [rax], 0
jne 0x14005be51
mov byte [rax], 2
mov ecx, 0x18
call fcn.14005cb50
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rdi], rax
cmp byte [rbx], 2
jne 0x14005bfdb
mov rsi, qword [rdi]
mov rbx, qword [rsi + 8]
mov rcx, qword [rsi]
mov rdx, rbx
sub rdx, rcx
sar rdx, 4
test rdx, rdx
jne 0x14005beac
mov rax, qword [rsi + 0x10]
sub rax, rcx
sar rax, 4
cmp rax, 1
jae 0x14005be8e
mov rcx, rsi
call fcn.14005c790
jmp 0x14005beac
sub r14, rdx
je 0x14005bea8
xor edx, edx
mov rcx, rbx
call fcn.1400052d0
nop
add rbx, 0x10
sub r14, 1
jne 0x14005be93
mov qword [rsi + 8], rbx
mov rax, qword [rdi]
mov rbx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
mov r8d, 0x14
lea rdx, str.browser_download_url
lea rcx, [rbp - 0x70]
call fcn.140001c00
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.1400046c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov dword [rsp + 0x38], 8
cmp byte [rax], 3
jne 0x14005bfa2
mov r8, qword [rax + 8]
lea rax, [rsp + 0x70]
cmp rax, r8
je 0x14005bf38
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14005bf29
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rsp + 0x70]
call fcn.14005c900
nop
lea rcx, [rsp + 0x70]
call fcn.14005c020
nop
movzx edx, byte [rbp + 0xa0]
lea rcx, [rbp + 0xa8]
call fcn.140003140
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x14005bdba
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bdb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005bdb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rax
call fcn.140005240
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rcx, [rbp + 0x60]
call fcn.14005ca60
nop
mov r8, rax
lea rcx, [rbp - 0x10]
call fcn.14000f7a0
lea rdx, [0x14006df48]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rbx
call fcn.140005240
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rcx, [rbp + 0x80]
call fcn.14005c6d0
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp + 0x28]
call fcn.140009e00
lea rdx, [0x14006df48]
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3