Function at 0x140081e30
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 [0x140140080]
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, 0x49dd
mov word [rsp + 0x50], di
mov r14d, 0x49d2
mov word [rsp + 0x52], r14w
mov eax, 0x49df
mov word [rsp + 0x54], ax
mov eax, 0x499c
mov word [rsp + 0x56], ax
mov eax, 0x49d3
mov word [rsp + 0x58], ax
mov eax, 0x49c4
mov word [rsp + 0x5a], ax
mov eax, 0x49da
mov word [rsp + 0x5c], ax
mov eax, 0x49bf
mov word [rsp + 0x5e], ax
movzx eax, word [rsp + 0x50]
mov r9d, r15d
lea ebx, [rdi - 0x2a]
mov r12d, reloc.WS2_32.dll_ntohs
movabs r13, 0x78094237564149b3
nop
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
lea eax, [rbx + r9]
xor dx, ax
xor dx, r8w
mov word [rsp + r9*2 + 0x50], dx
inc r9
cmp r9, 8
jb 0x140081ef0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140071a50
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.140082620
nop
mov rdx, qword [rbp + 0x78]
mov rax, qword [rbp + 0x80]
cmp rdx, rax
je 0x140081fc5
mov r14d, r15d
sub rax, rdx
sar rax, 2
test rax, rax
je 0x140081fbf
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 0x140081f70
mov ebx, 0x49b3
lea edi, [rbx + 0x2a]
mov r14d, 0x49d2
mov byte [rsp + 0x40], reloc.WS2_32.dll_send
mov byte [rsp + 0x41], reloc.WLDAP32.dll_Ordinal_30
mov byte [rsp + 0x42], 0xa
mov byte [rsp + 0x43], reloc.WS2_32.dll_recvfrom
mov byte [rsp + 0x44], reloc.WLDAP32.dll_Ordinal_22
mov byte [rsp + 0x45], 0x57
mov byte [rsp + 0x46], reloc.WS2_32.dll_socket
mov byte [rsp + 0x47], Ordinal_32
mov byte [rsp + 0x48], reloc.WLDAP32.dll_Ordinal_22
mov byte [rsp + 0x49], WSAStartup
movzx eax, byte [rsp + 0x40]
mov r9, r15
movabs r11, 0x6a7139660b7dd66b
mov r10, r11
lea rax, [rsp + 0x40]
sub r10, rax
nop dword [rax]
nop dword [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 0x140082020
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, 0x49df
mov word [rsp + 0x64], ax
mov eax, 0x499c
mov word [rsp + 0x66], ax
mov eax, 0x49d3
mov word [rsp + 0x68], ax
mov eax, 0x49c4
mov word [rsp + 0x6a], ax
mov eax, 0x49da
mov word [rsp + 0x6c], ax
mov eax, 0x49bf
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
lea eax, [rbx + r9]
xor dx, ax
xor dx, r8w
mov word [rsp + r9*2 + 0x60], dx
inc r9
cmp r9, 8
jb 0x1400820d0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.140071a50
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140082620
nop
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x68]
cmp rcx, rax
je 0x140082440
sub rax, rcx
sar rax, 2
cmp rax, 1
ja 0x140082440
mov dword [rbp + 0xb0], r15d
lea rdx, [0x1400ff87e]
lea rcx, [rbp + 0xb8]
call fcn.140067210
nop
lea rdx, [0x1400ff87e]
lea rcx, [rbp + 0xd8]
call fcn.140067210
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 word [rax + rax]
test rsi, rsi
je 0x1400821ee
cmp ebx, 0x32
jle 0x140082350
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.14006dc80
nop
lea rdx, [rbp + 0xd8]
lea rcx, [rbp - 0x48]
call fcn.14006dc80
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.140088520
nop
lea rax, [rbp - 0x70]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x70]
lea rcx, [0x140082830]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x78]
call fcn.140088520
nop
lea rcx, [rbp - 0x70]
call fcn.140082510
movq rcx, xmm6
test rcx, rcx
je 0x1400822fa
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400822f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082421
call fcn.1400ebb70
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 0x1400823e0
mov rsi, qword [rcx]
inc ebx
mov r14d, dword [rbp + 0xb0]
jmp 0x1400821e0
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 [0x140141698]
mov dword [rdx + 0xc], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x140141698]
mov dword [rcx + 0x10], eax
movq rcx, xmm6
test rcx, rcx
je 0x14008242e
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082428
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082428
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.1400ebb70
nop
lea rcx, [rbp + 0xb0]
call fcn.140082510
mov rcx, qword [rbp + 0x60]
jmp 0x140082443
mov rsi, r15
test rcx, rcx
je 0x140082494
mov rax, qword [rbp + 0x70]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082483
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082483
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ebb70
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r15
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x1400824d8
mov rdx, qword [rbp + 0x88]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400824d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400824d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ebb70
mov rax, rsi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400eb430
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