joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008f80
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r14, rcx
xor edx, edx
lea ecx, [rdx + 2]
lea r15, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x44]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400090d7
xor r13d, r13d
nop dword [rax]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 0xf
lea rax, [rsp + 0x6c]
mov r8, r15
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140009020
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140003400
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140009046
mov rdx, qword [r14]
lea rcx, [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 0x10
setae bpl
mov rbx, qword [rsp + 0x20]
cmovae rcx, rbx
mov r8, qword [rsp + 0x30]
cmp r8, qword [r14 + 0x10]
jne 0x14000907a
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000907a
mov dil, 1
jmp 0x14000907d
xor dil, dil
test bpl, bpl
je 0x1400090af
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400090a7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400090cb
mov rcx, rbx
call fcn.14000c184
test dil, dil
jne 0x1400090d2
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1400090d7
jmp 0x140009000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r15d, dword [rsp + 0x48]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14000bed0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000ae20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x14000ae50
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14000ae78
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000ae7a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000aed3
test ecx, ecx
jle 0x14000aeb3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000aed3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000aed3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
xor ebp, dword [rbx + rcx*8]
invalid
Function at 0x14000af00
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 0x14000af22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000af31
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 0x14000af54
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000af56
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x14000af90
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]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000b037
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14000afcb
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x14000b011
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]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x14000b050
cmp rbx, rax
ja 0x14000afe0
mov r8, rdi
test rdi, rdi
je 0x14000b037
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]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x14000b03a
adc byte [rbx + 0xc26ecf6], bh
or al, 0x42
pop rsp
mov esp, 0x45d5e2c8
push 0xfffffffffffffff5
sbb al, byte [rdi - 0x72]
invalid
Function at 0x14000b450
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000b47d
xor eax, eax
jmp 0x14000b5d2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14000b4a8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14000b4a8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14000b5d2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000b5c5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000b4eb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x14000b516
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 0x14000b5ca
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 0x14000b585
sub eax, 1
je 0x14000b585
cmp eax, 2
jne 0x14000b5c5
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 0x14000b5ca
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000b5b3
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 0x14000b5c5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14000b5ca
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000bed0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000b700
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000b7d3
cmp byte [rcx + 0x71], 0
je 0x14000b7d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000b7cf
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 0x14000b794
sub eax, 1
je 0x14000b798
cmp eax, 2
jne 0x14000b7cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000bed0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000b7c6
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 0x14000b7cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000b77c
xor al, al
jmp 0x14000b77c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000bed0
add rsp, 0x60
pop rbx
ret

Function at 0x14000bde8
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x14000be01
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400157f0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x58
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140109010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
movzx ecx, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [r8 + 1]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 2]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 3]
xor rcx, rax
imul rcx, rdx
mov r15, qword [rsi + 0x30]
and r15, rcx
mov rdi, qword [rsi + 8]
mov rbx, r15
shl rbx, 4
add rbx, qword [rsi + 0x18]
mov rax, qword [rbx]
cmp rax, rdi
jne 0x140015887
mov rbx, rdi
jmp 0x140015890
mov rbx, qword [rbx + 8]
mov rbx, qword [rbx]
nop
cmp rbx, rax
je 0x1400158b1
mov rbx, qword [rbx + 8]
mov ecx, dword [rbx + 0x10]
cmp dword [r8], ecx
jne 0x140015890
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1400159a3
mov rdi, qword [rdi]
mov r12, qword [rdi + 8]
mov r9, r8
mov r8, r12
mov rdx, rdi
call fcn.140016610
mov rdx, rax
mov rax, qword [rsi + 0x10]
movabs rcx, 0x2e8ba2e8ba2e8b9
sub rcx, rax
cmp rcx, 1
jae 0x1400158ee
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rax
mov qword [rsi + 0x10], rax
mov qword [rdi + 8], rdx
mov qword [r12], rdx
mov rcx, qword [rsi + 8]
mov rdi, qword [rcx]
mov qword [rsp + 0x40], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x140015942
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rcx, qword [rsi + 8]
shl r15, 4
mov r8, qword [rsi + 0x18]
add r8, r15
mov rax, qword [r8]
cmp rax, rcx
jne 0x140015963
mov qword [r8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r15 + 8], rdi
jmp 0x14001598f
cmp rax, rbx
jne 0x14001596d
mov qword [r8], rdi
jmp 0x14001598f
mov rax, qword [r8 + 8]
mov rdx, qword [rax]
mov qword [r8 + 8], rdx
cmp rdx, rdi
je 0x14001598f
mov r8, qword [rsi + 0x18]
mov rax, qword [r8 + r15 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + r15 + 8], rdx
mov rcx, rsi
call fcn.1400159c0
nop
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140093940
add rsp, 0x58
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140015ae0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rbx, r8
mov r14, rdx
mov r8, rcx
movzx edx, byte [rbx + 0x10]
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbx + 0x11]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 0x12]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 0x13]
xor rdx, rax
imul rdx, rcx
mov r9, qword [r8 + 0x30]
and r9, rdx
shl r9, 4
mov rcx, qword [r8 + 0x18]
add rcx, r9
cmp qword [rcx + 8], rbx
jne 0x140015b7d
cmp qword [rcx], rbx
jne 0x140015b73
mov rax, qword [r8 + 8]
mov qword [rcx], rax
mov rax, qword [r8 + 8]
mov rcx, qword [r8 + 0x18]
mov qword [r9 + rcx + 8], rax
jmp 0x140015b88
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
jmp 0x140015b88
cmp qword [rcx], rbx
jne 0x140015b88
mov rax, qword [rbx]
mov qword [rcx], rax
mov rdi, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r8 + 0x10]
lea rsi, [rbx + 0x18]
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140015bc3
mov r8, qword [rcx]
cmp rcx, rsi
setne dl
call qword [r8 + 0x20]
mov qword [rsi + 0x38], 0
mov edx, 0x58
mov rcx, rbx
call fcn.140093ce8
mov qword [r14], rdi
mov rax, r14
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140015e70
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140109010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r9
mov r10, r8
mov rsi, rdx
mov r9, rcx
mov qword [rsp + 0x20], rcx
movzx ecx, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [r8 + 1]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 2]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 3]
xor rcx, rax
imul rcx, rdx
mov r8, qword [r9 + 0x30]
and r8, rcx
mov rbx, qword [r9 + 8]
mov rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx]
cmp rbx, rax
je 0x140015f3b
mov rbx, qword [rdx + 8]
mov rbx, qword [rbx]
nop dword [rax]
cmp rbx, rax
je 0x140015f3b
mov rbx, qword [rbx + 8]
mov edx, dword [rbx + 0x10]
cmp dword [r10], edx
jne 0x140015f10
mov rdx, rdi
mov rcx, r9
call fcn.140016050
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x140015fd1
mov rax, qword [rdi]
cmp rbx, rax
je 0x140015f70
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
shl r8, 4
mov rdx, qword [r9 + 0x18]
add rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r9 + 8]
jne 0x140015f92
mov qword [rdx], rdi
mov rax, qword [r9 + 0x18]
mov qword [r8 + rax + 8], rdi
jmp 0x140015fbe
cmp rax, rbx
jne 0x140015f9c
mov qword [rdx], rdi
jmp 0x140015fbe
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x140015fbe
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8 + 8], rcx
mov rcx, r9
call fcn.1400159c0
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140093940
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140022d50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 0x10
lea r9, [r8 + 0x10]
mov r11, qword [r9 + 0x10]
mov rdi, rdx
mov r10, rcx
jb 0x140022d72
mov r9, qword [r9]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r11, r11
je 0x140022da4
movabs rbx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, r11
jb 0x140022d90
mov r9, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and r9, rdx
shl r9, 4
add rcx, r9
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x140022de4
cmp rax, r8
jne 0x140022dda
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [r9 + rcx + 8], rax
jmp 0x140022def
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x140022def
cmp rax, r8
jne 0x140022def
mov rax, qword [r8]
mov qword [rcx], rax
mov rcx, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rcx], rbx
mov rdx, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rdx + 8], rcx
mov rdx, r8
dec qword [r10 + 0x10]
call fcn.140020c10
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140057d80
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov edi, edx
mov rbx, rcx
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rsp + 0x30], xmm0
xor esi, esi
mov word [rsp + 0x20], si
lea rdx, str.btnSmartChargeOpen
lea rcx, [rsp + 0x20]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
movzx r8d, byte [rbx + 0xbcc]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140058670
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140057e20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057e1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057e1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
lea rdx, str.btnCustomChargeOpen
lea rcx, [rsp + 0x20]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
cmp byte [rbx + 0xbcc], 0
sete r8b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140058670
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140057ea3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057e9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057e9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
cmp byte [rbx + 0xbcc], 0
sete r8b
mov edx, edi
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
jmp fcn.140058b90
Function at 0x140057ed0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov edi, edx
mov rbx, rcx
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rsp + 0x30], xmm0
xor eax, eax
mov word [rsp + 0x20], ax
lea rdx, str.btnSafeManageBtn
lea rcx, [rsp + 0x20]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
movzx r8d, byte [rbx + 0xd28]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140058670
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140057f6b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057f66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057f66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
movzx r8d, byte [rbx + 0xd28]
mov edx, edi
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp fcn.140058b90
Function at 0x14005dca0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
call qword [sym.imp.DuiLib.dll_public:_struct_HWND______ptr64___cdecl_DuiLib::CWindowWnd::GetHWND_void_const___ptr64]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, 9
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
test rdi, rdi
je 0x14005dd72
xor edx, edx
mov qword [rsp + 0x50], rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
cmp edi, eax
je 0x14005dd25
mov r8d, 1
mov edx, edi
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r8d, r8d
mov edx, edi
mov ecx, esi
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor edi, edi
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rcx, rbx
lea rdx, [rdi - 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsp + 0x30], 3
lea rdx, [rdi - 2]
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140067190
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r9, rdx
movabs rax, 0xcbf29ce484222325
mov rdx, rcx
movabs rcx, 0x100000001b3
movzx r8d, byte [r9]
xor r8, rax
movzx eax, byte [r9 + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 3]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [rdx + 0x30]
and rcx, r8
mov r8, qword [rdx + 0x18]
mov rdx, qword [rdx + 8]
mov rax, rcx
add rax, rax
add rcx, rcx
mov rax, qword [r8 + rax*8]
mov r10, qword [r8 + rcx*8]
lea r11, [r8 + rcx*8]
cmp r10, rdx
jne 0x14006720b
mov rcx, rdx
jmp 0x140067212
mov rcx, qword [r11 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140067232
mov ecx, dword [r9]
cmp dword [rax + 0x10], ecx
je 0x140067224
mov rax, qword [rax]
jmp 0x140067201
cmp rax, rdx
je 0x140067232
add rax, 0x18
add rsp, 0x28
ret
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3