Function at 0x1400023b0
Capabilities:
Execute command

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 - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor esi, esi
lea rdx, str.Russian
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
lea rcx, str.taskkill__F__IM_Discord.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], rsi
mov r14d, 0xa
mov r8d, r14d
lea rdx, str.update.zip
lea rcx, [rbp - 0x39]
call fcn.140002fb0
nop
mov r13, qword [rbp - 0x29]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x20
jb 0x1400028df
lea r12, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae r12, qword [rbp - 0x39]
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
lea r15, [r13 + 0x20]
mov ebx, 0xf
lea rdi, [rbp - 0x71]
cmp r15, rbx
jbe 0x1400024f3
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400024ae
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140003f90
test rax, rax
je 0x1400024d6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400024ef
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400024dd
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400028ca
jmp 0x140002493
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400024ec
call fcn.140003f90
mov rdi, rax
jmp 0x1400024ef
mov rdi, rsi
mov qword [rbp - 0x71], rdi
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], rbx
movups xmm0, xmmword [str.powershell_Expand_Archive__Path]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x140006610]
movups xmmword [rdi + 0x10], xmm1
lea rcx, [rdi + 0x20]
mov r8, r13
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0
mov r8d, 0x1a
lea rdx, str.__DestinationPath_.__Force
lea rcx, [rbp - 0x71]
call fcn.140002ab0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x59]
cmp rdx, 0x10
jb 0x1400025a5
inc rdx
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003fcc
movdqa xmm0, xmmword [0x140006790]
movdqu xmmword [rbp - 0x61], xmm0
mov byte [rbp - 0x71], 0
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rcx, qword [rbp - 0x19]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
jne 0x1400027e5
lea rdx, [0x140006628]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002c90
mov rdi, qword [rbp - 0x29]
lea rbx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rbx, qword [rbp - 0x39]
call fcn.140003878
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rdi
lea r8, [rbp - 0x49]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400018c0
nop
lea rcx, [rsp + 0x28]
cmp qword [rbp - 0x79], 8
cmovae rcx, qword [rsp + 0x28]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 7]
call fcn.1400039b4
mov edx, eax
test eax, eax
jne 0x140002687
mov ecx, dword [rbp + 0x17]
test cl, 1
mov eax, 0x1ff
mov r8d, 0x16d
cmovne eax, r8d
mov dword [rbp - 0x45], eax
bt ecx, 0xa
jae 0x140002675
mov eax, dword [rbp + 0x1b]
cmp eax, 0xa000000c
jne 0x14000266e
lea r14d, [rdx + 4]
jmp 0x1400026ac
cmp eax, 0xa0000003
je 0x1400026ac
movzx r14d, cl
and r14d, 0x10
or r14d, 0x20
shr r14d, 4
jmp 0x1400026ac
mov dword [rbp - 0x45], 0xffff
sub eax, 2
je 0x1400026a4
sub eax, 1
je 0x1400026a4
sub eax, 0x32
je 0x1400026a4
cmp eax, 0x46
mov eax, esi
jne 0x1400026a9
mov eax, 1
mov r14d, eax
mov dword [rbp - 0x49], edx
lea rax, [0x140009040]
mov qword [rbp - 0x41], rax
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
test r14d, r14d
je 0x14000270e
cmp r14d, 1
setne bl
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x14000271f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000271a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000271a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor bl, bl
test edx, edx
jne 0x1400028d0
jmp 0x1400026cf
call fcn.140003fcc
test bl, bl
je 0x1400027d6
mov rdi, qword [rbp - 0x29]
lea rbx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rbx, qword [rbp - 0x39]
call fcn.140003878
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rdi
lea r8, [rbp - 0x49]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400018c0
nop
lea rcx, [rsp + 0x28]
cmp qword [rbp - 0x79], 8
cmovae rcx, qword [rsp + 0x28]
call fcn.140003d34
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x1400028b9
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x1400027bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003fcc
test bl, bl
je 0x1400027d6
lea rdx, [0x140006670]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002c90
lea rcx, str.start_Discord.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400027fd
lea rdx, [0x140006648]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002c90
mov esi, 1
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14000283b
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002836
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002836
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003fcc
movdqa xmm0, xmmword [0x140006790]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14000288a
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002885
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002885
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003fcc
mov eax, esi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140003f70
lea r11, [rsp + 0xf0]
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
shr rbx, 0x20
lea r8, [rsp + 0x28]
mov edx, ebx
call fcn.1400022e0
nop
call fcn.140001100
nop
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x49]
call fcn.140002350
nop
call fcn.1400011a0
int3