Function at 0x140058aa0
Capabilities:
Encode data using xor
Enumerate gui resources
Execute command
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x260
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
mov esi, r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], rax
mov r14d, 0xe58d
mov word [rsp + 0x50], r14w
mov eax, 0xe581
mov word [rsp + 0x52], ax
mov eax, 0xe585
mov word [rsp + 0x54], ax
mov eax, 0xe5c4
mov word [rsp + 0x56], ax
mov edi, 0xe58c
mov word [rsp + 0x58], di
mov eax, 0xe596
mov word [rsp + 0x5a], ax
mov word [rsp + 0x5c], di
mov eax, 0xe5e1
mov word [rsp + 0x5e], ax
movzx eax, word [rsp + 0x50]
mov r9d, r15d
mov ebx, 0x1a1f
mov r12d, 0xf
movabs r13, 0x84b034a79e8ce5e1
nop dword [rax + rax]
movzx r8d, word [rsp + r9*2 + 0x50]
mov rcx, r9
and ecx, r12d
cmp rcx, r12
cmovae rcx, r12
shl cl, 2
mov rdx, r13
shr rdx, cl
and dx, r12w
movzx eax, r9w
sub ax, bx
xor dx, ax
xor dx, r8w
mov word [rsp + r9*2 + 0x50], dx
inc r9
cmp r9, 8
jb 0x140058b60
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.14005f1f0
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.140059280
nop
mov rdx, qword [rbp + 0x78]
mov rax, qword [rbp + 0x80]
cmp rdx, rax
je 0x140058c37
mov r14d, r15d
sub rax, rdx
sar rax, 2
test rax, rax
je 0x140058c31
mov rdi, r15
nop word [rax + rax]
mov r8d, dword [rdx + rdi]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14d
lea rdi, [rdi + 4]
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x78]
sub rcx, rdx
sar rcx, 2
movsxd rax, r14d
cmp rax, rcx
jb 0x140058be0
mov ebx, 0x1a1f
mov edi, 0xe58c
mov r14d, 0xe58d
mov byte [rsp + 0x40], 3
mov byte [rsp + 0x41], 5
mov byte [rsp + 0x42], 0x11
mov byte [rsp + 0x43], 0xf
mov byte [rsp + 0x44], 0
mov byte [rsp + 0x45], 0x5d
mov byte [rsp + 0x46], 0x1e
mov byte [rsp + 0x47], 0x17
mov byte [rsp + 0x48], 0x10
mov byte [rsp + 0x49], 0x74
movzx eax, byte [rsp + 0x40]
mov r9, r15
movabs r11, 0x6b24ae687d5775
mov r10, r11
lea rax, [rsp + 0x40]
sub r10, rax
nop word [rax + rax]
lea rdx, [rsp + 0x40]
add rdx, r9
movsx r8, byte [rdx]
mov rcx, r9
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r12
shl cl, 2
mov rax, r11
shr rax, cl
and al, 0xf
add dl, r10b
xor al, dl
xor al, r8b
mov byte [rsp + r9 + 0x40], al
inc r9
cmp r9, 0xa
jb 0x140058c90
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
mov word [rsp + 0x60], r14w
mov eax, 0xe581
mov word [rsp + 0x62], ax
mov eax, 0xe585
mov word [rsp + 0x64], ax
mov eax, 0xe5c4
mov word [rsp + 0x66], ax
mov word [rsp + 0x68], di
mov eax, 0xe596
mov word [rsp + 0x6a], ax
mov word [rsp + 0x6c], di
mov eax, 0xe5e1
mov word [rsp + 0x6e], ax
movzx eax, word [rsp + 0x60]
mov r9, r15
nop dword [rax]
movzx r8d, word [rsp + r9*2 + 0x60]
mov rcx, r9
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r12
shl cl, 2
mov rdx, r13
shr rdx, cl
and dx, 0xf
movzx eax, r9w
sub ax, bx
xor dx, ax
xor dx, r8w
mov word [rsp + r9*2 + 0x60], dx
inc r9
cmp r9, 8
jb 0x140058d30
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.14005f1f0
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140059280
nop
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x68]
cmp rcx, rax
je 0x1400590a0
sub rax, rcx
sar rax, 2
cmp rax, 1
ja 0x1400590a0
mov dword [rbp + 0xb0], r15d
lea rdx, [0x140063afe]
lea rcx, [rbp + 0xb8]
call fcn.140046a20
nop
lea rdx, [0x140063afe]
lea rcx, [rbp + 0xd8]
call fcn.140046a20
mov qword [rbp + 0xf8], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x118], 0x10000000
mov qword [rbp + 0x128], r15
movdqa xmmword [rbp + 0x130], xmm0
mov rax, qword [rbp + 0x60]
mov r14d, dword [rax]
mov dword [rbp + 0xb0], r14d
mov byte [rbp + 0x120], 1
xorps xmm6, xmm6
movdqu xmmword [rbp + 0x90], xmm6
mov rdi, r15
mov qword [rbp + 0xa0], r15
mov ebx, r15d
nop dword [rax]
test rsi, rsi
je 0x140058e4e
cmp ebx, 0x32
jle 0x140058fb0
mov ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x70], r14d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp - 0x68]
call fcn.14005f340
nop
lea rdx, [rbp + 0xd8]
lea rcx, [rbp - 0x48]
call fcn.14005f340
nop
movups xmm0, xmmword [rbp + 0xf8]
movups xmmword [rbp - 0x28], xmm0
mov rax, qword [rbp + 0x108]
mov qword [rbp - 0x18], rax
movss xmm0, dword [rbp + 0x110]
movss dword [rbp - 0x10], xmm0
movss xmm1, dword [rbp + 0x114]
movss dword [rbp - 0xc], xmm1
mov eax, dword [rbp + 0x118]
mov dword [rbp - 8], eax
mov eax, dword [rbp + 0x11c]
mov dword [rbp - 4], eax
movzx eax, byte [rbp + 0x120]
mov byte [rbp], al
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 8]
call fcn.14005ea00
nop
lea rax, [rbp - 0x70]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x70]
lea rcx, [0x140059490]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x78]
call fcn.14005ea00
nop
lea rcx, [rbp - 0x70]
call fcn.140059170
movq rcx, xmm6
test rcx, rcx
je 0x140058f5a
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058f55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059081
call fcn.140061010
movups xmm6, xmmword [rsp + 0x78]
movdqu xmmword [rbp + 0x90], xmm6
movsd xmm0, qword [rbp - 0x78]
movsd qword [rbp + 0xa0], xmm0
movdqa xmm1, xmm6
psrldq xmm1, 8
movq rax, xmm1
movq rcx, xmm6
sub rax, rcx
sar rax, 3
mov rdi, qword [rbp + 0xa0]
cmp rax, 1
ja 0x140059040
mov rsi, qword [rcx]
inc ebx
mov r14d, dword [rbp + 0xb0]
jmp 0x140058e40
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetMenu]
mov edx, 0xfffffff0
mov r8d, 0x10000000
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rdx, qword [0x14033a888]
mov dword [rdx + 0xc], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x14033a888]
mov dword [rcx + 0x10], eax
movq rcx, xmm6
test rcx, rcx
je 0x14005908e
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059088
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059088
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140061010
nop
lea rcx, [rbp + 0xb0]
call fcn.140059170
mov rcx, qword [rbp + 0x60]
jmp 0x1400590a3
mov rsi, r15
test rcx, rcx
je 0x1400590f4
mov rax, qword [rbp + 0x70]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400590e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400590e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061010
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r15
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x140059138
mov rdx, qword [rbp + 0x88]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059133
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059133
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061010
mov rax, rsi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140060a00
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret