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

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140032e55
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 + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.140032400
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 0x140032f74
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0x100000001b3
movabs rbx, 0xcbf29ce484222325
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rbx
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rdi
jne 0x140032ef2
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140032f63
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x140032f2b
mov r10, qword [rdx]
cmp r10, rax
je 0x140032f25
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 0x140032f63
cmp r8, rdx
je 0x140032f3f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140032f85
cmp r8, rdx
jne 0x140032f30
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 0x140032ec0
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
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 0x140032f63

Function at 0x140033860
Capabilities:
Hash data using fnv

Disassembly:
movzx eax, byte [rcx]
test al, al
jne 0x14003386a
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.140033860
Function at 0x14003e2a0
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 0x14003e2c8
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 0x14003e2ee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14003e2f0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14003e349
test ecx, ecx
jle 0x14003e329
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 0x14003e349
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14003e349
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 0x14003e370
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 0x14003e392
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14003e3a8
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 0x14003e3c4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003e3c6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003e402
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 0x14003e49e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14003e43d
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 0x14003e47e
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 0x14003e49e
cmp rbx, rax
ja 0x14003e450
test rbx, rbx
je 0x14003e49e
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 0x14003e8c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1402e8018]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14003e8ed
xor eax, eax
jmp 0x14003ea59
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14003e927
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14003e927
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 0x14003ea59
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14003ea4c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003e96a
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 0x14003e995
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 0x14003ea51
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 0x14003ea04
sub eax, 1
je 0x14003ea04
cmp eax, 2
jne 0x14003ea4c
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 0x14003ea51
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14003ea32
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 0x14003ea4c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14003ea51
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140220090
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14003ee00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1402e8018]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14003eed3
cmp byte [rcx + 0x71], 0
je 0x14003eed3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14003eecf
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 0x14003ee94
sub eax, 1
je 0x14003ee98
cmp eax, 2
jne 0x14003eecf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140220090
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14003eec6
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 0x14003eecf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14003ee7c
xor al, al
jmp 0x14003ee7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140220090
add rsp, 0x60
pop rbx
ret
Function at 0x140066ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
movabs rax, 0xa2df8f90916de75
lea rdx, [rbp - 0x29]
mov qword [rbp - 0x39], rax
mov rbx, rcx
mov rax, qword [rbp - 0x39]
movabs rcx, 0x2ffd433a0694ed8
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], rcx
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x21], rax
movabs rax, 0xa2df8966e73b723
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0x37], rax
mov qword [rbp - 0x39], rcx
lea rcx, [rbx + 0x1e8]
mov rax, qword [rbp - 0x39]
movdqa xmm0, xmmword [rbp - 0x29]
mov qword [rbp + 0x3f], rax
mov rax, 0xffffffffffffffff
pxor xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 0x29], xmm0
inc rax
cmp byte [rdx + rax], 0
jne 0x140066d64
cmp qword [rcx + 0x18], 0x10
mov r8, qword [rcx + 0x10]
jb 0x140066d7b
mov rcx, qword [rcx]
cmp r8, rax
jne 0x140066da9
lea rdx, [rbp - 0x29]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140066da9
mov dword [rbp - 0x49], 0x67656976
lea rcx, [rbp - 0x48]
mov dword [rbp - 0x45], 0x776f
mov edx, 0xf30c40c9
jmp 0x140066ed1
mov eax, dword [rbx + 0x208]
cmp eax, 0x28a0e785
ja 0x140066e4c
je 0x140066e30
cmp eax, 0x1e5a725
je 0x140066e27
cmp eax, 0x195002d0
je 0x140066df4
cmp eax, 0x1ab33d75
jne 0x140066e61
mov dword [rbp - 0x49], 0x6e6f6973
lea rcx, [rbp - 0x48]
mov word [rbp - 0x45], WSAStartup
mov edx, 0xf60c4582
mov byte [rbp - 0x43], 0
jmp 0x140066ed1
movdqa xmm0, xmmword [0x1402b9cc0]
lea rcx, [rbp + 0x38]
movdqu xmmword [rbp + 0x37], xmm0
mov dword [rbp + 0x47], 0x61686365
mov edx, 0xfd0c5087
mov dword [rbp + 0x4b], 0x75656772
mov word [rbp + 0x4f], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp + 0x51], 0
jmp 0x140066ed1
lea rcx, [rbp - 0x48]
jmp 0x140066eb7
mov dword [rbp - 0x49], 0x75726176
lea rcx, [rbp - 0x48]
mov dword [rbp - 0x45], 0x7173
mov edx, 0xf30c40c9
jmp 0x140066ed1
cmp eax, 0x37f8e38e
je 0x140066eb3
cmp eax, 0x96fbc243
je 0x140066e97
cmp eax, 0xe51eff33
je 0x140066e74
xor al, al
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rbp
ret
mov dword [rbp - 0x49], 0x746e6170
lea rcx, [rbp - 0x48]
mov dword [rbp - 0x45], 0x6e6f6568
mov edx, 0xf50c43ef
mov word [rbp - 0x41], WSAStartup
mov byte [rbp - 0x3f], 0
jmp 0x140066ed1
mov dword [rbp - 0x49], 0x656b7970
lea rcx, [rbp - 0x48]
mov word [rbp - 0x45], WSAStartup
mov edx, 0xf50c43ef
mov byte [rbp - 0x43], 0
jmp 0x140066ed1
lea rcx, [rbp - 0x48]
mov edx, 0xf70c4715
mov dword [rbp - 0x41], 0x656d
mov dword [rbp - 0x45], 0x616e6666
mov dword [rbp - 0x49], 0x75625f72
call fcn.140033860
mov r8d, eax
lea rdx, [rbp - 0x19]
lea rcx, [rbx + 0x170]
call fcn.140062c90
lea rcx, [rbp - 9]
movzx ebx, byte [rax + 0x4e]
call fcn.1400341f0
movzx eax, bl
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rbp
ret
Function at 0x140067640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402e8018]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, qword [0x1402f0cc0]
cmp dword [rdi + 0xac], 1
jne 0x140067672
xor al, al
jmp 0x140067769
mov edx, 4
mov qword [rsp + 0x70], rbx
mov dword [rbp - 0x40], 0x5e6db562
mov dword [rbp - 0x3c], 0x14f7cdaf
mov dword [rbp - 0x38], 0xdd919622
mov dword [rbp - 0x34], 0xdab5f5b9
call fcn.140032db0
mov r8d, reloc.WS2_32.dll_recv
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x18], rax
mov rcx, rax
lea rbx, [rax + 0x10]
mov qword [rbp - 0x10], rbx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [rdi + 0x20]
shr eax, 0xc
mov qword [rbp - 0x18], rbx
test al, 1
je 0x1400676f6
mov rax, qword [rbp - 0x20]
cmp rax, rbx
je 0x1400676f6
mov ecx, dword [rdi + 0x208]
nop dword [rax]
cmp dword [rax], ecx
je 0x1400676ed
add rax, 4
cmp rax, rbx
jne 0x1400676e0
cmp rax, rbx
jne 0x140067780
cmp dword [rdi + 0x208], 0xc04f2c7f
jne 0x140067756
movdqa xmm0, xmmword [0x1402b9cd0]
lea rcx, [rbp - 0x3f]
mov edx, 0xf30c40c9
mov dword [rbp - 0x30], 0x72726566
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x2c], 0x72757465
mov word [rbp - 0x28], WSAStartup
mov byte [rbp - 0x26], 0
call fcn.140033860
mov rcx, qword [rdi + 0x180]
mov rdx, qword [rdi + 0x188]
cmp rcx, rdx
je 0x140067756
cmp dword [rcx + 0x30], eax
je 0x140067780
add rcx, 0x50
cmp rcx, rdx
jne 0x140067748
mov bl, 1
lea rcx, [rbp - 0x20]
call fcn.140032310
movzx eax, bl
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140220090
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
xor bl, bl
jmp 0x140067758

Function at 0x140068f80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x46], 0
mov rsi, r8
mov rdi, rcx
je 0x14006901a
xor ecx, ecx
mov edx, 0x1000
mov r8d, edx
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x140068fc7
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movups xmm0, xmmword [rdi + 0x28]
mov r8d, Ordinal_41
mov rdx, rsi
movups xmmword [rax], xmm0
movsd xmm1, qword [rdi + 0x38]
lea ecx, [r8 - 0x27]
movsd qword [rax + 0x10], xmm1
mov eax, dword [rdi + 0x40]
mov dword [rbx + 0x18], eax
movzx eax, word [rdi + 0x44]
mov word [rbx + 0x1c], ax
call rbx
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
mov edi, eax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14006902f
mov r8d, Ordinal_41
mov rdx, rsi
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov edi, eax
mov rbx, qword [rsp + 0x30]
test edi, edi
mov rsi, qword [rsp + 0x38]
setg al
add rsp, 0x20
pop rdi
ret
Function at 0x140069c30
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402e8018]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
movzx ecx, dx
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ecx, ecx
mov qword [rsp + 0x20], 1
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov word [rsp + 0x28], cx
mov rcx, rbx
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 8
call fcn.140068f80
movzx eax, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140220090
add rsp, 0x50
pop rbx
ret

Function at 0x140069cb0
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402e8018]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
movzx ecx, dx
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ecx, ecx
mov qword [rsp + 0x20], 1
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov word [rsp + 0x28], cx
mov rcx, rbx
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 0xa
call fcn.140068f80
movzx eax, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140220090
add rsp, 0x50
pop rbx
ret

Function at 0x14006a440
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1402e8018]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, r8
mov rsi, rcx
mov rax, qword [0x1402f0bc0]
cmp byte [rax + 0x6c], 0
jne 0x14006a5ac
mov rbp, qword [0x1402f0cc0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov rdx, qword [0x1402f3eb8]
sub rdx, qword [0x1402f3eb0]
je 0x14006a4d5
lea rcx, [rsp + 0x30]
call fcn.140012e50
mov rdi, qword [rsp + 0x30]
mov rbx, qword [0x1402f3eb8]
mov rdx, qword [0x1402f3eb0]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x170]
call fcn.140062b20
test al, al
jne 0x14006a5ac
mov rax, qword [0x1402f0c20]
cmp dword [rax + 0x154], 1
je 0x14006a5ac
movss xmm0, dword [rsi]
addss xmm0, dword [0x1402b865c]
comiss xmm0, dword [0x1402f0ad4]
ja 0x14006a5ac
xor edx, edx
call fcn.140069a80
movzx ebx, ax
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 0xf
test cl, 1
je 0x14006a5ac
mov rcx, qword [0x1402f10d8]
test rcx, rcx
jne 0x14006a565
mov ecx, 0x36e490
call fcn.14022033c
mov qword [rsp + 0x28], rax
mov rcx, rax
call fcn.1401cf6f0
mov rcx, rax
mov qword [0x1402f10d8], rax
movsd xmm0, qword [r14]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [r14 + 8]
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
call fcn.1401cec00
mov rdx, qword [rsp + 0x28]
call fcn.140069050
movzx edx, bx
mov rcx, rsi
call fcn.140069cb0
movss xmm0, dword [0x1402f0ad4]
movss dword [rsi], xmm0
mov al, 1
jmp 0x14006a5ae
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140220090
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14007ab80
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 0x14007abdd
lea rbx, [0x1402a56c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14007abc4
cmp r10, 2
jb 0x14007abc4
cmp byte [r9], r8b
jne 0x14007abc4
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 0x14007aba0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14007ac1f
lea rbx, [0x1402a56c0]
cmp r8b, 0x23
jne 0x14007ac03
cmp byte [r9], r8b
jne 0x14007ac03
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 0x14007abf0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14007ad60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14007ad7a
mov qword [r8], 0
lea rdx, [0x1402af1a4]
call fcn.14007ac30
mov rbx, rax
test rax, rax
jne 0x14007ad9a
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 0x14007ae71
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 0x14007ae71
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14007ae71
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 0x14007ae71
cmp rdi, 0xffffffffffffffff
je 0x14007ae71
mov rax, qword [0x1402f0ba8]
test rax, rax
je 0x14007ae0e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14007ae71
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 0x14007ae5e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1402f0ba8]
test rax, rax
je 0x14007ae53
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14007ae7a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14007ae6c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14007ae7c
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 0x14007ccd0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1402a56c0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1402f0ba8]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3f5c], ebx
jne 0x14007cd66
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14008d780
mov eax, ebx
add rsp, 0x20
pop rbx
ret