joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006070
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x140006091
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x140006115
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x1400060e0
mov dword [rsp + 4], 0x9908b0df
jmp 0x1400060e8
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140006084
add rsp, 0x18
ret

Function at 0x140007510
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x48]
call fcn.140006ac0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000753a
jmp 0x1400075ba
mov ecx, dword [0x1406ad7f0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140007554
xor eax, eax
cmp eax, 0x8000
jne 0x140007584
mov ecx, dword [0x1406ad7f4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14000759b
xor eax, eax
cmp eax, 0x8000
je 0x14000759b
movzx eax, byte [0x1406b00e0]
test eax, eax
je 0x14000759b
movzx eax, byte [0x1406ad7c2]
test eax, eax
jne 0x14000759b
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1400075c0
nop
jmp 0x1400075ba
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x18], 0xffffffffffffffff
mov rax, qword [rsp + 0x40]
mov byte [rax + 0xd], 0
mov rax, qword [rsp + 0x40]
mov byte [rax + 0xc], 0
add rsp, 0x38
ret
Function at 0x140012980
Capabilities:
Enumerate processes

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400129ae
xor eax, eax
jmp 0x140012a16
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140012a14
mov eax, dword [rsp + 0x288]
cmp dword [rsp + 0x38], eax
jne 0x1400129ff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x4c]
jmp 0x140012a16
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
mov dword [rsp + 0x20], eax
jmp 0x1400129da
xor eax, eax
add rsp, 0x270
pop rdi
ret

Function at 0x1400131a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
nop
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x6c]
call sub.ntdll.dll__wcsicmp
test eax, eax
jne 0x14001322f
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x290]
call fcn.140012980
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jbe 0x14001322f
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400131ea
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
add rsp, 0x288
ret
Function at 0x140044310
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1400fe074
add rsp, 0x28
ret

Function at 0x140044920
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x14033b9d0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x1400449ae
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140044952
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x1400449c0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x14033b9d0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140044ac4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x140044abf
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140044a94
cmp qword [rsp + 0x38], 2
jb 0x140044a94
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140044a94
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140044a94
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140044a07
jmp 0x140044b56
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x140044b56
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x140044b2c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140044b2c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140044b2c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140044ac4
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x140081080
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400810a6
mov dword [rsp + 0x20], 1
jmp 0x1400810ae
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400adbd0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov rax, qword [rsp + 0xd0]
mov byte [rax], 1
mov rax, qword [rsp + 0xd0]
mov byte [rax + 1], 0
mov rax, qword [rsp + 0xd0]
add rax, 8
mov rcx, rax
call fcn.1400a7eb0
nop
mov rax, qword [rsp + 0xd0]
add rax, 0x10
mov rcx, rax
call fcn.1400a7eb0
nop
mov rax, qword [rsp + 0xd0]
add rax, 0x18
mov rcx, rax
call fcn.1400a7eb0
nop
mov rax, qword [rsp + 0xd0]
add rax, 0x20
mov rcx, rax
call fcn.1400a7eb0
nop
call fcn.140004930
mov eax, dword [rax + 0x10]
mov edx, eax
lea rcx, [0x1400b7590]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
call fcn.140004990
cmp qword [rax + 0x10], 0
jne 0x1400adcb5
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.1400b0110
mov rcx, rax
call fcn.1400afb30
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x28], rax
call fcn.140004990
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x10], rcx
call fcn.140004990
cmp qword [rax + 0x10], 0
jne 0x1400adcc6
jmp 0x1400addc3
lea rcx, [rsp + 0x38]
call fcn.1400ac5c0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x18
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.1400a8370
lea rcx, [rsp + 0x38]
call fcn.1400af2f0
nop
mov rax, qword [rsp + 0xd0]
add rax, 0x18
mov rcx, rax
call fcn.140006800
mov qword [rsp + 0x40], rax
call fcn.140004990
add rax, 0x10
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.1400ac510
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x20
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400a8310
lea rcx, [rsp + 0x58]
call fcn.1400af2a0
nop
lea rcx, [rsp + 0x68]
call fcn.1400ac490
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xd0]
add rax, 8
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.1400a82b0
lea rcx, [rsp + 0x68]
call fcn.1400af250
nop
lea rcx, [rsp + 0x78]
call fcn.1400ac410
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x10
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.1400a8250
lea rcx, [rsp + 0x78]
call fcn.1400af200
nop
mov rax, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x1400b1500
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
sub rsp, 0x100
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x20]
call fcn.1400afd30
mov rcx, rax
call fcn.140013980
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rsp + 0x30], rax
call fcn.140004930
mov qword [rsp + 0x38], rax
mov r8d, 0x11
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1400134c0
nop
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x21]
call fcn.1400b0220
mov rcx, rax
call fcn.140013ae0
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rsp + 0x40], rax
call fcn.140004930
mov qword [rsp + 0x48], rax
mov r8d, 0x11
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.1400134c0
nop
call fcn.140004930
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x22]
call fcn.1400b0020
mov rcx, rax
call fcn.1400afb50
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1400131a0
mov dword [rsp + 0x28], eax
call fcn.140004930
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x10], ecx
call fcn.140004930
cmp dword [rax + 0x10], 0
jne 0x1400b162a
xor al, al
jmp 0x1400b1740
call fcn.140004930
mov eax, dword [rax + 0x10]
mov edx, eax
lea rcx, [0x1400b7540]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
call fcn.140004930
cmp qword [rax + 0x20], 0
jne 0x1400b1655
xor al, al
jmp 0x1400b1740
call fcn.140004930
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x2c], eax
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x23]
call fcn.1400aff60
mov rcx, rax
call fcn.1400138c0
mov qword [rsp + 0x60], rax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x60]
call fcn.1400137b0
nop
call fcn.140004930
mov rcx, rax
call fcn.140012880
mov qword [rsp + 0x68], rax
call fcn.140004930
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x18], rcx
call fcn.140004930
cmp qword [rax + 0x18], 0
jne 0x1400b16d0
xor al, al
jmp 0x1400b1740
call fcn.140004930
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x96]
lea rcx, [rsp + 0x24]
call fcn.1400aff00
mov rcx, rax
call fcn.140013960
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.1400137b0
nop
call fcn.1400b13f0
movzx eax, al
test eax, eax
jne 0x1400b172e
xor al, al
jmp 0x1400b1740
mov edx, 0x1f4
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Beep]
mov al, 1
add rsp, 0x100
pop rdi
ret
Function at 0x1400b8950
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 8]
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, eax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400b89bb
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.1400ae2f0
lea rdx, [0x1405b0e78]
lea rcx, [rsp + 0x30]
call fcn.1400f35ec
nop
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax + 8]
call fcn.1400b7b30
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400b89fd
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 8]
mov r8d, eax
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call sub.ntdll.dll_memcpy
mov rcx, qword [rsp + 0x28]
call fcn.1400fd6d4
nop
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 8]
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov edx, eax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400b8a3f
lea rcx, [rsp + 0x48]
call fcn.1400ae1f0
lea rdx, [0x1405b1028]
lea rcx, [rsp + 0x48]
call fcn.1400f35ec
nop
add rsp, 0x60
pop rdi
ret

Function at 0x1400b9590
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xa0]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
jmp 0x1400b9615
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x1400b96e8
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
and eax, 0x20
cmp eax, 0x20
jne 0x1400b96c2
mov rax, qword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140008c20
nop
xor r8d, r8d
lea rdx, str..text
lea rcx, [rsp + 0x70]
call fcn.140060900
cmp rax, 0xffffffffffffffff
je 0x1400b96b5
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
je 0x1400b96b5
mov rax, qword [rsp + 0xa0]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
call fcn.140005010
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.1400b9a80
nop
lea rcx, [rsp + 0x50]
call fcn.1400af710
nop
lea rcx, [rsp + 0x70]
call fcn.140009060
nop
jmp 0x1400b96e3
mov rax, qword [rsp + 0xa0]
add rax, 0x30
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
call fcn.1400135c0
nop
jmp 0x1400b95fd
add rsp, 0x98
ret
Function at 0x1400bdfb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
test eax, eax
jne 0x1400bdff4
mov edx, 0x10
mov rcx, qword [rsp + 0x60]
call fcn.1400be170
movzx eax, al
test eax, eax
je 0x1400bdffd
mov byte [0x1406b0398], 1
jmp 0x1400be004
mov byte [0x1406b0398], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.14000ace0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x38]
call fcn.1400bded0
mov qword [rsp + 0x40], rax
jmp 0x1400be03b
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x28], rax
je 0x1400be08c
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
movzx eax, byte [0x1406b0398]
test eax, eax
jne 0x1400be074
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
mov ecx, eax
call sub.ntdll.dll_tolower
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
jmp 0x1400be08a
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
mov ecx, eax
call sub.ntdll.dll_toupper
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
jmp 0x1400be02e
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.14000ec00
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x70]
call fcn.140009060
mov rax, qword [rsp + 0x68]
add rsp, 0x58
ret

Function at 0x1400bfca0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
call fcn.140004930
lea rdx, [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
nop
mov rax, qword [rsp + 0xb0]
add rax, 0x100
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
call fcn.1400bdf80
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
call fcn.1400be140
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
call fcn.1400bdf80
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x98]
call fcn.1400bc210
nop
mov dword [rsp + 0x24], 0
jmp 0x1400bfd96
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x100
jge 0x1400bfde3
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400bfdb6
mov byte [rsp + 0x20], 1
jmp 0x1400bfdbb
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x78], rax
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.1400bdf40
movzx ecx, byte [rsp + 0x20]
mov byte [rax], cl
jmp 0x1400bfd8c
add rsp, 0xa8
ret
Function at 0x1400c4aa0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x138
jne 0x1400c4ac3
mov rcx, qword [rsp + 0x40]
call fcn.1400c7f20
nop
jmp 0x1400c4adb
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jb 0x1400c4adb
mov rcx, qword [rsp + 0x40]
call fcn.1400c7cd0
nop
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax*8 + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shr rax, 0x1d
mov rcx, qword [rsp + 0x40]
and rax, qword [rcx + 0x1388]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x11
movabs rcx, 0x71d67fffeda60000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x25
movabs rcx, 0xfff7eee000000000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shr rax, 0x2b
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400c7cd0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0x137
mov qword [rsp + 0x48], 0x9c
mov qword [rsp], 0
jmp 0x1400c7d00
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x9c
jae 0x1400c7d9e
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
and rax, 1
test rax, rax
je 0x1400c7d64
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x18], rax
jmp 0x1400c7d6d
mov qword [rsp + 0x18], 0
mov rax, qword [rsp + 0x10]
shr rax, 1
xor rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 + 0xea8]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400c7cf5
mov qword [rsp + 8], 0x9c
jmp 0x1400c7db6
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x137
jae 0x1400c7e59
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 8]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
and rax, 1
test rax, rax
je 0x1400c7e1d
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x28], rax
jmp 0x1400c7e26
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
shr rax, 1
xor rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400c7da9
mov qword [rsp + 0x50], 0x137
mov eax, 8
imul rax, rax, 0x26f
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax + 8]
and rax, 0xffffffff80000000
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx + rcx + 8]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
and rax, 1
test rax, rax
je 0x1400c7ebf
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x38], rax
jmp 0x1400c7ec8
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x30]
shr rax, 1
xor rax, qword [rsp + 0x38]
mov ecx, 8
imul rcx, rcx, 0x9b
mov rdx, qword [rsp + 0x70]
xor rax, qword [rdx + rcx + 8]
mov ecx, 8
imul rcx, rcx, 0x137
mov rdx, qword [rsp + 0x70]
mov qword [rdx + rcx + 8], rax
mov rax, qword [rsp + 0x70]
mov dword [rax], 0
add rsp, 0x68
ret