joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180008b14
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x38], 0
mov rbx, rcx
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x18
mov r14, r9
mov dword [rbp - 0x3c], 0xf0000000
mov edi, r8d
mov rsi, rdx
call fcn.1800083ac
test rax, rax
jne 0x180008b67
or ebx, 0xffffffff
jmp 0x180008c66
and qword [rbp - 0x48], 0
lea rdx, [rbp - 0x40]
mov r9d, edi
lea rcx, [rbp - 0x48]
mov r8, rsi
call fcn.180008d70
test eax, eax
je 0x180008b8b
or ebx, 0xffffffff
jmp 0x180008c52
lea rcx, [rbp - 0x40]
call fcn.1800083ac
mov r8, qword [rbp - 0x48]
mov rcx, rax
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov edx, 0x8009
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x180008c46
xor edx, edx
lea rcx, [rbp - 0x30]
lea r8d, [rdx + 0x28]
call sub.msvcrt.dll_memset
mov eax, dword [rbp + 0x38]
lea r8, [rbp - 0x30]
mov rcx, qword [rbx]
xor r9d, r9d
mov dword [rbp - 0x30], eax
lea edx, [r9 + 5]
call qword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
je 0x180008c46
mov r8d, dword [rbp + 0x30]
xor r9d, r9d
mov rcx, qword [rbx]
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x180008c46
mov rcx, qword [rbx]
lea r9, [rbp - 0x50]
and dword [rbp - 0x50], 0
xor r8d, r8d
and dword [rsp + 0x20], 0
lea edi, [r8 + 2]
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x180008c46
mov r9, qword [rbp + 0x48]
mov eax, dword [r9]
cmp dword [rbp - 0x50], eax
je 0x180008c2e
or ebx, 0xffffffff
jmp 0x180008c52
mov r8, qword [rbp + 0x40]
mov edx, edi
mov rcx, qword [rbx]
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x180008c50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180008c52
xor ebx, ebx
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180008c66
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
and qword [rbp - 0x48], 0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x180008c77
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x180008cf8
Capabilities:
Generate random numbers via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x30
and dword [rax - 0x14], 0
lea rcx, [rax - 0x18]
and qword [rax - 0x10], 0
mov ebx, r8d
mov rdi, rdx
mov dword [rax - 0x18], 1
call fcn.1800083ac
test rax, rax
je 0x180008d3e
mov r8, rdi
mov edx, ebx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x180008d3e
xor ebx, ebx
jmp 0x180008d41
or ebx, 0xffffffff
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180008d53
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180008d70
Capabilities:
Encrypt data using aes via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r15
sub rsp, 0x60
mov rbp, rcx
mov edi, r9d
mov rcx, rdx
mov rsi, r8
mov rbx, rdx
call fcn.1800083ac
xor r15d, r15d
test rax, rax
jne 0x180008daa
or eax, 0xffffffff
jmp 0x180008e13
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x2c]
call sub.msvcrt.dll_memset
mov r8, rdi
mov dword [rsp + 0x30], 0x208
mov rdx, rsi
mov dword [rsp + 0x34], 0x660e
lea rcx, [rsp + 0x3c]
mov dword [rsp + 0x38], edi
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call fcn.1800083ac
xor r9d, r9d
mov qword [rsp + 0x28], rbp
mov rcx, rax
mov dword [rsp + 0x20], r15d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 0x2c]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x180008e11
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180008da5
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret

Function at 0x18000bd90
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000bdec
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18000bdec
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18000bdec
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000bdec
cmp dword [rcx + 0x84], 0xe
jbe 0x18000bdec
cmp dword [rcx + 0xf8], 0
je 0x18000bdec
mov ecx, ebx
call fcn.18000bd20
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x18001eeb0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.18000bba0
cmp dword [rsp + 0x60], 0
jne 0x18000be2f
mov ecx, ebx
call fcn.18000bcd0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x18000c0d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x18001d048]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18000c10c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.180012cc4
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x18000c1c8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x18000c22e
test ebx, ebx
jne 0x18000c22e
lea ecx, [rax + 2]
call fcn.180012cc4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.180012ca0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x140001490
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rbx, qword [rdx]
mov rsi, rcx
lea rcx, [rbp + 0x30]
mov r14d, r8d
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x30]
lea rdx, [rbp + 0x30]
mov dword [rdi + 0x290], eax
mov rcx, rbx
mov eax, dword [rbp + 0x34]
mov dword [rdi + 0x294], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rbp + 0x30]
mov ecx, dword [rbp + 0x34]
cmp eax, dword [rdi + 0x298]
je 0x140049ec4
mov dword [rdi + 0x298], eax
mov dword [rdi + 0x29c], ecx
cmp r14d, 1
jge 0x140049ed5
mov ecx, dword [rsi + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [rsi + 0x1c]
mov ebx, 0x8000
movzx r15d, ax
mov r12d, 0
and r15w, bx
setne r12b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx r13d, ax
mov eax, 0
and r13w, bx
mov ebx, eax
setne bl
cmp r12d, dword [rdi + 0x2a0]
jne 0x140049ef2
test r14d, r14d
je 0x140001561
mov dword [rdi + 0x2a0], r12d
cmp ebx, dword [rdi + 0x2a4]
jne 0x140049f79
test r14d, r14d
je 0x140001578
mov dword [rdi + 0x2a4], ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp ecx, dword [rdi + 0x29c]
je 0x14000150d
jmp 0x1400014f7
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov rcx, rsi
mov r8, rdi
mov edx, 0xfffffff5
call fcn.1400aa32c
nop
jmp 0x14000150d
cmp r14d, 1
jl 0x140001555
cmp byte [rdi + 0x2e0], al
je 0x140001555
mov eax, dword [rbp + 0x34]
mov r8, rdi
mov r9d, dword [rbp + 0x30]
mov rcx, rsi
mov dword [rsp + 0x20], eax
test r15w, r15w
je 0x140049f26
mov edx, 0xfffffff9
jmp 0x140049f67
mov edx, 0xfffffff8
call fcn.1400aa32c
xor eax, eax
cmp byte [rdi + 0x2a8], al
je 0x140049f6e
mov rcx, qword [rdi]
lea edx, [rax - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r9d, dword [rbp + 0x30]
mov r8, rdi
bt eax, 0x18
mov rcx, rsi
mov eax, dword [rbp + 0x34]
mov edx, 0xfffffffa
mov dword [rsp + 0x20], eax
jb 0x140049f67
mov edx, 0xfffffff4
call fcn.1400aa32c
xor eax, eax
mov byte [rdi + 0x2a8], al
jmp 0x140001555
cmp r14d, 1
jl 0x14000156d
mov eax, dword [rbp + 0x34]
mov r8, rdi
mov r9d, dword [rbp + 0x30]
mov rcx, rsi
mov dword [rsp + 0x20], eax
mov edx, 0xfffffff7
test r13w, r13w
jne 0x140049fa4
mov edx, 0xfffffff6
call fcn.1400aa32c
nop
jmp 0x14000156d
Function at 0x140002968
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1ff70]
mov eax, 0x20070
call fcn.140049520
sub rsp, rax
lea rcx, [rsp + 0x50]
mov rsi, rdx
call fcn.1400053cc
xor bl, bl
lea rdx, [rsp + 0x70]
mov ecx, 0x7fff
mov byte [rbp + 0x1ffa0], bl
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r8, [rbp + 0x1ffb0]
mov rdx, rsi
call fcn.140003780
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14004a56c
lea r15d, [rax + 1]
cmp dword [0x1400f14c0], r15d
lea rcx, [0x1400f3230]
je 0x14004a58e
lea rax, [rbp + 0x1ffa0]
lea r8, [0x1400f14c0]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400f14e8]
call fcn.14001c52c
test al, al
je 0x14004a5b2
mov al, byte [0x1400f3230]
lea r9, [rbp + 0x1ffb8]
mov rcx, qword [0x1400f14e8]
lea r8, [rbp + 0xff70]
mov dil, byte [0x1400f3231]
mov edx, 0x7fff
mov byte [0x1400f14c4], al
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rdx, qword [rbp + 0x1ffb8]
lea rcx, [0x1400f14a0]
call fcn.140004344
mov bl, byte [rbp + 0x1ffa0]
mov r8d, dword [0x1400f14c0]
lea rdx, [0x1400f14e8]
call fcn.1400019f0
test eax, eax
jne 0x14004a5be
cmp dil, r15b
je 0x14004a5e1
call fcn.140002af0
call fcn.140002c28
cmp byte [0x1400f14c4], 0
jne 0x140002a9b
lea rcx, [0x1400f1e60]
call fcn.140003378
mov edx, r15d
lea rcx, [0x1400f1510]
call fcn.140010450
cmp byte [0x1400f14c4], 0
jne 0x140002abf
lea rcx, [0x1400f1e60]
call fcn.140002e20
lea rcx, [0x1400f3230]
call fcn.14000aaac
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x50]
call fcn.1400054ac
add rsp, 0x20070
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r9d, reloc.WSOCK32.dll_recv
lea r8, str.AutoIt
lea rdx, str.It_is_a_violation_of_the_xxxxxxxxxxxxto_attempt_to_reverse_engineer_this_program.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x140002ad6
mov r8, qword [0x1400f14c8]
or r9d, 0xffffffff
mov edx, r15d
call fcn.14000bd64
mov al, byte [0x1400f13b8]
mov byte [0x1400f3232], al
jmp 0x140002a58
mov dword [0x1400f13b0], r15d
jmp 0x140002acb
lea rcx, [0x1400f3230]
call fcn.14000aaac
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x1400f13b0], r15d
jmp 0x140002ad6
call fcn.14006e260
test al, al
jne 0x140002a7c
cmp byte [rbp + 0x1ffb0], al
jne 0x140002a7c
lea rcx, [rsp + 0x50]
call fcn.14001d230
lea rdx, [0x1400d96f4]
lea rcx, [rsp + 0x30]
call fcn.14000c6d0
lea rcx, [rsp + 0x30]
test bl, bl
je 0x14004a649
lea rdx, [0x1400dd294]
call fcn.140003f78
lea rdx, [0x1400f14e8]
lea rcx, [rsp + 0x30]
call fcn.140004274
lea rdx, [0x1400dd294]
lea rcx, [rsp + 0x30]
jmp 0x14004a64c
mov rdx, rsi
call fcn.140003f78
mov rbx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [rsp + 0x50]
lea rdx, [0x1400dd298]
mov rcx, rax
mov dword [rsp + 0x28], r15d
lea rax, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.1400054ac
nop
jmp 0x140002abf
Function at 0x140002c28
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
sub rsp, 0x68
and qword [r11 - 0x10], 0
lea rdx, str.xxxxxxxxx
mov rax, qword [0x1400f13a8]
mov r9d, 0xcf0000
mov qword [r11 - 0x18], rax
mov r8, rdx
and qword [r11 - 0x20], 0
mov eax, 0x80000000
and qword [r11 - 0x28], 0
xor ecx, ecx
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
and qword [rsp + 0x58], 0
lea rdx, str.edit
mov rcx, qword [0x1400f13a8]
mov r9d, 0x50b008c4
mov qword [rsp + 0x50], rcx
xor r8d, r8d
mov qword [rsp + 0x48], 1
xor ecx, ecx
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov qword [0x1400f1400], rax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x1400f1400]
xor edx, edx
mov qword [0x1400f13f8], rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400f1400]
xor edx, edx
add rsp, 0x68
jmp qword [sym.imp.USER32.dll_ShowWindow]
Function at 0x14000a644
Capabilities:
Hash data using djb2

Disassembly:
mov eax, dword [rdx + 8]
mov r8d, 0x1505
mov r10, qword [rdx]
add eax, eax
xor edx, edx
movsxd r9, eax
test eax, eax
jle 0x14000a66f
movzx ecx, byte [rdx + r10]
inc rdx
imul r8d, r8d, 0x21
add r8d, ecx
cmp rdx, r9
jl 0x14000a65b
mov eax, r8d
ret
Function at 0x14001c998
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x30], 0
mov r10, r9
cmp byte [rcx + 0x20], 0
mov r11, r8
mov rbx, rdx
jne 0x1400619de
mov r9, qword [rsp + 0x50]
mov r8, r10
mov rdx, r11
mov rcx, rbx
call fcn.1400351ec
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rcx + 0x18]
lea r9, [rsp + 0x30]
imul r10d, r11d
mov rax, qword [rcx]
mov r8d, r10d
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rax, qword [rsp + 0x30]
jmp 0x14001c9ca

Function at 0x14001cee0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x10], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x14001cf89
xor edi, edi
test rsi, rsi
je 0x14001cf32
mov eax, dword [rbx + 0x14]
cmp eax, dword [rbx + 0x10]
je 0x14001cf4e
mov rcx, qword [rbx + 8]
movsxd rdx, eax
movzx edx, byte [rdx + rcx]
mov byte [rdi + rbp], dl
inc rdi
inc dword [rbx + 0x14]
mov eax, dword [rbx + 0x14]
cmp rdi, rsi
jb 0x14001cf11
add qword [rbx + 0x18], rdi
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x40]
mov rcx, qword [rbx]
mov r8d, 0x10000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001cf32
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14001cf32
mov dword [rbx + 0x10], eax
xor eax, eax
mov dword [rbx + 0x14], 0
jmp 0x14001cf16
mov qword [rcx + 0x10], 0
lea r8, [rsp + 0x40]
mov rcx, qword [rcx]
mov r9d, 1
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x18], rax
jmp 0x14001cf07
Function at 0x140022908
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor esi, esi
mov r12, r9
mov rdi, r8
mov r13, rdx
mov ebx, 1
mov ebp, esi
cmp qword [rdx + 8], rsi
je 0x140022a5f
mov r10, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x98]
mov r14, qword [rsp + 0x90]
mov byte [r9], sil
mov r9d, esi
mov byte [r10], sil
mov byte [r15], sil
mov byte [r14], sil
mov dword [r8], esi
movsxd rdx, r9d
mov rcx, r13
call fcn.140022af4
movzx ecx, word [rax]
lea eax, [rcx - 0x21]
cmp ax, 0x3d
jbe 0x14006a676
lea eax, [r9 + 1]
mov rcx, r13
mov dword [rsp + 0x70], eax
call fcn.140022af4
movzx ecx, word [rax]
cmp cx, 0x7b
jne 0x14006a72c
mov edx, 0x40
lea rcx, [rsp + 0x20]
call fcn.140005894
mov ecx, 0x7d
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x20]
mov rdx, r13
call fcn.140022a64
test al, al
je 0x140022a56
lea rsi, [0x1400c82d0]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsi]
call fcn.1400293b8
test eax, eax
je 0x1400229fe
add ebp, ebx
lea rax, [0x1400c85e8]
add rsi, 8
cmp rsi, rax
jl 0x1400229db
cmp ebp, 0x63
je 0x14006a6bd
movsxd rax, ebp
lea rcx, [0x140000000]
cmp byte [rax + rcx + 0xc8260], 0
jne 0x140022a5b
movzx eax, byte [rax + rcx + 0xc81f0]
mov dword [rdi], eax
lea rcx, [rsp + 0x20]
call fcn.1400054ac
mov eax, dword [rdi]
movzx ecx, al
mov al, bl
mov dword [rdi], ecx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov bl, sil
jmp 0x140022a25
xor bl, bl
jmp 0x140022a25
xor al, al
jmp 0x140022a38
movabs r8, 0x2000000000000405
bt r8, rax
jae 0x140022989
cmp cx, 0x2b
jne 0x14006a696
mov byte [r12], bl
jmp 0x14006a6b5
cmp cx, 0x5e
jne 0x14006a6a1
mov byte [r14], bl
jmp 0x14006a6b5
cmp cx, 0x21
jne 0x14006a6ac
mov byte [r15], bl
jmp 0x14006a6b5
cmp cx, 0x23
jne 0x14006a6b5
mov byte [r10], bl
add r9d, ebx
jmp 0x14002296e
mov edx, 2
cmp dword [rsp + 0x70], edx
jne 0x14006a6d8
mov rcx, r13
call fcn.140022af4
lea ecx, [rdx + 0x7b]
cmp word [rax], cx
je 0x14006a6e7
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400056a8
movzx ecx, word [rax]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
mov dword [rdi], ecx
cmp ecx, 0xffffffff
jne 0x14006a707
lea rcx, [rsp + 0x20]
call fcn.1400054ac
nop
jmp 0x140022a5f
bt ecx, 9
jae 0x14006a710
mov byte [r14], bl
bt ecx, 0xa
jae 0x14006a719
mov byte [r15], bl
bt ecx, 8
jae 0x140022a25
mov byte [r12], bl
jmp 0x140022a25
call qword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [rdi], eax
cmp eax, 0xffffffff
je 0x140022a5f
bt eax, 9
jae 0x14006a747
mov byte [r14], bl
bt eax, 0xa
jae 0x14006a750
mov byte [r15], bl
bt eax, 8
jae 0x140022a31
mov byte [r12], bl
jmp 0x140022a31
Function at 0x140023078
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov word [rcx + 8], 1
mov eax, 5
mov dword [rcx], eax
mov rbx, rcx
mov dword [rcx + 4], eax
xor edx, edx
xor eax, eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov dword [rcx + 0x20], eax
mov dword [rcx + 0xc], 4
lea ecx, [rax + 0x5b]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov byte [rbx + 0x35], al
lea ecx, [rdx + 0x10]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, QueryPathOfRegTypeLib
mov byte [rbx + 0x32], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, QueryPathOfRegTypeLib
mov byte [rbx + 0x33], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov byte [rbx + 0x34], al
lea ecx, [rdx + 0x11]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov byte [rbx + 0x30], al
lea ecx, [rdx + 0x12]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 0x31], al
add rsp, 0x20
pop rbx
ret

Function at 0x140023910
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov esi, r9d
mov rbp, r8
test r8, r8
je 0x1400239d0
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1400239d0
lea rax, [r11 - 0x18]
mov word [rdi], bx
lea r9d, [rbx + 1]
mov qword [r11 - 0x28], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400239d0
mov rcx, qword [rsp + 0x30]
lea eax, [rsi + rsi]
mov dword [rsp + 0x60], eax
xor r9d, r9d
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400239a5
mov eax, dword [rsp + 0x60]
shr eax, 1
mov ecx, eax
mov dword [rsp + 0x60], eax
cmp eax, esi
jae 0x1400239c7
mov eax, ecx
mov word [rdi + rcx*2], bx
mov bl, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea eax, [rsi - 1]
mov word [rdi + rax*2], bx
jmp 0x1400239a3
xor al, al
jmp 0x1400239b2
Function at 0x140024070
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x20
mov edi, edx
test r8, r8
jne 0x14006b2aa
mov eax, dword [0x1400f1da8]
cmp eax, 0xffffffff
je 0x140024144
movsxd rcx, eax
mov rax, qword [0x1400f1d90]
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx]
cmp byte [rbx + 0x6a], 0
mov rbp, qword [rbx]
je 0x1400240c4
cmp dword [rbx + 0x2b8], 0
mov byte [rbx + 0x6a], 0
jge 0x14006b2c4
cmp edi, 8
jg 0x14006b321
je 0x1400240f6
test edi, edi
je 0x14006b30d
cmp edi, 1
je 0x1400240f6
mov edx, 6
cmp edi, 2
je 0x14002413b
cmp edi, 3
je 0x140024132
jle 0x14002411d
cmp edi, 5
jg 0x14006b2ec
cmp byte [rbx + 0x68], 0
jne 0x140024144
mov edx, edi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
lea eax, [rdi - 4]
test eax, 0xfffffffb
je 0x140024119
mov rcx, rbp
call fcn.140024148
mov byte [rbx + 0x68], 1
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov byte [rbx + 0x68], 1
jmp 0x14006b38c
mov byte [rbx + 0x68], 1
jmp 0x14006b2f4
xor eax, eax
jmp 0x140024122
mov rdx, r8
lea rcx, [0x1400f1cf0]
call fcn.14001e754
mov dword [0x1400f1da8], eax
jmp 0x140024090
cmp byte [rbx + 0x2c4], 0
je 0x1400240c4
mov r8d, dword [rbx + 0x2c0]
mov rdx, rbx
call fcn.1400b1214
mov byte [rbx + 0x2c4], 0
jmp 0x1400240c4
cmp edi, edx
jne 0x14002411d
cmp byte [rbx + 0x68], 0
je 0x140024144
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
nop
jmp 0x14002411d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rbx + 0x68], 0
jmp 0x14002411d
mov edx, edi
sub edx, 9
je 0x14006b38c
sub edx, 0x37
je 0x14006b378
sub edx, 1
je 0x14006b374
sub edx, 1
je 0x14006b361
cmp edx, 1
jne 0x14002411d
xor ecx, ecx
mov byte [rbx + 0x69], 0
call qword [sym.imp.USER32.dll_LockWindowUpdate]
mov rcx, qword [rbx]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
jmp 0x14002411d
mov rcx, rbp
mov byte [rbx + 0x69], 1
call qword [sym.imp.USER32.dll_LockWindowUpdate]
nop
jmp 0x14002411d
xor edx, edx
jmp 0x14006b37d
mov edx, 1
mov rcx, rbp
call qword [sym.imp.USER32.dll_EnableWindow]
nop
jmp 0x14002411d
cmp byte [rbx + 0x68], 0
je 0x140024144
mov edx, edi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbp
call fcn.140024148
nop
jmp 0x14002411d