joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140085480
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov edi, edx
and edi, 7
je 0x140085514
cmp edx, edi
jge 0x140085505
mov r8d, dword [rcx + 0x14]
mov eax, 1
mov ecx, edx
mov r10d, edx
shl eax, cl
mov r9d, edx
cmp r8d, eax
jae 0x1400854fb
mov r11, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r11
jb 0x1400854c3
xor cl, cl
jmp 0x1400854cc
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r10 + 8]
mov ecx, r10d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x14], r8d
cmp edx, 0x18
jg 0x140085505
mov ecx, edx
mov eax, 1
shl eax, cl
mov r10d, edx
mov r9d, edx
cmp r8d, eax
jb 0x1400854b7
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x14]
mov ecx, edi
shr eax, cl
sub edx, edi
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov eax, edx
test edx, edx
jle 0x14008554e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x140085530
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14008557b
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x1400855af
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax + rax]
cmp rax, r8
jb 0x140085599
xor dl, dl
jmp 0x1400855a2
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x140085590
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x140085552
mov rcx, qword [rbx]
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x140085618
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x140085636
mov rcx, rbx
call fcn.1400848f0
test eax, eax
je 0x14008556e
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14008ebd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [0x1400f56d8], 0
mov rdi, qword [0x1400f5af8]
je 0x14008ede3
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
xor ebp, ebp
mov qword [r11 + 0x20], r14
mov qword [r11 + 0x18], rsi
lea r14d, [rbp + 8]
xor edx, edx
lea rcx, [0x1400a0348]
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
test rax, rax
je 0x14008edc2
movzx eax, byte [0x1400f5b9a]
mov rcx, qword [rdi + 0x50]
neg al
sbb edx, edx
and edx, 0x11
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rdi + 0x50]
mov edx, 0xffffffec
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
cmp byte [0x1400f57d0], bpl
je 0x14008ec7f
cmp eax, 0x80088
je 0x14008ec9b
cmp rsi, rbx
mov r8d, ebp
cmove r8d, r14d
or r8d, 0x80080
jmp 0x14008ec8c
cmp eax, 0x800a8
je 0x14008ec9b
mov r8d, 0x800a0
mov rcx, qword [rdi + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14008ecb8
cmp byte [0x1400f57d0], bpl
sete byte [0x1400f57d0]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rbp
lea rdx, [rsp + 0x48]
mov rcx, rbx
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [0x1400f56c8]
mov rax, qword [rsp + 0x40]
cmp dword [rsp + 0x48], ecx
jne 0x14008ed2a
mov ecx, dword [0x1400f56d4]
cmp dword [rsp + 0x54], ecx
jne 0x14008ed2a
mov ecx, dword [0x1400f56cc]
cmp dword [rsp + 0x4c], ecx
jne 0x14008ed2a
mov ecx, dword [0x1400f56d0]
cmp dword [rsp + 0x50], ecx
jne 0x14008ed2a
cmp eax, dword [0x1400f6f40]
jne 0x14008ed2a
mov ecx, dword [0x1400f6f44]
cmp dword [rsp + 0x44], ecx
je 0x14008ed7b
movups xmm0, xmmword [rsp + 0x48]
mov edx, 3
mov qword [0x1400f6f40], rax
mov rcx, rbx
movups xmmword [0x1400f56c8], xmm0
call qword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [0x1400f56d4]
mov rdx, rax
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], ecx
mov ecx, dword [0x1400f56d0]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x50]
mov rdx, rbp
mov dword [rsp + 0x30], 3
cmp rsi, rbx
mov dword [rsp + 0x28], ebp
sete dl
mov dword [rsp + 0x20], ebp
add rdx, 0xfffffffffffffffe
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1400f56d8], bpl
jne 0x14008ec11
jmp 0x14008edc9
mov byte [0x1400f56d8], bpl
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008fdb0
add rsp, 0x60
pop rdi
ret
Function at 0x14008f5a8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14008f5e2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14008f5e7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14008f630
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400959c0]
cmp byte [rcx + rax], 0
je 0x14008f630
dec r8
sub rdx, 1
jne 0x14008f616
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140090a70
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140090aba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140090aba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140090aba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140090aba
cmp dword [rcx + 0x84], 0xe
jbe 0x140090aba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140090abc
xor al, al
add rsp, 0x28
ret
Function at 0x1800017d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x18009d010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
lea rsi, [0x180000000]
xor ebx, ebx
cmp qword [rsi + rbx*8 + 0x9dce0], 0
jne 0x18000182d
mov r8, qword [rsi + rbx*8 + 0x92690]
lea rdx, str.ERROR:_Could_not_find__s_
inc edi
lea rcx, str.PatternSolver::CheckMissingPatterns
call fcn.18004f5e0
inc rbx
cmp rbx, 0x2d
jl 0x180001805
test edi, edi
jle 0x1800018ff
xor eax, eax
mov dword [rbp + 0x27], 0
mov qword [rbp + 0x1f], rax
lea rdx, [rbp + 0x27]
xorps xmm0, xmm0
mov qword [rbp - 0x65], 0x8011
lea rax, str.Launch_anyway_nThe_game_might_crash_or_have_missing_features_
mov dword [rbp + 0x2f], 1
mov qword [rbp + 0x33], rax
lea rcx, [rbp - 0x79]
lea rax, str.Exit
mov dword [rbp + 0x3b], 7
mov qword [rbp + 0x3f], rax
xor r9d, r9d
lea rax, str.Warning
mov dword [rbp - 0x79], 0xa0
mov qword [rbp - 0x5d], rax
xor r8d, r8d
lea rax, [0x180065930]
mov qword [rbp - 0x55], 0xffff
mov qword [rbp - 0x4d], rax
lea rax, str.Could_not_start_MK1Hook__n_nOne_or_more_code_patterns_could_not_be_found__this_might_indicate_that_game_version_is_not_supported_or_the_plugin_has_not_been_updated._n_nMK1Hook_officially_is_only_tested_with_latest_Steam_version._nCheck_log_for_more_details._n
mov qword [rbp - 0x45], rax
lea rax, [rbp + 0x2f]
mov qword [rbp - 0x39], rax
movups xmmword [rbp - 0x75], xmm0
mov dword [rbp - 0x3d], 2
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
call qword [sym.imp.COMCTL32.dll_Ordinal_345]
test eax, eax
js 0x1800018ff
mov ecx, dword [rbp + 0x27]
sub ecx, 1
je 0x1800018ff
cmp ecx, 6
jne 0x1800018ff
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.180001180
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800623c0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1800061a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800061fd
lea rbx, [0x180087480]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800061e4
cmp r10, 2
jb 0x1800061e4
cmp byte [r9], r8b
jne 0x1800061e4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800061c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000623f
lea rbx, [0x180087480]
cmp r8b, 0x23
jne 0x180006223
cmp byte [r9], r8b
jne 0x180006223
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180006210
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180006380
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000639a
mov qword [r8], 0
lea rdx, [0x18008ced0]
call fcn.180006250
mov rbx, rax
test rax, rax
jne 0x1800063ba
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180006491
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180006491
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180006491
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180006491
cmp rdi, 0xffffffffffffffff
je 0x180006491
mov rax, qword [0x18009da28]
test rax, rax
je 0x18000642e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180006491
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18000647e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18009da28]
test rax, rax
je 0x180006473
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000649a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000648c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000649c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180009c10
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x180087480]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x180009ca6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18001e260
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180009cb0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x180087480]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x180016cb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18009d010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18009da28]
mov edi, ecx
cmp byte [rbx + 0x4a75], 0
jne 0x180016d11
cmp byte [rbx + 0x4a76], 0
jne 0x180016d11
movsx r9d, word [rbx + 0x5b9a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180006000
test dil, 1
je 0x180016e3f
jmp 0x180016d9a
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b9a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180093090]
mulss xmm1, dword [0x180093078]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x180092fc4]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.180006000
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180016df0
lea r11, [0x180087480]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180016dd3
cmp byte [r8], r9b
jne 0x180016dd3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180016dc0
not ecx
call fcn.18000d950
test rax, rax
je 0x180016e3f
cmp byte [rax + 0xb6], 0
je 0x180016e3f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b9a]
movsx r9d, word [rbx + 0x5b9a]
call fcn.180006000
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180010160
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800623c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001cb90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c80], 0
lea rbx, [rcx + 0x5c88]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001cc37
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001cbea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001f100
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180006e60
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c80]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c90]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18009da20]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001cc3f
mov rcx, rbx
call fcn.180006e60
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001d0c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18009da28]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001d123
mov qword [rsp], rbx
lea rbx, [0x180087480]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001d103
cmp byte [r8], r9b
jne 0x18001d103
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18001d0f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bf8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18001d157
mov r10, qword [r10 + 0x5c00]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001d15e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18001d144
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x18004b4e0
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x18004b56c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18004b540
lea r11, [0x180087480]
nop
cmp r9b, 0x23
jne 0x18004b523
cmp byte [r8], r9b
jne 0x18004b523
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18004b510
mov rcx, qword [0x18009da28]
not eax
cmp dword [rcx + 0x3f30], eax
jne 0x18004b557
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x18004b5c9
mov byte [rcx + 0x3f64], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x18009da28]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ed0]
movsxd rcx, dword [rbx + 0xf0]
mov rax, qword [rbx + 0xf8]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, rdi
call fcn.1800061a0
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f18], eax
jne 0x18004b5c2
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.18001e260
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18004fbc0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov ebx, ecx
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
lea rdi, [0x1800adf10]
mov ecx, eax
mov r8d, 0x80
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
mov ecx, eax
cmp ebx, 0x26
jne 0x18004fc08
lea rax, [0x18008ca30]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 0x28
jne 0x18004fc1f
lea rax, str.Down
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 0x25
jne 0x18004fc36
lea rax, str.Left
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 0x27
jne 0x18004fc4d
lea rax, str.Right
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
lea rax, str.Unknown
test ecx, ecx
cmovne rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x18004fc70
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x18009d010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18004fcbf
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800afc40]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004fcfd
cmp rsi, r14
jb 0x18004fcf5
cmp rsi, r15
jae 0x18004fcf5
cmp qword [rsi + 8], 0
jne 0x18004fec7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18004fce0
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x18004fd92
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18004fd89
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004fd89
cmp dword [rsp + 0x40], 0x10000
je 0x18004fe0b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x18004fd89
sub rbx, rbp
cmp rbx, r14
jae 0x18004fd50
test rsi, rsi
jne 0x18004fe70
cmp rdi, r15
ja 0x18004feaf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18004feaf
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004feaf
cmp dword [rsp + 0x40], 0x10000
je 0x18004fe41
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18004fdc2
jmp 0x18004feaf
test rbx, rbx
je 0x18004fd89
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18004fe70
cmp rbx, r14
jae 0x18004fd30
jmp 0x18004fd92
test rdi, rdi
je 0x18004feaf
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18004fe70
cmp rdi, r15
jbe 0x18004fda0
jmp 0x18004feaf
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x18004fe80
mov rax, qword [0x1800afc40]
mov qword [rsi], rax
mov qword [0x1800afc40], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800623c0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret