Function at 0x140059810
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 [0x14010a0c0]
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 edi, 0x9d2d
mov word [rsp + 0x50], di
mov r14d, 0x9d28
mov word [rsp + 0x52], r14w
mov eax, 0x9d2c
mov word [rsp + 0x54], ax
mov eax, 0x9d64
mov word [rsp + 0x56], ax
mov eax, 0x9d23
mov word [rsp + 0x58], ax
mov eax, 0x9d32
mov word [rsp + 0x5a], ax
mov eax, 0x9d22
mov word [rsp + 0x5c], ax
mov eax, 0x9d42
mov word [rsp + 0x5e], ax
movzx eax, word [rsp + 0x50]
mov r9d, r15d
mov ebx, 0x62c0
mov r12d, reloc.WS2_32.dll_ntohs
movabs r13, 0x2f74d94751f29d40
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 0x1400598d0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140064f50
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.14005a040
nop
mov rdx, qword [rbp + 0x78]
mov rax, qword [rbp + 0x80]
cmp rdx, rax
je 0x1400599a7
mov r14d, r15d
sub rax, rdx
sar rax, 2
test rax, rax
je 0x1400599a1
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 0x140059950
mov ebx, 0x62c0
mov edi, 0x9d2d
mov r14d, 0x9d28
mov byte [rsp + 0x40], 0xa3
mov byte [rsp + 0x41], 0xa0
mov byte [rsp + 0x42], 0xb2
mov byte [rsp + 0x43], 0xa9
mov byte [rsp + 0x44], 0xa0
mov byte [rsp + 0x45], 0xff
mov byte [rsp + 0x46], 0xb2
mov byte [rsp + 0x47], 0xb5
mov byte [rsp + 0x48], reloc.WLDAP32.dll_Ordinal_143
mov byte [rsp + 0x49], 0xe0
movzx eax, byte [rsp + 0x40]
mov r9, r15
movabs r11, 0xedbc21c712809d8
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 0x140059a00
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], di
mov word [rsp + 0x62], r14w
mov eax, 0x9d2c
mov word [rsp + 0x64], ax
mov eax, 0x9d64
mov word [rsp + 0x66], ax
mov eax, 0x9d23
mov word [rsp + 0x68], ax
mov eax, 0x9d32
mov word [rsp + 0x6a], ax
mov eax, 0x9d22
mov word [rsp + 0x6c], ax
mov eax, 0x9d42
mov word [rsp + 0x6e], ax
movzx eax, word [rsp + 0x60]
mov r9, r15
nop dword [rax]
nop word [rax + 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 0x140059ab0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.140064f50
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.14005a040
nop
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x68]
cmp rcx, rax
je 0x140059e53
sub rax, rcx
sar rax, 2
cmp rax, 1
ja 0x140059e53
mov dword [rbp + 0xb0], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
mov qword [rbp + 0xc8], r15
mov qword [rbp + 0xd0], r15
xor r8d, r8d
lea rdx, [0x1400edbde]
lea rcx, [rbp + 0xb8]
call fcn.14004b440
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xe8], r15
mov qword [rbp + 0xf0], r15
xor r8d, r8d
lea rdx, [0x1400edbde]
lea rcx, [rbp + 0xd8]
call fcn.14004b440
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
test rsi, rsi
je 0x140059c01
cmp ebx, 0x32
jle 0x140059d63
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.1400652e0
nop
lea rdx, [rbp + 0xd8]
lea rcx, [rbp - 0x48]
call fcn.1400652e0
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.140064730
nop
lea rax, [rbp - 0x70]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x70]
lea rcx, [0x14005a250]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x78]
call fcn.140064730
nop
lea rcx, [rbp - 0x70]
call fcn.140059f30
movq rcx, xmm6
test rcx, rcx
je 0x140059d0d
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059d08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059e34
call fcn.1400da120
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 0x140059df3
mov rsi, qword [rcx]
inc ebx
mov r14d, dword [rbp + 0xb0]
jmp 0x140059bf3
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 [0x140346dd0]
mov dword [rdx + 0xc], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x140346dd0]
mov dword [rcx + 0x10], eax
movq rcx, xmm6
test rcx, rcx
je 0x140059e41
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059e3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059e3b
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.1400da120
nop
lea rcx, [rbp + 0xb0]
call fcn.140059f30
mov rcx, qword [rbp + 0x60]
jmp 0x140059e56
mov rsi, r15
test rcx, rcx
je 0x140059ea7
mov rax, qword [rbp + 0x70]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059e96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059e96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400da120
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r15
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x140059eeb
mov rdx, qword [rbp + 0x88]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059ee6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059ee6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400da120
mov rax, rsi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400d99f0
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