joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004e1d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1800ff020]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x58], r8d
mov r10d, r8d
shr r10d, 0x18
mov eax, r8d
shr eax, 0x10
movzx edx, al
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
movabs r11, 0xcbf29ce484222325
xor rax, r11
movabs r11, 0x100000001b3
imul rax, r11
xor rax, rcx
imul rax, r11
xor rax, rdx
imul rax, r11
xor rax, r10
imul rax, r11
mov rcx, qword [rdi + 0x30]
and rcx, rax
shl rcx, 4
add rcx, qword [rdi + 0x18]
mov rax, qword [rcx + 8]
mov rdx, qword [rdi + 8]
cmp rax, rdx
je 0x18004e279
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x18004e27b
cmp rax, rcx
je 0x18004e279
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x18004e268
jmp 0x18004e27b
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x18004e2c8
lea rcx, [rax + 0x18]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18004e2ae
mov qword [rdx], r9
mov rax, qword [rsp + 0xb0]
mov qword [rdx + 8], rax
add qword [rcx + 8], 0x10
jmp 0x18004e382
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xa8]
call fcn.18004f7c0
jmp 0x18004e382
mov qword [rsp + 0x38], r9
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov edx, 1
call fcn.18004f750
mov qword [rsp + 0x20], rax
lea rbx, [rax + 0x10]
mov qword [rsp + 0x30], rbx
mov r8d, 0x10
lea rdx, [rsp + 0x38]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.18004eb50
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18004e365
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e360
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004e360
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800901f8
mov r9, rsi
lea r8, str.Hooked:__s
lea rdx, str.Natives
mov rcx, qword [0x18011bad0]
call fcn.180051e60
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18008fcd0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x18004f3c0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18004f3f5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180005fa0
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 0x18004f564
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18004f4d9
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18004f553
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18004f516
mov r10, qword [rdx]
cmp r10, rax
je 0x18004f510
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 0x18004f553
cmp r9, rdx
je 0x18004f52f
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18004f575
cmp r9, rdx
jne 0x18004f520
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 0x18004f460
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
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 0x18004f553
Function at 0x18004f5a0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18004f5d5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180005fa0
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 0x18004f714
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18004f68d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18004f703
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18004f6ca
mov r10, qword [rdx]
cmp r10, rax
je 0x18004f6c4
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 0x18004f703
cmp r9, rdx
je 0x18004f6df
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18004f725
cmp r9, rdx
jne 0x18004f6d0
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 0x18004f640
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
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 0x18004f703
Function at 0x1800533b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1800533d2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1800533e8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180053404
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180053406
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180053442
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1800534de
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18005347d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1800534be
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1800534de
cmp rbx, rax
ja 0x180053490
test rbx, rbx
je 0x1800534de
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret

Function at 0x180053500
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180053528
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18005354e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180053550
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1800535a9
test ecx, ecx
jle 0x180053589
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1800535a9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800535a9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x180053b30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800ff020]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x180053b5d
xor eax, eax
jmp 0x180053cc9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180053b97
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180053b97
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x180053cc9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180053cbc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180053bda
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180053c05
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180053cc1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180053c74
sub eax, 1
je 0x180053c74
cmp eax, 2
jne 0x180053cbc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180053cc1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180053ca2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x180053cbc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180053cc1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18008fcd0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180053cf0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800ff020]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180053dc3
cmp byte [rcx + 0x71], 0
je 0x180053dc3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180053dbf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180053d84
sub eax, 1
je 0x180053d88
cmp eax, 2
jne 0x180053dbf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18008fcd0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180053db6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180053dbf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180053d6c
xor al, al
jmp 0x180053d6c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18008fcd0
add rsp, 0x60
pop rbx
ret

Function at 0x180054040
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18005406f
xor eax, eax
mov qword [0x180135ff0], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x1800544a0]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180088820
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov edx, 0xffffffff
lea rcx, str.CHAR_FM_VEHICLE_1_UNLCK
call fcn.1800824f0
mov edx, 0xffffffff
lea rcx, str.CHAR_FM_VEHICLE_2_UNLCK
add rsp, 0x28
jmp fcn.1800824f0

Function at 0x18008c450
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
cmp qword [rcx + 8], 0
je 0x18008c4bd
mov rdi, qword [rcx + 0x60]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x18008c4bd
nop word [rax + rax]
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x20], xmm0
mov rax, qword [0x18011bac0]
mov r8, qword [rax + 0x18]
movq rdx, xmm0
mov rcx, qword [rax + 0xc8]
call r8
movups xmm0, xmmword [rsp + 0x20]
psrldq xmm0, 8
movq rcx, xmm0
mov qword [rcx], rax
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x18008c480
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x18008c60b
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rcx], rax
mov rdx, qword [rsi + 8]
mov r8, rdx
shr r8, 0x38
mov r9, rdx
shr r9, 0x30
mov r10, rdx
shr r10, 0x28
mov r11, rdx
shr r11, 0x20
mov rbx, rdx
shr rbx, 0x18
mov rdi, rdx
shr rdi, 0x10
mov rax, rdx
shr rax, 8
test rdx, rdx
je 0x18008c60b
movzx ecx, dl
movabs rbp, 0xcbf29ce484222325
xor rcx, rbp
movabs rbp, 0x100000001b3
imul rcx, rbp
movzx eax, al
xor rcx, rax
imul rcx, rbp
movzx eax, dil
xor rcx, rax
imul rcx, rbp
movzx eax, bl
xor rcx, rax
imul rcx, rbp
movzx eax, r11b
xor rcx, rax
imul rcx, rbp
movzx eax, r10b
xor rcx, rax
imul rcx, rbp
movzx eax, r9b
xor rcx, rax
imul rcx, rbp
xor r8, rcx
imul r8, rbp
and r8, qword [0x18011bb40]
shl r8, 4
add r8, qword [0x18011bb28]
mov r10, qword [r8 + 8]
mov rcx, r10
mov r9, qword [0x18011bb18]
cmp r10, r9
je 0x18008c5b6
mov rax, qword [r8]
cmp rdx, qword [r10 + 0x10]
je 0x18008c5b8
cmp rcx, rax
je 0x18008c5b6
mov rcx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
jne 0x18008c5a5
jmp 0x18008c5b8
xor ecx, ecx
test rcx, rcx
je 0x18008c60b
mov rax, qword [r8]
cmp r10, rcx
jne 0x18008c5dd
cmp rax, rcx
jne 0x18008c5d3
mov qword [r8], r9
mov qword [r8 + 8], r9
jmp 0x18008c5e8
mov r9, qword [rcx + 8]
mov qword [r8 + 8], r9
jmp 0x18008c5e8
cmp rax, rcx
jne 0x18008c5e8
mov rax, qword [rcx]
mov qword [r8], rax
mov rdx, qword [rcx]
dec qword [0x18011bb20]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x20
call fcn.1800901f8
lea rcx, [rsi + 0x58]
call fcn.1800056f0
lea rcx, [rsi + 0x18]
call fcn.1800056f0
mov rbx, qword [rsi + 0x10]
test rbx, rbx
je 0x18008c642
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18008c634
call fcn.1800901f8
mov edx, 0x20
mov rcx, rbx
call fcn.1800901f8
nop
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18008d1b0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18008d1e1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18011bb18]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18011bb28]
lea rdx, [rdi + rdi]
call fcn.180005fa0
mov rax, qword [0x18011bb18]
lea r9, [rdi - 1]
mov qword [0x18011bb40], r9
mov qword [0x18011bb48], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18008d382
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18011bb28]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18008d2cc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18008d343
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18008d309
mov r10, qword [rdx]
cmp r10, rax
je 0x18008d303
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 0x18008d343
cmp r9, rdx
je 0x18008d31f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18008d357
cmp r9, rdx
jne 0x18008d310
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
je 0x18008d37d
mov r9, qword [0x18011bb40]
jmp 0x18008d251
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 0x18008d343
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18008da20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov dword [rcx + 0xd8], 0
mov rdi, rcx
mov word [rcx + 0xdc], 0
mov byte [rcx + 0xde], 0
mov rbx, qword [0x18011bac0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0xf8]
jne 0x18008da71
mov ecx, 0x7a
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18008da71
mov al, 1
jmp 0x18008da73
xor al, al
mov byte [rdi + 0xd8], al
mov rbx, qword [0x18011bac0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0xf8]
jne 0x18008daa3
mov ecx, 8
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18008daa3
mov al, 1
jmp 0x18008daa5
xor al, al
mov byte [rdi + 0xd9], al
mov rbx, qword [0x18011bac0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0xf8]
jne 0x18008dad5
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18008dad5
mov al, 1
jmp 0x18008dad7
xor al, al
mov byte [rdi + 0xda], al
mov rbx, qword [0x18011bac0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0xf8]
jne 0x18008db07
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18008db07
mov al, 1
jmp 0x18008db09
xor al, al
mov byte [rdi + 0xdb], al
mov rbx, qword [0x18011bac0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0xf8]
jne 0x18008db39
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18008db39
mov al, 1
jmp 0x18008db3b
xor al, al
mov byte [rdi + 0xdc], al
mov rbx, qword [0x18011bac0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0xf8]
jne 0x18008db6b
mov ecx, 0x25
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18008db6b
mov al, 1
jmp 0x18008db6d
xor al, al
mov byte [rdi + 0xdd], al
mov rbx, qword [0x18011bac0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0xf8]
jne 0x18008dbab
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18008dbab
mov byte [rdi + 0xde], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov byte [rdi + 0xde], 0
add rsp, 0x20
pop rdi
ret

Function at 0x18008f2d0
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 0x18008f354
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18009c9a0]
cmp byte [rcx + rax], 0
je 0x18008f354
dec r8
sub rdx, 1
jne 0x18008f33a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret