joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029f70
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
mov rax, qword [0x1400f6858]
xor rax, rbp
mov qword [rbp + 0xc0], rax
mov qword [rbp], 0
cmp dword [rbp + 0xf0], 0
jl 0x140029fcd
cmp dword [rbp + 0xf0], 0x7c
jge 0x140029fcd
lea r8, [rbp]
mov edx, dword [rbp + 0xf0]
lea rcx, str.Pr3ss_4ny_k3y..
call fcn.14002a150
lea rcx, [rbp + 8]
call fcn.140008930
nop
cmp qword [rbp], 0
jne 0x14002a02b
lea rax, [rbp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x69]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x68]
movzx r8d, byte [rbp + 0x69]
movzx edx, byte [rbp + 0x6a]
lea rcx, [rbp + 0x70]
call fcn.140022180
mov rcx, rax
call fcn.140032960
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1400266c0
jmp 0x14002a038
mov rdx, qword [rbp]
lea rcx, [rbp + 8]
call fcn.1400266c0
cmp dword [rbp + 0x100], 1
jne 0x14002a09e
lea rax, [rbp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x81]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x80]
movzx r8d, byte [rbp + 0x81]
movzx edx, byte [rbp + 0x82]
lea rcx, [rbp + 0x90]
call fcn.1400223f0
mov rcx, rax
call fcn.1400327e0
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1400266c0
lea rcx, [rbp + 0xa8]
call fcn.14004cdc0
movss xmm2, dword [0x1400cebc4]
movss xmm1, dword [rax]
lea rcx, [rbp + 0xa0]
call fcn.1400254a0
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 8]
call fcn.140008430
mov qword [rbp + 0xb8], rax
mov rdx, qword [rbp + 0xb0]
mov rcx, qword [rbp + 0xb8]
call fcn.14009c1a0
movzx eax, al
test eax, eax
je 0x14002a122
cmp dword [rbp + 0x100], 0
jne 0x14002a122
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0xf8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rbp + 8]
call fcn.1400086a0
mov rcx, qword [rbp + 0xc0]
xor rcx, rbp
call fcn.1400c78e0
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret
Function at 0x14002d530
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x80
mov rbp, rsp
mov qword [rbp], 0x26f
mov qword [rbp + 8], 0xe3
mov qword [rbp + 0x10], 0
jmp 0x14002d565
mov rax, qword [rbp + 0x10]
inc rax
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0xe3
jae 0x14002d5e9
mov rax, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x10]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x10]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
and eax, 1
test eax, eax
je 0x14002d5b4
mov dword [rbp + 0x7c], 0x9908b0df
jmp 0x14002d5bb
mov dword [rbp + 0x7c], 0
mov eax, dword [rbp + 0x18]
shr eax, 1
xor eax, dword [rbp + 0x7c]
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x10]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x10]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002d55a
mov qword [rbp + 0x20], 0xe3
jmp 0x14002d5fe
mov rax, qword [rbp + 0x20]
inc rax
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0x26f
jae 0x14002d682
mov rax, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x20]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x20]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x28]
and eax, 1
test eax, eax
je 0x14002d64d
mov dword [rbp + 0x7c], 0x9908b0df
jmp 0x14002d654
mov dword [rbp + 0x7c], 0
mov eax, dword [rbp + 0x28]
shr eax, 1
xor eax, dword [rbp + 0x7c]
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x20]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x20]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002d5f3
mov qword [rbp + 0x30], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x90]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x90]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
and eax, 1
test eax, eax
je 0x14002d6d6
mov dword [rbp + 0x7c], 0x9908b0df
jmp 0x14002d6dd
mov dword [rbp + 0x7c], 0
mov eax, dword [rbp + 0x38]
shr eax, 1
xor eax, dword [rbp + 0x7c]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x90]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x90]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x90]
mov dword [rax], 0
lea rsp, [rbp + 0x80]
pop rbp
ret
Function at 0x14002e7a0
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x60]
mov rax, qword [0x1400f6858]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rbp], 0x50
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x98]
call fcn.140026d40
mov rcx, rax
call fcn.1400268d0
mov qword [rbp + 0x40], rax
lea rax, [0x14002cbe0]
mov qword [rbp + 8], rax
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_RegisterClassExA]
cmp qword [0x1400f71d0], 0
je 0x14002e86e
lea rdx, [0x1400f71d8]
mov rcx, qword [0x1400f71d0]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp + 0x50]
mov rcx, qword [0x1400f71d0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x50]
mov dword [0x1400f71d8], eax
mov eax, dword [rbp + 0x54]
mov dword [0x1400f71dc], eax
cvtsi2ss xmm0, dword [0x1400f71e0]
movss dword [0x1400f6eb8], xmm0
cvtsi2ss xmm0, dword [0x1400f71e4]
movss dword [0x1400f6ebc], xmm0
jmp 0x14002e879
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movss xmm0, dword [0x1400f6ebc]
subss xmm0, dword [0x1400ceb90]
cvttss2si eax, xmm0
mov dword [rbp + 0x100], eax
movss xmm0, dword [0x1400f6eb8]
subss xmm0, dword [0x1400ceb90]
cvttss2si eax, xmm0
mov dword [rbp + 0x104], eax
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xb0]
call fcn.140026f80
mov rcx, rax
call fcn.140026900
mov qword [rbp + 0x108], rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0xd8]
call fcn.140026f00
mov rcx, rax
call fcn.140026900
mov qword [rbp + 0x110], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rbp + 0x100]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x104]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
mov r9d, 0x90000000
mov r8, qword [rbp + 0x108]
mov rdx, qword [rbp + 0x110]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1400f8b18], rax
lea rdx, [0x1400cdd50]
mov rcx, qword [0x1400f8b18]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x1400f8b18]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 5
mov rcx, qword [0x1400f8b18]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400f8b18]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400c78e0
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140037ea0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x1a0
lea rbp, [rsp + 0x20]
mov rax, qword [0x1400f6858]
xor rax, rbp
mov qword [rbp + 0x178], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x130], rax
mov dword [rbp], 0x130
lea rdx, [rbp]
mov rcx, qword [rbp + 0x130]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140037f35
mov rdx, qword [rbp + 0x190]
lea rcx, [rbp + 0x2c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140037f21
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 8]
mov dword [0x1400f6ea8], eax
mov eax, dword [rbp + 8]
jmp 0x140037f44
lea rdx, [rbp]
mov rcx, qword [rbp + 0x130]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140037ef1
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.1400c78e0
lea rsp, [rbp + 0x180]
pop rbp
ret

