Function at 0x140046dc0
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 - 0x168]
sub rsp, 0x240
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140061020]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor r12d, r12d
mov esi, r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rax
mov dword [rsp + 0x50], 0xdb80da7
mov dword [rsp + 0x54], 0xdac0dbc
mov dword [rsp + 0x58], 0xda10da7
mov dword [rsp + 0x5c], 0xdff0da4
mov dword [rsp + 0x60], 0xdab0db7
mov dword [rsp + 0x64], 0xdb1
mov byte [rsp + 0x68], 1
mov ecx, r12d
mov r15d, 0xdca
nop dword [rax]
lea eax, [r15 + rcx]
xor word [rsp + rcx*2 + 0x50], ax
inc rcx
cmp rcx, 0xb
jb 0x140046e50
mov byte [rsp + 0x68], sil
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.14004ce70
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400474a0
nop
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x60]
cmp rdx, rax
je 0x140046ee5
mov r14d, r12d
sub rax, rdx
sar rax, 2
test rax, rax
je 0x140046ee5
mov rdi, r12
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 0x140046ea1
mov dword [rsp + 0x40], 0xbfadbfb9
mov dword [rsp + 0x44], 0xa2bdefba
mov dword [rsp + 0x48], 0xbbbdb2a2
mov word [rsp + 0x4c], 0xa2
mov byte [rsp + 0x4e], 1
mov rcx, r12
nop dword [rax]
lea eax, [rcx - 0x36]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xd
jb 0x140046f10
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], 0xdb80da7
mov dword [rsp + 0x54], 0xdac0dbc
mov dword [rsp + 0x58], 0xda10da7
mov dword [rsp + 0x5c], 0xdff0da4
mov dword [rsp + 0x60], 0xdab0db7
mov dword [rsp + 0x64], 0xdb1
mov byte [rsp + 0x68], 1
mov rcx, r12
nop word [rax + rax]
lea eax, [r15 + rcx]
xor word [rsp + rcx*2 + 0x50], ax
inc rcx
cmp rcx, 0xb
jb 0x140046f80
mov byte [rsp + 0x68], 0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.14004ce70
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1400474a0
nop
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x48]
cmp rcx, rax
je 0x1400472b9
sub rax, rcx
sar rax, 2
cmp rax, 1
ja 0x1400472b9
mov dword [rbp + 0x90], r12d
lea rdx, [0x14005183c]
lea rcx, [rbp + 0x98]
call fcn.14004d020
nop
lea rdx, [0x14005183c]
lea rcx, [rbp + 0xb8]
call fcn.14004d020
mov qword [rbp + 0xd8], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xf8], 0x10000000
mov qword [rbp + 0x108], r12
movdqa xmmword [rbp + 0x110], xmm0
mov rax, qword [rbp + 0x40]
mov r14d, dword [rax]
mov dword [rbp + 0x90], r14d
mov byte [rbp + 0x100], 1
xorps xmm6, xmm6
movdqu xmmword [rbp + 0x70], xmm6
mov rdi, r12
mov qword [rbp + 0x80], r12
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, r12d
nop
test rsi, rsi
je 0x14004707e
cmp ebx, 0x32
jle 0x1400471e4
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 + 0x98]
lea rcx, [rsp + 0x78]
call fcn.14004d140
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rbp - 0x68]
call fcn.14004d140
nop
movups xmm0, xmmword [rbp + 0xd8]
movups xmmword [rbp - 0x48], xmm0
mov rax, qword [rbp + 0xe8]
mov qword [rbp - 0x38], rax
movss xmm0, dword [rbp + 0xf0]
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [rbp + 0xf4]
movss dword [rbp - 0x2c], xmm1
mov eax, dword [rbp + 0xf8]
mov dword [rbp - 0x28], eax
mov eax, dword [rbp + 0xfc]
mov dword [rbp - 0x24], eax
movzx eax, byte [rbp + 0x100]
mov byte [rbp - 0x20], al
lea rdx, [rbp + 0x108]
lea rcx, [rbp - 0x18]
call fcn.14004c6c0
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x70]
lea rcx, [0x1400476b0]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x50]
call fcn.14004c6c0
nop
lea rcx, [rsp + 0x70]
call fcn.140047390
movq rcx, xmm6
test rcx, rcx
je 0x140047190
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004718b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004729a
call fcn.14004ec0c
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 0x140047259
mov rsi, qword [rcx]
inc ebx
mov r14d, dword [rbp + 0x90]
jmp 0x140047070
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 0x1400472a7
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400472a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400472a1
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.14004ec0c
nop
lea rcx, [rbp + 0x90]
call fcn.140047390
mov rcx, qword [rbp + 0x40]
jmp 0x1400472bc
mov rsi, r12
test rcx, rcx
je 0x14004730d
mov rax, qword [rbp + 0x50]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400472fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400472fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004ec0c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r12
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14004734e
mov rdx, qword [rbp + 0x68]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047349
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047349
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004ec0c
mov rax, rsi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14004e9a0
lea r11, [rsp + 0x240]
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