joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180007f60
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 0x180007f82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x180007f91
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 0x180007fb4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180007fb6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180007ff2
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 0x18000808e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18000802d
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 0x18000806e
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 0x18000808e
cmp rbx, rax
ja 0x180008040
test rbx, rbx
je 0x18000808e
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
rol dh, cl
invalid
Function at 0x1800084c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800084ed
xor eax, eax
jmp 0x180008659
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180008527
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180008527
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 0x180008659
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18000864c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000856a
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 0x180008595
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 0x180008651
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 0x180008604
sub eax, 1
je 0x180008604
cmp eax, 2
jne 0x18000864c
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 0x180008651
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180008632
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 0x18000864c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180008651
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180095810
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18000a1e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18000a2b3
cmp byte [rcx + 0x71], 0
je 0x18000a2b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000a2af
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 0x18000a274
sub eax, 1
je 0x18000a278
cmp eax, 2
jne 0x18000a2af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180095810
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18000a2a6
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 0x18000a2af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18000a25c
xor al, al
jmp 0x18000a25c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180095810
add rsp, 0x60
pop rbx
ret
Function at 0x18001bf80
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 0x18001bfb5
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.18000b9a0
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 0x18001c0f6
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
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
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001c070
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18001c0e5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18001c0ad
mov r10, qword [rdx]
cmp r10, rax
je 0x18001c0a7
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 0x18001c0e5
cmp r9, rdx
je 0x18001c0c1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18001c107
cmp r9, rdx
jne 0x18001c0b2
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 0x18001c020
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 0x18001c0e5
Function at 0x180025230
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
mov ecx, dword [0x1801f86c8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1801f8710], ecx
jle 0x1800253a4
lea rcx, [0x1801f8710]
call fcn.180095f3c
cmp dword [0x1801f8710], 0xffffffff
jne 0x1800253a4
movabs rax, 0x155af1872b90fa64
mov qword [rsp + 0x20], rax
movabs rax, 0xf8398206c143e400
mov qword [rsp + 0x28], rax
movabs rax, 0x14b4241cfd4a2999
mov qword [rsp + 0x30], rax
movabs rcx, 0x25102f31d9eec2d6
mov qword [rsp + 0x38], rcx
movabs rax, 0x7c2e9fe274e49f03
mov qword [rsp + 0x50], rax
movabs rax, 0x9650dd7fa31c9d74
mov qword [rsp + 0x58], rax
movabs rax, 0x14b4241cfd324cfd
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
movdqa xmm0, xmmword [rsp + 0x20]
xorps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [rsp + 0x30]
xorps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x30], xmm1
mov r9, qword [0x1801f8c68]
mov r8d, 0x811c9dc5
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180025330
xor esi, esi
mov edx, esi
test rax, rax
je 0x180025368
mov ecx, esi
nop dword [rax]
nop dword [rax + rax]
movsx ecx, byte [rsp + rcx + 0x20]
xor ecx, r8d
imul r8d, ecx, 0x1000193
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x180025350
mov eax, r8d
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [r9 + 0x70]
call fcn.1800260b0
mov r8, qword [rax]
mov rax, qword [r8 + 0x18]
test rax, rax
cmove rax, rsi
mov qword [0x1801f8700], rax
lea rcx, [0x1801f8710]
call fcn.180095ed0
mov rax, qword [0x1801f8700]
mov edx, edi
mov rcx, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp rax
Function at 0x180025e70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
xor edi, edi
mov qword [rsp + 0x20], rdx
mov r8d, edi
lea r10, str.CCSPlayerController
mov rsi, rdx
mov r9d, 0x811c9dc5
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [r10 + rax], dil
jne 0x180025ea0
test rax, rax
je 0x180025ecb
nop
mov eax, r8d
inc r8d
movsx edx, byte [rax + r10]
xor edx, r9d
imul r9d, edx, 0x1000193
cmp r8d, 0x13
jb 0x180025eb0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], r9d
call fcn.180025fb0
mov qword [rsi], rdi
mov r14, rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov rbx, qword [rax + 8]
sub rbx, qword [rax]
sar rbx, 3
test rbx, rbx
je 0x180025f88
movabs rax, 0x1fffffffffffffff
cmp rbx, rax
ja 0x180025f9f
lea rbx, [rbx*8]
cmp rbx, 0x1000
jb 0x180025f48
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x180025f99
call fcn.180095830
test rax, rax
je 0x180025f41
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180025f58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x180025f58
mov rcx, rbx
call fcn.180095830
mov rdi, rax
mov qword [rsi], rdi
lea rax, [rbx + rdi]
mov qword [rsi + 8], rdi
mov rcx, rdi
mov qword [rsi + 0x10], rax
mov rdx, qword [r14]
mov rbx, qword [r14 + 8]
sub rbx, rdx
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
sar rbx, 3
lea rcx, [rdi + rbx*8]
mov qword [rsi + 8], rcx
mov rbx, qword [rsp + 0x60]
mov rax, rsi
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
call fcn.180001cb0
int3
call fcn.18000c1d0
int3
Function at 0x1800263f0
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 0x180026425
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.18000b9a0
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 0x180026594
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
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 0x18002650c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180026583
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180026549
mov r10, qword [rdx]
cmp r10, rax
je 0x180026543
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 0x180026583
cmp r9, rdx
je 0x18002655f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1800265a5
cmp r9, rdx
jne 0x180026550
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 0x180026490
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 0x180026583
Function at 0x18002bd40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov qword [rsp + 0x40], rdx
xor r15d, r15d
mov rdx, qword [r9 + 8]
sub rdx, qword [r9]
lea r9, [rsp + 0x40]
lea r8d, [r15 + 4]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xorps xmm0, xmm0
mov rdi, qword [rsi + 8]
sub rdi, qword [rsi]
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
je 0x18002bdc8
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180012ae0
mov rbx, qword [rsp + 0x28]
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + rdi]
mov qword [rsp + 0x30], rax
mov r8, qword [rsi + 8]
sub r8, qword [rsi]
mov rdx, rbp
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
mov rcx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi + 8]
sub rdx, qword [rsi]
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [r14], rbp
mov qword [r14 + 8], r15
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], r15
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
sub rdx, rcx
je 0x18002be58
lea rcx, [r14 + 8]
call fcn.180012ae0
mov rdi, qword [r14 + 8]
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [r14 + 0x10], rax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18002be92
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002be8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002be8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180095cb4
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180095810
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180034bb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
movss xmm0, dword [0x1800f5154]
mov rsi, r8
movss xmm1, dword [0x1800f51e4]
mov rdi, r9
unpcklps xmm1, xmm0
movq r8, xmm1
call fcn.180034e30
movzx r14d, al
mov rax, qword [0x1801f8780]
mov rcx, qword [rax + 0x4000]
movss xmm1, dword [rcx + 0x114]
subss xmm1, dword [rcx + 0x2c]
addss xmm1, dword [rcx + 0x90]
mov byte [rcx + 0xc0], 1
mov rax, qword [rax + 0x4000]
subss xmm1, dword [0x1800f5150]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
mov byte [rax + 0x151], 1
addss xmm0, xmm1
movss xmm1, dword [0x1800f51ac]
movss dword [rax + 0x114], xmm0
movss xmm0, dword [0x1800f519c]
call fcn.180055850
movss xmm1, dword [0x1800f50a0]
mov ecx, 0xd
call fcn.180046380
movss xmm1, dword [0x1800f50e8]
mov ecx, 0xc
call fcn.180046380
mov rbp, qword [0x1801f8780]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x15
movups xmm0, xmmword [rbp + 0x3b1c]
lea rcx, [rbp + 0x4a78]
movups xmmword [rsp + 0x24], xmm0
call fcn.18005e450
xor ebx, ebx
cmp dword [rbp + 0x4a74], 0x15
je 0x180034cc0
mov qword [rbp + 0x3b1c], rbx
mov qword [rbp + 0x3b24], rbx
mov rcx, qword [0x1801f8780]
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x78], 0x42820000
mov dword [rsp + 0x7c], 0x42200000
mov rax, qword [rcx + 0x4000]
movss xmm1, dword [rax + 0x110]
subss xmm1, dword [rax + 0x28]
addss xmm1, dword [rax + 0x8c]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4000]
subss xmm1, dword [0x1800f5110]
movss xmm0, dword [rax + 0x28]
subss xmm0, dword [rax + 0x8c]
mov byte [rax + 0x151], 1
addss xmm0, xmm1
movss dword [rax + 0x110], xmm0
cmp byte [rdi], bl
je 0x180034d5e
lea rcx, [0x1800f2838]
call fcn.180034890
nop
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180034d52
mov dword [rsi], ebx
mov byte [rdi], 0
inc ebx
cmp ebx, 0x530
jbe 0x180034d40
jmp 0x180034d7c
movsxd rax, dword [rsi]
lea rcx, str.None
mov rcx, qword [rcx + rax*8]
call fcn.180034890
test al, al
je 0x180034d7c
cmp byte [rdi], bl
jne 0x180034d7c
mov byte [rdi], 1
mov rbx, qword [0x1801f8780]
movsxd rax, dword [rbx + 0x4a78]
cmp eax, 1
jl 0x180034db5
mov rcx, qword [rbx + 0x4a80]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [rbx + rax*8 + 0x39cc], xmm0
dec dword [rbx + 0x4a78]
mov ecx, 2
call fcn.180046490
mov rax, qword [rbx + 0x4000]
mov rbp, qword [rsp + 0x68]
movss xmm1, dword [rax + 0x114]
subss xmm1, dword [rax + 0x2c]
addss xmm1, dword [rax + 0x90]
mov byte [rax + 0xc0], 1
mov rax, qword [rbx + 0x4000]
mov rbx, qword [rsp + 0x60]
subss xmm1, dword [0x1800f5130]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
mov byte [rax + 0x151], 1
addss xmm0, xmm1
movss dword [rax + 0x114], xmm0
movzx eax, r14b
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1800390c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x180039147
mov rbx, r15
mov rbp, r15
jmp 0x18003918a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x180039161
cmp rbx, rcx
je 0x180039184
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180039153
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
jne 0x1800391a8
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.180095830
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r13]
mov dword [rdi + 0x10], eax
xor r13d, r13d
mov dword [rdi + 0x14], r13d
mov rdx, qword [rsi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x1800391ea
cvtsi2ss xmm0, rdx
jmp 0x180039202
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x180039215
cvtsi2ss xmm1, rcx
jmp 0x18003922a
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x180039294
mov rcx, rsi
call fcn.180039900
mov rdx, rax
mov rcx, rsi
call fcn.18001bf80
mov rdx, qword [rsi + 0x30]
and rdx, r12
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x180039287
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x180039284
mov rbx, rax
cmp rax, rdx
je 0x1800392c8
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180039273
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x1800392cf
mov qword [rcx + rax*8], rdi
jmp 0x1800392e1
mov qword [rsp + 0x20], rax
jmp 0x18003928c
cmp r8, rbp
jne 0x1800392da
mov qword [rcx + rax*8], rdi
jmp 0x1800392e6
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1800392e6
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x180039169