Function at 0x140038180
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x70
lea rbp, [rsp + 0x30]
call fcn.14002e7a0
call fcn.140038200
call fcn.140029c90
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14002c140]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140029900]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.14003a4a0
call fcn.140037c70
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x14003a2b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x40]
call fcn.140089aa0
call fcn.14008adc0
call fcn.140058d20
call fcn.14002c6e0
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14003a301
lea rcx, [0x1400f8ab8]
call fcn.140037b90
movzx eax, al
test eax, eax
jne 0x14003a301
lea rcx, [0x1400f8ab8]
call fcn.14002e5a0
call fcn.14003a810
call fcn.14004a480
mov rax, qword [0x1400f8b20]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x48], rax
xor r8d, r8d
mov edx, 7
mov rcx, qword [0x1400f8b20]
call qword [rbp + 0x48]
mov rax, qword [0x1400f8b20]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x48], rax
xor r8d, r8d
mov edx, 0x1b
mov rcx, qword [0x1400f8b20]
call qword [rbp + 0x48]
mov rax, qword [0x1400f8b20]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x48], rax
xor r8d, r8d
mov edx, 0xae
mov rcx, qword [0x1400f8b20]
call qword [rbp + 0x48]
mov rax, qword [0x1400f8b20]
mov rax, qword [rax]
mov rax, qword [rax + 0x158]
mov qword [rbp + 0x48], rax
mov dword [rsp + 0x30], 0
movss xmm0, dword [0x1400ceb64]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1400f8b20]
call qword [rbp + 0x48]
mov rax, qword [0x1400f8b20]
mov rax, qword [rax]
mov rcx, qword [0x1400f8b20]
call qword [rax + 0x148]
test eax, eax
jl 0x14003a40c
call fcn.14005cb10
call fcn.14004d1b0
mov rcx, rax
call fcn.140089ac0
mov rax, qword [0x1400f8b20]
mov rax, qword [rax]
mov rcx, qword [0x1400f8b20]
call qword [rax + 0x150]
mov rax, qword [0x1400f8b20]
mov rax, qword [rax]
mov rax, qword [rax + 0x88]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1400f8b20]
call qword [rbp + 0x48]
mov dword [rbp], eax
cmp dword [rbp], 0x88760868
jne 0x14003a493
mov rax, qword [0x1400f8b20]
mov rax, qword [rax]
mov rcx, qword [0x1400f8b20]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14003a493
call fcn.1400899e0
mov rax, qword [0x1400f8b20]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x48], rax
lea rdx, [0x1400f71f0]
mov rcx, qword [0x1400f8b20]
call qword [rbp + 0x48]
call fcn.1400897b0
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x14003aee0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
sub rsp, 0x40
mov rbp, rsp
movsx eax, byte [rbp + 0x58]
mov ecx, dword [rbp + 0x50]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x14003b190
Capabilities:
Execute command

Disassembly:
push r13
push rbp
push rdi
sub rsp, 0x170
lea r13, [rsp + 0x20]
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
lea rcx, str.VALORANT_Win64_Shipping.exe
call fcn.140029d60
mov dword [rbp], eax
cmp dword [rbp], 0
je 0x14003b245
lea rcx, str.taskkill__F__IM_RiotClientServices.exe__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.taskkill__F__IM_VALORANT_Win64_Shipping.exe__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rbp + 0x120], rax
lea rax, [rbp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x45]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x44]
movzx r8d, byte [rbp + 0x45]
movzx edx, byte [rbp + 0x46]
lea rcx, [rbp + 0x60]
call fcn.140022150
mov rcx, rax
call fcn.1400329c0
mov qword [rbp + 0x128], rax
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call fcn.14001c460
jmp 0x14003b2be
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rbp + 0x120], rax
lea rax, [rbp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xc1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xc0]
movzx r8d, byte [rbp + 0xc1]
movzx edx, byte [rbp + 0xc2]
lea rcx, [rbp + 0xe0]
call fcn.1400223c0
mov rcx, rax
call fcn.140032510
mov qword [rbp + 0x128], rax
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call fcn.14001c460
lea rsp, [r13 + 0x150]
pop rdi
pop rbp
pop r13
ret
Function at 0x14004fba0
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
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x20]
mov r9, qword [rbp + 0x68]
mov r8, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x14004fbe0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x20]
mov r9, qword [rbp + 0x68]
mov r8, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x14004fe30
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x60
mov rbp, rsp
mov eax, dword [rbp + 0x80]
not eax
mov dword [rbp], eax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 8], rax
lea rax, [0x1400cec70]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x78]
dec rax
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x58], 0
je 0x14004feb6
mov eax, dword [rbp]
shr eax, 8
mov ecx, dword [rbp]
and ecx, 0xff
mov rdx, qword [rbp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x58], eax
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov eax, dword [rbp + 0x58]
mov dword [rbp], eax
jmp 0x14004fe65
mov eax, dword [rbp]
not eax
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x14004fed0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x70
mov rbp, rsp
mov eax, dword [rbp + 0x90]
not eax
mov dword [rbp + 0x90], eax
mov eax, dword [rbp + 0x90]
mov dword [rbp], eax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 8], rax
lea rax, [0x1400cec70]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x88], 0
je 0x14004ffd8
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x88]
dec rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x60], 0
je 0x14004ffd3
mov rax, qword [rbp + 8]
movzx eax, byte [rax]
mov byte [rbp + 0x5a], al
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
movzx eax, byte [rbp + 0x5a]
mov byte [rbp + 0x18], al
movzx eax, byte [rbp + 0x18]
cmp eax, 0x23
jne 0x14004ffad
cmp qword [rbp + 0x88], 2
jb 0x14004ffad
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14004ffad
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14004ffad
mov eax, dword [rbp + 0x90]
mov dword [rbp], eax
mov eax, dword [rbp]
shr eax, 8
mov ecx, dword [rbp]
and ecx, 0xff
movzx edx, byte [rbp + 0x18]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rbp], eax
jmp 0x14004ff22
jmp 0x140050060
mov rax, qword [rbp + 8]
movzx eax, byte [rax]
mov byte [rbp + 0x5a], al
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
movzx eax, byte [rbp + 0x5a]
mov byte [rbp + 0x19], al
movzx eax, byte [rbp + 0x19]
test eax, eax
je 0x140050060
movzx eax, byte [rbp + 0x19]
cmp eax, 0x23
jne 0x14005003a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14005003a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14005003a
mov eax, dword [rbp + 0x90]
mov dword [rbp], eax
mov eax, dword [rbp]
shr eax, 8
mov ecx, dword [rbp]
and ecx, 0xff
movzx edx, byte [rbp + 0x19]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rbp], eax
jmp 0x14004ffd8
mov eax, dword [rbp]
not eax
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x14008adc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
sub rsp, 0xa0
lea rbp, [rsp + 0x20]
mov rax, qword [0x1400f6858]
xor rax, rbp
mov qword [rbp + 0x70], rax
call fcn.14004da10
mov qword [rbp], rax
lea rdx, [rbp + 8]
mov rcx, qword [0x1400fd338]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0xc]
mov ecx, dword [rbp + 0x14]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rbp + 8]
mov ecx, dword [rbp + 0x10]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rbp + 0x64]
call fcn.1400254a0
mov rax, qword [rax]
mov rcx, qword [rbp]
mov qword [rcx + 8], rax
lea rcx, [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1400fd340]
mov rcx, qword [rbp + 0x18]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1400fd348]
divss xmm0, xmm1
mov rax, qword [rbp]
movss dword [rax + 0x10], xmm0
mov rax, qword [rbp + 0x18]
mov qword [0x1400fd340], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14008ae88
mov dword [rbp + 0x6c], 1
jmp 0x14008ae8f
mov dword [rbp + 0x6c], 0
mov rax, qword [rbp]
movzx ecx, byte [rbp + 0x6c]
mov byte [rax + 0x140], cl
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14008aebb
mov dword [rbp + 0x6c], 1
jmp 0x14008aec2
mov dword [rbp + 0x6c], 0
mov rax, qword [rbp]
movzx ecx, byte [rbp + 0x6c]
mov byte [rax + 0x141], cl
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14008aeee
mov dword [rbp + 0x6c], 1
jmp 0x14008aef5
mov dword [rbp + 0x6c], 0
mov rax, qword [rbp]
movzx ecx, byte [rbp + 0x6c]
mov byte [rax + 0x142], cl
mov rax, qword [rbp]
mov byte [rax + 0x143], 0
call fcn.14008b0a0
mov rax, qword [rbp]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x14008af2b
mov dword [rbp + 0x6c], 0xffffffff
jmp 0x14008af33
call fcn.14004dd10
mov dword [rbp + 0x6c], eax
mov eax, dword [rbp + 0x6c]
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x20]
cmp dword [0x1400f6748], eax
je 0x14008af52
mov eax, dword [rbp + 0x20]
mov dword [0x1400f6748], eax
call fcn.14008af90
mov rcx, qword [rbp + 0x70]
xor rcx, rbp
call fcn.1400c78e0
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x1400c5984
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c5a08
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400d6de0]
cmp byte [rcx + rax], 0
je 0x1400c5a08
dec r8
sub rdx, 1
jne 0x1400c59ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400c6a80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400c5d94
mov ebx, eax
test eax, eax
jne 0x1400c6ab0
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400c6b13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400c6b0a
test al, 0x10
je 0x1400c6b0a
bt eax, 0xa
jae 0x1400c6b03
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400c6b30
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400c6aff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400c6aff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
test edi, edi
jne 0x1400c6b0a
and dword [rsp + 0x3c], 0
jmp 0x1400c6b0f
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c8578
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c85c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c85c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c85c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c85c2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c85c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400c85c4
xor al, al
add rsp, 0x28
ret
Function at 0x40bbe0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], rcx
mov ebx, edx
mov rax, qword [rsp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.0040c180
mov esi, eax
test sil, sil
jne 0x40bda2
test ebx, ebx
je 0x40bda2
xor rdi, rdi
test r13d, r13d
jle 0x40bcbf
call sub.kernel32.dll_GetTickCount
mov r14d, eax
test r13d, r13d
jle 0x40bc9e
cmp ebx, 0xffffffff
je 0x40bc4b
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x40bc4b
xor rsi, rsi
jmp 0x40bda2
mov rax, qword [rsp + 0x28]
cmp dword [rax], 1
jg 0x40bc9e
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0
jne 0x40bc90
xor eax, eax
mov ecx, 1
mov rdx, qword [rsp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x40bc90
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x40bda2
call fcn.0040c310
sub r13d, 1
test r13d, r13d
jg 0x40bc32
nop
cmp ebx, 0xffffffff
je 0x40bcbf
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x40bcba
xor rsi, rsi
jmp 0x40bda2
sub eax, r14d
sub ebx, eax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x40bbfb
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40bcbf
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rsp + 0x28]
call fcn.0040be50
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x007ab9a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x40bd2c
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x40bd29
sub eax, r14d
sub ebx, eax
jmp 0x40bd2c
xor rbx, rbx
test sil, sil
je 0x40bd60
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x40bd5d
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40bd31
mov dil, 1
nop
jmp 0x40bd7f
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x40bd60
mov dil, 1
test dil, dil
je 0x40bce4
nop
test sil, sil
je 0x40bda2
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret