Function at 0x140046960
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 - 0x178]
sub rsp, 0x250
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140063020]
xor rax, rsp
mov qword [rbp + 0x130], rax
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
lea rax, [rbp + 0x178]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rax
mov r15, qword [rax]
xor r15, rcx
mov qword [rbp + 0x88], r15
mov qword [rax], r13
mov esi, r13d
xor eax, eax
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rax
mov dword [rsp + 0x50], 0x77f477eb
mov dword [rsp + 0x54], 0x77e877f8
mov dword [rsp + 0x58], 0x77e577e3
mov dword [rsp + 0x5c], 0x77a377f8
mov dword [rsp + 0x60], 0x77f777eb
mov dword [rsp + 0x64], 0x77f5
mov byte [rsp + 0x68], 1
mov ecx, r13d
mov r12d, 0x7786
nop dword [rax]
nop word [rax + rax]
lea eax, [r12 + rcx]
xor word [rsp + rcx*2 + 0x50], ax
inc rcx
cmp rcx, 0xb
jb 0x140046a30
mov byte [rsp + 0x68], sil
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.14004d360
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400470a0
nop
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x60]
cmp rdx, rax
je 0x140046ac5
mov r14d, r13d
sub rax, rdx
sar rax, 2
test rax, rax
je 0x140046ac5
mov rdi, r13
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 + 0x60]
mov rdx, qword [rbp + 0x58]
sub rcx, rdx
sar rcx, 2
movsxd rax, r14d
cmp rax, rcx
jb 0x140046a81
mov dword [rsp + 0x40], 0xfbe9f3f5
mov dword [rsp + 0x44], 0xfee1abfe
mov dword [rsp + 0x48], 0xfff9eefe
mov word [rsp + 0x4c], 0xe6
mov byte [rsp + 0x4e], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x7a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xd
jb 0x140046af0
mov byte [rsp + 0x4e], 0
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 + 0x40], xmm0
mov qword [rbp + 0x50], rax
mov dword [rsp + 0x50], 0x77f477eb
mov dword [rsp + 0x54], 0x77e877f8
mov dword [rsp + 0x58], 0x77e577e3
mov dword [rsp + 0x5c], 0x77a377f8
mov dword [rsp + 0x60], 0x77f777eb
mov dword [rsp + 0x64], 0x77f5
mov byte [rsp + 0x68], 1
mov rcx, r13
nop word [rax + rax]
lea eax, [r12 + rcx]
xor word [rsp + rcx*2 + 0x50], ax
inc rcx
cmp rcx, 0xb
jb 0x140046b60
mov byte [rsp + 0x68], 0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.14004d360
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1400470a0
nop
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x48]
cmp rcx, rax
je 0x140046e99
sub rax, rcx
sar rax, 2
cmp rax, 1
ja 0x140046e99
mov dword [rbp + 0xa0], r13d
lea rdx, [0x1400528bc]
lea rcx, [rbp + 0xa8]
call fcn.14004d510
nop
lea rdx, [0x1400528bc]
lea rcx, [rbp + 0xc8]
call fcn.14004d510
mov qword [rbp + 0xe8], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x108], 0x10000000
mov qword [rbp + 0x118], r13
movdqa xmmword [rbp + 0x120], xmm0
mov rax, qword [rbp + 0x40]
mov r14d, dword [rax]
mov dword [rbp + 0xa0], r14d
mov byte [rbp + 0x110], 1
xorps xmm6, xmm6
movdqu xmmword [rbp + 0x70], xmm6
mov rdi, r13
mov qword [rbp + 0x80], r13
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, r13d
nop
test rsi, rsi
je 0x140046c5e
cmp ebx, 0x32
jle 0x140046dc4
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x70], r14d
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x78]
call fcn.14004d630
nop
lea rdx, [rbp + 0xc8]
lea rcx, [rbp - 0x68]
call fcn.14004d630
nop
movups xmm0, xmmword [rbp + 0xe8]
movups xmmword [rbp - 0x48], xmm0
mov rax, qword [rbp + 0xf8]
mov qword [rbp - 0x38], rax
movss xmm0, dword [rbp + 0x100]
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [rbp + 0x104]
movss dword [rbp - 0x2c], xmm1
mov eax, dword [rbp + 0x108]
mov dword [rbp - 0x28], eax
mov eax, dword [rbp + 0x10c]
mov dword [rbp - 0x24], eax
movzx eax, byte [rbp + 0x110]
mov byte [rbp - 0x20], al
lea rdx, [rbp + 0x118]
lea rcx, [rbp - 0x18]
call fcn.14004cbb0
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x70]
lea rcx, [0x140047300]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x50]
call fcn.14004cbb0
nop
lea rcx, [rsp + 0x70]
call fcn.140046f90
movq rcx, xmm6
test rcx, rcx
je 0x140046d70
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046d6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046e7a
call fcn.14004f76c
movups xmm6, xmmword [rsp + 0x50]
movdqu xmmword [rbp + 0x70], xmm6
movsd xmm0, qword [rsp + 0x60]
movsd qword [rbp + 0x80], xmm0
movdqa xmm1, xmm6
psrldq xmm1, 8
movq rax, xmm1
movq rcx, xmm6
sub rax, rcx
sar rax, 3
mov rdi, qword [rbp + 0x80]
cmp rax, 1
ja 0x140046e39
mov rsi, qword [rcx]
inc ebx
mov r14d, dword [rbp + 0xa0]
jmp 0x140046c50
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
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]
nop
movq rcx, xmm6
test rcx, rcx
je 0x140046e87
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046e81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046e81
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.14004f76c
nop
lea rcx, [rbp + 0xa0]
call fcn.140046f90
mov rcx, qword [rbp + 0x40]
jmp 0x140046e9c
mov rsi, r13
test rcx, rcx
je 0x140046eed
mov rax, qword [rbp + 0x50]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046edc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046edc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004f76c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r13
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x140046f37
mov rax, qword [rbp + 0x68]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046f31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046f31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004f76c
nop
movabs rax, 0xff00ff00ff00ff00
xor r15, rax
lea rax, [rbp + 0x178]
mov qword [rax], r15
mov rax, rsi
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.14004f500
lea r11, [rsp + 0x250]
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