Function at 0x140021e60
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x1402cb8a0]
xor rax, rsp
mov qword [rbp + 0x490], rax
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea r8d, [rbx + 0x41]
lea rdx, str.https:__api.github.com_repos_BennyExtreme_KBotExt_releases_latest
lea rcx, [rsp + 0x58]
call fcn.140004970
nop
lea rax, vtable.cpr::StringHolder_class_cpr::Url_.0
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x14029fbb0]
movdqu xmmword [rsp + 0x48], xmm1
mov byte [rsp + 0x38], bl
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.140008d60
mov r9, rax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14004f040
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140008ca0
lea rcx, [rsp + 0x78]
call fcn.140009150
nop
lea rax, vtable.cpr::Url.0
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0x2e8
lea rcx, [rbp + 0x1a0]
call fcn.1401c6ed0
lea rcx, [rbp + 0x1a0]
call fcn.1400a79a0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.1400a8e70
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1a0]
call fcn.1400a83f0
nop
lea rcx, [rbp + 0x1a0]
call fcn.14001f8a0
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp + 0x108], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbp + 0x118], xmm1
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], bl
lea rcx, [rbp - 0x40]
call fcn.140024a90
nop
lea rcx, [rsp + 0x38]
call fcn.140009150
nop
lea r9, [fcn.140008c90]
lea edx, [rbx + 0x20]
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x58]
call fcn.1401c483c
lea rcx, [rbp + 0x108]
cmp qword [rbp + 0x120], 0x10
cmovae rcx, qword [rbp + 0x108]
mov qword [rsp + 0x20], select
lea r9, str.API_rate_limit
xor r8d, r8d
mov rdx, qword [rbp + 0x118]
call fcn.14004fcb0
cmp rax, 0xffffffffffffffff
jne 0x140022291
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
lea rcx, [rbp + 0x170]
call fcn.14011f700
nop
lea rcx, [rbp + 0x170]
call fcn.140124be0
mov r14, rax
mov qword [rbp + 0x100], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x14029fbb0]
movdqu xmmword [rbp + 0x160], xmm1
mov byte [rbp + 0x150], bl
xor eax, eax
movups xmmword [rbp + 0x128], xmm0
movups xmmword [rbp + 0x138], xmm0
mov qword [rbp + 0x148], rax
xor edx, edx
lea rcx, [rbp + 0x128]
call fcn.14012a8a0
nop
mov rax, qword [r14]
mov r10, qword [rax + 8]
lea rax, [rbp + 0x108]
cmp qword [rbp + 0x120], 0x10
cmovae rax, qword [rbp + 0x108]
movsxd r8, dword [rbp + 0x118]
add r8, rax
lea rdx, [rbp + 0x108]
cmp qword [rbp + 0x120], 0x10
cmovae rdx, qword [rbp + 0x108]
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x128]
mov rcx, r14
call r10
test al, al
je 0x140022257
lea rdx, str.tag_name
lea rcx, [rbp + 0x128]
call fcn.14012b1d0
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14012c840
mov rdx, rax
lea r13, [0x1402cda08]
mov rcx, r13
call fcn.140008ca0
lea rcx, [rsp + 0x78]
call fcn.140009150
lea rdx, str.1.4.9
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [str.1.4.9]
mov rcx, r13
mov r15, qword [0x1402cda08]
mov r12, qword [reloc.WS2_32.dll_ntohs]
cmp r12, 0x10
cmovae rcx, r15
mov rsi, qword [0x1402cda18]
cmp rsi, qword [reloc.WS2_32.dll_getpeername]
jne 0x14002217e
mov r8, rsi
call fcn.1401c6730
test eax, eax
je 0x140022257
mov rdi, qword [0x1402d1e60]
mov rbx, qword [0x1402d1e58]
cmp rbx, rdi
je 0x1400221cd
mov rdx, r13
cmp r12, 0x10
cmovae rdx, r15
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400221ad
mov rcx, qword [rbx]
cmp r8, rsi
jne 0x1400221bb
call fcn.1401c6730
test eax, eax
je 0x1400221c4
add rbx, 0x20
cmp rbx, rdi
jne 0x140022191
cmp rbx, rdi
jne 0x140022257
mov r9d, 0x10003
lea r8, str.New_update_available
lea rdx, str.Open_download_website__nCancel_to_ignore_this_version_forever
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x140022215
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.https:__github.com_BennyExtreme_KBotExt_releases_latest
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x140022257
cmp eax, 2
jne 0x140022257
mov rax, qword [0x1402d1e60]
cmp rax, qword [0x1402d1e68]
je 0x14002223f
mov rdx, r13
mov rcx, rax
call fcn.140008d60
add qword [0x1402d1e60], 0x20
jmp 0x140022251
mov r8, r13
mov rdx, rax
lea rcx, [0x1402d1e58]
call fcn.140051220
call fcn.14001fd50
nop
lea rcx, [rbp + 0x128]
call fcn.14012ac30
nop
lea rcx, [rbp + 0x150]
call fcn.140009150
nop
test r14, r14
je 0x140022284
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
nop
lea rcx, [rbp + 0x170]
call fcn.14011f830
nop
lea rcx, [rbp + 0x108]
call fcn.140009150
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.1401c4270
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret