joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002e10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1050
call fcn.180038b90
sub rsp, rax
mov rax, qword [0x180058a00]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8d, 0x600
mov ebx, eax
call sub.msvcrt.dll_memcpy
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x630]
call fcn.18002ab50
cmp qword [rax + 0x18], 7
jbe 0x180002e7a
mov rax, qword [rax]
lea rcx, [rdi + 0x214]
mov r8, rax
mov edx, 0x1f4
call sub.msvcrt.dll_wcscpy_s
mov rdx, qword [rsp + 0x648]
cmp rdx, 7
jbe 0x180002ed6
mov rcx, qword [rsp + 0x630]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002ed1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002f76
call fcn.180038704
lea rcx, [rsp + 0x658]
mov dword [rsp + 0x650], 2
mov rdx, rdi
mov r8d, 0x600
call sub.msvcrt.dll_memcpy
xor edx, edx
lea rcx, [rsp + 0xc58]
mov r8d, 0x3e8
call sub.msvcrt.dll_memset
mov r9d, 0x1f3
lea rcx, [rsp + 0xc58]
mov r8, rsi
lea edx, [r9 + 1]
call sub.msvcrt.dll_wcsncpy_s
mov rcx, qword [section..data]
lea r9, [0x180059a10]
mov r8d, 0x9f0
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x650]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180038bf0
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.18003ca40
int3

Function at 0x180002f80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
test rdx, rdx
je 0x180002f9a
lea rcx, str.removing_hook:__s
call fcn.180002830
mov rcx, qword [section..data]
lea r9, [0x180059a10]
mov r8d, 0x10
mov dword [rsp + 0x30], 3
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rsp, 0x40
pop rbx
ret

Function at 0x180003ce0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
test r8d, r8d
js 0x180003d05
cmp ebx, 0xc330
jbe 0x180003d17
mov r8, qword [rcx + 8]
mov edx, ebx
lea rcx, str.something_went_very_wrong__invalid_length__d_at_hook_address__I64d_
call fcn.180002830
movups xmm0, xmmword [rdi]
lea r8d, [rbx + 0x28]
mov rdx, rsi
movups xmm1, xmmword [rdi + 0x10]
lea r9, [0x180059a10]
mov qword [rsp + 0x20], 0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180006180
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
xor r8d, r8d
test rdx, rdx
jne 0x1800061b0
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
jmp 0x180006278
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1800061a0
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x1800061a0
mov ecx, dword [rax + rdx + 0x88]
test ecx, ecx
jne 0x1800061e2
mov qword [rbx], r8
mov qword [rbx + 8], r8
mov qword [rbx + 0x10], r8
jmp 0x180006278
lea r14, [rdx + rcx]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r8
mov esi, r8d
mov r9, qword [rsp + 0x30]
cmp dword [r14 + 0x18], r8d
jbe 0x180006268
mov rbp, r8
nop word [rax + rax]
mov eax, dword [r14 + 0x24]
add rax, rbp
movzx edx, word [rax + rdi]
mov ecx, dword [r14 + 0x1c]
add rcx, rdi
mov eax, dword [rcx + rdx*4]
add rax, rdi
mov qword [rsp + 0x68], rax
cmp r9, r8
je 0x180006240
mov qword [r9], rax
add r9, 8
mov qword [rsp + 0x30], r9
jmp 0x18000625c
lea r8, [rsp + 0x68]
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180004f40
mov r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
inc esi
add rbp, 2
cmp esi, dword [r14 + 0x18]
jb 0x180006210
mov rax, qword [rsp + 0x28]
mov qword [rbx], rax
mov qword [rbx + 8], r9
mov qword [rbx + 0x10], r8
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x180006380
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov ecx, 0x280
call fcn.1800386c8
mov r9, rax
test rax, rax
je 0x1800063f4
mov ecx, 5
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rbx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rbx, [rbx + 0x80]
sub rcx, 1
jne 0x1800063a0
jmp 0x1800063f7
xor r9d, r9d
mov qword [rsp + 0x60], r9
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x1800050a0]
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__beginthreadex
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180006459
cmp dword [rsp + 0x38], 0
je 0x18000644e
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.180037228
test eax, eax
jne 0x18000644e
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call fcn.180037588
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.180037588
int3
Function at 0x18000d070
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x18000d153
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18000d153
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x18000d171
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18000d143
cmp word [rax], 0x5c
jne 0x18000d13c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x18000d13c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18000d127
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x18000d139
test r8b, 0x10
jne 0x18000d13c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x18000d13c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.18000f930
test edi, edi
jne 0x18000d0a0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.18000e540
int3

Function at 0x18000ff90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x18000ffd4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18000ffc0
ret
Function at 0x1800139d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x630
mov rdi, rdx
mov rbx, rcx
lea rsi, [0x180ea7cb0]
mov qword [rsp + 0x650], rsi
mov rcx, rsi
call fcn.180037260
test eax, eax
jne 0x180013b37
mov eax, dword [0x180ea7cfc]
cmp eax, 0x7fffffff
je 0x180013b24
movzx edx, byte [rbx]
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbx + 1]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 2]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 3]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 4]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 5]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 6]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 7]
xor rdx, rax
imul rdx, rcx
and rdx, qword [0x180ea7d50]
shl rdx, 4
add rdx, qword [0x180ea7d38]
mov rax, qword [rdx + 8]
mov r8, qword [0x180ea7d28]
cmp rax, r8
je 0x180013ac2
mov rdx, qword [rdx]
mov rcx, qword [rbx]
cmp rcx, qword [rax + 0x10]
je 0x180013ac4
cmp rax, rdx
je 0x180013ac2
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x180013ab1
jmp 0x180013ac4
xor eax, eax
mov rcx, r8
test rax, rax
cmovne rcx, rax
cmp rcx, r8
jne 0x180013b08
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8d, 0x600
call sub.msvcrt.dll_memcpy
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.180002ae0
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [0x180ea7d20]
call fcn.180011f30
nop
mov rcx, rsi
lea r11, [rsp + 0x630]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
jmp fcn.180037268
dec eax
mov dword [0x180ea7cfc], eax
mov ecx, 6
call fcn.180037588
int3
mov ecx, 5
call fcn.180037588
int3
Function at 0x1800146d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x1800148af
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.180013b90
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x180014874
mov qword [rsp + 0x30], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x1800147ec
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180014863
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180014829
mov r10, qword [rdx]
cmp r10, rax
je 0x180014823
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180014863
cmp r9, rdx
je 0x18001483f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180014889
cmp r9, rdx
jne 0x180014830
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x180014770
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180014863
lea rcx, str.invalid_hash_bucket_count
call fcn.180036ff0
int3
Function at 0x180020f20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xb70]
sub rsp, 0xc70
mov rax, qword [0x180058a00]
xor rax, rsp
mov qword [rbp + 0xb68], rax
mov dword [rbp + 0xb50], 0x245c8948
mov dword [rbp + 0xb54], 0x57565520
mov dword [rbp + 0xb58], 0x55415441
mov dword [rbp + 0xb5c], 0x57415641
mov dword [rbp + 0xb60], 0x60ec8348
mov r8d, 0x14
mov rax, qword [0x180ea7fc8]
mov qword [rsp + 0x28], rax
mov rax, qword [0x180ea7db8]
mov qword [rsp + 0x20], rax
lea r9d, [r8 + 0xc]
lea rdx, [rbp + 0xb50]
lea rcx, [rsp + 0x30]
call fcn.180031aa0
nop
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x18002107f
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str.InsertArtemis64Hook__p
call fcn.180002830
xor edx, edx
mov r8d, 0x174
lea rcx, [rsp + 0x5c]
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x478
lea rcx, [rbp + 0xd8]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x50], rbx
mov qword [rbp + 0xd0], 0x640101
mov dword [rsp + 0x58], 0xffffffd8
lea rcx, [rbp + 0x550]
lea rdx, [rsp + 0x50]
mov r8d, 0x600
call sub.msvcrt.dll_memcpy
lea rdx, str.Artemis64
lea rcx, [rbp + 0x550]
call fcn.180002ae0
movzx ebx, al
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800210ca
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021078
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800210f9
call fcn.180038704
jmp 0x1800210ca
lea rcx, str.InsertArtemis64Hook_failed
call fcn.180002830
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800210c8
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800210c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800210f9
call fcn.180038704
xor bl, bl
call fcn.180020d50
test al, al
jne 0x1800210d7
test bl, bl
je 0x1800210d9
mov al, 1
mov rcx, qword [rbp + 0xb68]
xor rcx, rsp
call fcn.180038bf0
mov rbx, qword [rsp + 0xc80]
add rsp, 0xc70
pop rbp
ret
call fcn.18003ca40
int3
Function at 0x180021720
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
lea rcx, [rsp + 0x50]
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor esi, esi
mov ebx, esi
cmp qword [rsp + 0x60], rsi
jbe 0x180021813
mov qword [rsp + 0x90], rbp
lea rbp, [0x180021700]
nop
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18002177f
mov eax, dword [rsp + 0x54]
jmp 0x1800217fd
mov rax, qword [rsp + 0x38]
cmp rax, 0x1f00000
jne 0x1800217fd
cmp dword [rsp + 0x44], 4
jne 0x1800217fd
cmp dword [rsp + 0x48], 0x40000
jne 0x1800217fd
lea rcx, str.PPSSPP_memory_found:_searching_for_hooks_should_yield_working_hook_codes
mov dil, 1
call fcn.180002830
mov rax, qword [rsp + 0x38]
lea rcx, [rbx - 0x8000000]
mov qword [0x180058100], rcx
mov qword [0x1800580e8], 7
mov dword [0x1800580c0], 0x60ae8341
mov word [0x1800580c4], 3
mov byte [0x1800580c6], sil
mov qword [0x180058108], rsi
mov qword [0x180058110], 0xffffffffffffffff
mov qword [0x180058338], rbp
add rbx, rax
cmp rbx, qword [rsp + 0x60]
jb 0x180021760
mov rbp, qword [rsp + 0x90]
lea r11, [rsp + 0x80]
movzx eax, dil
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800230a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
movsxd rax, dword [rcx + 0x14]
cmp eax, 5
ja case.default.0x1800230ce
lea r8, [0x180000000]
mov edx, dword [r8 + rax*4 + 0x23290]
add rdx, r8
jmp rdx
mov byte [rcx + 0x11], 0
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp byte [rcx + 0x58], 0
jne 0x18002327b
mov rcx, qword [rcx + 0x18]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp fcn.1800318f0
lea rdx, [rcx + 0x18]
cmp byte [rdx + 0x40], 1
jne 0x18002327b
lea rcx, [rsp + 0x20]
call fcn.180022e10
nop
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
cmp rdi, rsi
je 0x180023148
mov rbx, rdi
mov rcx, qword [rbx]
call fcn.1800318f0
test al, al
je 0x18002319b
add rbx, 8
cmp rbx, rsi
jne 0x180023133
mov bl, 1
test rdi, rdi
je 0x180023188
mov rdx, qword [rsp + 0x30]
sub rdx, rdi
and rdx, 0xfffffffffffffff8
mov r8, rdi
cmp rdx, 0x1000
jb 0x180023180
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub r8, rdi
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x180023281
mov rcx, rdi
call fcn.180038704
movzx eax, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
xor bl, bl
jmp 0x18002314a
lea rdx, [rcx + 0x18]
cmp byte [rdx + 0x40], 1
jne 0x18002327b
lea rcx, [rsp + 0x20]
call fcn.180022e10
nop
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
cmp rdi, rsi
je 0x1800231e5
mov rbx, rdi
nop word [rax + rax]
mov rcx, qword [rbx]
call fcn.1800318f0
test al, al
jne 0x180023222
add rbx, 8
cmp rbx, rsi
jne 0x1800231d0
xor bl, bl
test rdi, rdi
je 0x180023188
mov rdx, qword [rsp + 0x30]
sub rdx, rdi
and rdx, 0xfffffffffffffff8
mov rax, rdi
cmp rdx, 0x1000
jb 0x180023180
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180023281
jmp 0x180023180
mov bl, 1
jmp 0x1800231e7
cmp byte [rcx + 0x58], 0
jne 0x18002327b
mov rcx, qword [rcx + 0x18]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp fcn.180031cd0
cmp byte [rcx + 0x58], 2
jne 0x18002327b
mov rcx, qword [rcx + 0x50]
test rcx, rcx
je 0x180023287
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp qword [rax + 0x10]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call fcn.180023070
int3
call fcn.18003ca40
int3
call fcn.180036fac
int3
Function at 0x180025230
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18002540f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180013b90
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800253d4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18002534c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800253c3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180025389
mov r10, qword [rdx]
cmp r10, rax
je 0x180025383
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800253c3
cmp r9, rdx
je 0x18002539f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1800253e9
cmp r9, rdx
jne 0x180025390
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1800252d0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800253c3
lea rcx, str.invalid_hash_bucket_count
call fcn.180036ff0
int3
Function at 0x1800259f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x1800599e1], 0
je 0x180025a44
mov rdx, qword [0x1800599d8]
xor r8d, r8d
add rdx, 0xa0
nop
cmp qword [rdx - 0xa0], 0
je 0x180025a37
mov rax, qword [rcx + 8]
cmp qword [rdx - 0x50], rax
jne 0x180025a37
mov rax, qword [rcx + 0x10]
cmp qword [rdx], rax
jne 0x180025a37
mov rax, qword [rcx + 0x18]
cmp qword [rdx + 0x50], rax
je 0x180025a4b
inc r8
add rdx, 8
cmp r8, 0xa
jl 0x180025a10
xor al, al
add rsp, 0x28
ret
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 0xf0
jne 0x180025a44
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 0xf0
je 0x180025a78
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 0xf0
je 0x180025a44
mov al, 1
add rsp, 0x28
ret

Function at 0x180025a80
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
call fcn.180035390
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.1800358c0
mov rbx, qword [0x180ea81e8]
mov rdi, qword [0x180ea81f0]
cmp rbx, rdi
je 0x180025ba9
movabs rbp, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
mov r8, qword [rbx]
movzx edx, r8b
mov rax, r8
xor rdx, rbp
shr rax, 8
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x10
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x18
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x20
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x28
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x30
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x38
mov rcx, qword [0x180ea8240]
imul rdx, rsi
xor rdx, rax
imul rdx, rsi
and rcx, rdx
shl rcx, 4
add rcx, qword [0x180ea8228]
mov rax, qword [rcx + 8]
cmp rax, qword [0x180ea8218]
je 0x180025bc2
mov rcx, qword [rcx]
cmp r8, qword [rax + 0x10]
je 0x180025b8f
nop
cmp rax, rcx
je 0x180025bc2
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
jne 0x180025b80
mov rdx, qword [rax + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180034ff0
add rbx, 8
cmp rbx, rdi
jne 0x180025ad2
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp fcn.180035410
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.180037014
int3
Function at 0x18002c420
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x180ea91cc]
mov ebx, edi
test ecx, ecx
je 0x18002c55b
mov rax, qword [0x180ea91c0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18002c478
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18002c450
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18002c55b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18002c7a0
mov r8d, dword [0x180ea91cc]
cmp ebx, r8d
jae 0x18002c4e8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180ea91c0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18002c4e1
mov edx, esi
mov ecx, ebx
call fcn.18002c690
mov edi, eax
test eax, eax
jne 0x18002c4e8
mov r8d, dword [0x180ea91cc]
inc ebx
cmp ebx, r8d
jb 0x18002c4b0
cmp qword [rsp + 0x20], 0
je 0x18002c55b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18002c547
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18002c538
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18002c510
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180ea8370]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret