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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000f506
cmp byte [rcx + 0x71], 0
je 0x14000f506
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [0x140057e20]
cmp eax, 0xffffffff
je 0x14000f502
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 0x14000f4c3
sub eax, 1
je 0x14000f4c7
nop dword [rax + rax]
cmp eax, 2
jne 0x14000f502
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140050f40
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000f4f8
lfence
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 0x14000f502
cmp byte ds:[rbx + 0x71], 0
sete al
jmp 0x14000f4ab
xor al, al
jmp 0x14000f4ab
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140050f40
add rsp, 0x60
pop rbx
ret
Function at 0x1400171e0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
lea rcx, [r9 + 8]
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rbx, qword [rdx + 8]
cmp rbx, qword [rcx]
je 0x14001729f
mov rax, qword ds:[r10]
mov r8, qword [rdx]
cmp rax, qword [rbx + 0x10]
je 0x1400172a1
cmp rbx, r8
je 0x14001729b
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x140017286
lea rcx, [r9 + 8]
jmp 0x1400172a1
lea rcx, [r9 + 8]
xor ebx, ebx
test rbx, rbx
je 0x140017310
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1400172cc
cmp rax, rbx
jne 0x1400172c2
mov rax, qword ds:[rcx]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400172d7
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1400172d7
cmp rax, rbx
jne 0x1400172d7
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
lea rcx, [rbx + 0x18]
call fcn.1400058e0
mov edx, 0x40
mov rcx, rbx
call fcn.140050f60
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140017320
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
lea rcx, [r9 + 8]
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rbx, qword [rdx + 8]
cmp rbx, qword [rcx]
je 0x1400173df
mov rax, qword ds:[r10]
mov r8, qword [rdx]
cmp rax, qword [rbx + 0x10]
je 0x1400173e1
cmp rbx, r8
je 0x1400173db
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x1400173c6
lea rcx, [r9 + 8]
jmp 0x1400173e1
lea rcx, [r9 + 8]
xor ebx, ebx
test rbx, rbx
je 0x140017450
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14001740c
cmp rax, rbx
jne 0x140017402
mov rax, qword ds:[rcx]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140017417
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140017417
cmp rax, rbx
jne 0x140017417
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
lea rcx, [rbx + 0x18]
call fcn.1400058e0
mov edx, 0x38
mov rcx, rbx
call fcn.140050f60
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140017fc0
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
jbe 0x140017ff8
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 [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.140005ee0
lea rax, ds:[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 0x14001817a
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte ds:[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 0x1400180ee
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140018169
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14001812c
mov r10, qword ds:[rdx]
cmp r10, rax
je 0x140018126
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 0x140018169
cmp r9, rdx
je 0x140018145
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14001818f
nop dword [rax + rax]
cmp r9, rdx
jne 0x140018131
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 0x140018070
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 0x140018169
Function at 0x1400181c0
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
jbe 0x1400181f8
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 [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.140005ee0
lea rax, ds:[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 0x14001837a
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte ds:[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 0x1400182ee
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140018369
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14001832c
mov r10, qword ds:[rdx]
cmp r10, rax
je 0x140018326
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 0x140018369
cmp r9, rdx
je 0x140018345
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14001838f
nop dword [rax + rax]
cmp r9, rdx
jne 0x140018331
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 0x140018270
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 0x140018369
Function at 0x14001e640
Capabilities:
Delete volume shadow copies

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor edi, edi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
lea r8d, [rdi + 0x17]
lea rdx, str.vssadmin_delete_shadows
call fcn.1400066a0
nop
lea rcx, [rbx + 0x20]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
lea r8d, [rdi + 0x45]
lea rdx, str.____Found_evidence_of_shadow_copy_cleared:_vssadmin_delete_shadows.
call fcn.1400066a0
nop
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ed00
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x6b0
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov rbp, rcx
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, [0x140060380]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call fcn.14001eaa0
lea r14, [0x14007ecc0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x14001ed54
lea rdx, [0x14005fcf0]
mov qword [rsp + 0x6e0], rbx
lea rcx, [rsp + 0x280]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
nop dword [rax]
test rax, rax
je 0x14001ee0b
nop dword [rax]
lea rcx, [rsp + 0x280]
mov rbx, rax
sub rbx, rcx
mov r8d, 0xfa
sar rbx, 1
sub r8, rbx
cmp rdi, r8
ja 0x14001ede5
lea rdx, [rax + 0x14]
add r8, r8
lea rax, [rbx + rdi]
lea rcx, [rsp + 0x280]
lea rcx, [rcx + rax*2]
call sub.VCRUNTIME140.dll_memmove
lea rcx, ds:[rsp + 0x280]
mov rdx, r14
lea rcx, [rcx + rbx*2]
lea r8, [rdi + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, ds:[rbx + rdi]
lea rcx, [rsp + 0x280]
lea rcx, [rcx + rax*2]
lea rdx, [0x14005fcf0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14001ed90
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001ef46
nop dword [rax + rax]
lea rax, [rsp + 0x5c]
mov r9, rbp
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x490]
call fcn.14001eaa0
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x14001ee60
lea rdx, [0x14005fcf0]
lea rcx, ds:[rsp + 0x490]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14001ef0b
nop
lea rcx, [rsp + 0x490]
mov rbx, rax
sub rbx, rcx
mov r8d, 0xfa
sar rbx, 1
sub r8, rbx
cmp rdi, r8
ja 0x14001eee5
lea rdx, [rax + 0x14]
add r8, r8
lea rax, [rbx + rdi]
lea rcx, [rsp + 0x490]
lea rcx, [rcx + rax*2]
call sub.VCRUNTIME140.dll_memmove
lea rcx, ds:[rsp + 0x490]
mov rdx, r14
lea rcx, [rcx + rbx*2]
lea r8, [rdi + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, ds:[rbx + rdi]
lea rcx, [rsp + 0x490]
lea rcx, [rcx + rax*2]
lea rdx, [0x14005fcf0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14001ee90
test byte [rsp + 0x30], 1
je 0x14001ef26
lea rdx, [rsp + 0x490]
lea rcx, str.____Macro_file:__s_is_marked_as_read_only._Ban_the_player._n
call fcn.140003d60
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001ee30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x6e0]
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.140050f40
mov rbp, qword [rsp + 0x6e8]
add rsp, 0x6b0
pop r14
pop rdi
pop rsi
ret
Function at 0x1400210c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400210f4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400210e0
ret
Function at 0x140026240
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14002631e
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002631e
mov r9d, dword ds:[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 0x140026337
lea eax, ds:[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 0x14002630e
cmp byte [rax], 0x5c
jne 0x140026308
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140026308
mov r8d, dword ds:[rbx + 0x80]
test r8b, 8
jne 0x1400262f1
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140026305
test r8b, 0x10
jne 0x140026308
movzx ecx, byte ds:[rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140026308
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140022380
test edi, edi
jne 0x140026260
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140022360
int3
Function at 0x14002c020
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x14002c051
xor eax, eax
jmp 0x14002c1a8
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14002c08e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14002c08e
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x14002c1a8
cmp qword ds:[rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x14002c19d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14002c0d7
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword ds:[rbx + 0x68]
test rcx, rcx
jne 0x14002c0ea
movzx ecx, di
jmp 0x14002c13e
lea rax, [rsp + 0x48]
mov word [rsp + 0x40], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x42]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002c157
sub eax, 1
je 0x14002c157
cmp eax, 2
jne 0x14002c19d
movzx ecx, word [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x14002c1a0
mov rbp, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14002c18b
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x14002c19d
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x50], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140050f40
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x14002c3e0
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 0x14002c425
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte ds:[rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14002c410
ret
Function at 0x14002c780
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14002c866
cmp byte [rcx + 0x72], 0
je 0x14002c866
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
mov rax, qword [rax + 0x18]
call qword [0x140057e20]
cmp di, ax
je 0x14002c862
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_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002c823
sub eax, 1
je 0x14002c827
nop dword [rax]
cmp eax, 2
jne 0x14002c862
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140050f40
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14002c858
lfence
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 0x14002c862
cmp byte ds:[rbx + 0x72], 0
sete al
jmp 0x14002c80b
xor al, al
jmp 0x14002c80b
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140050f40
add rsp, 0x60
pop rbx
ret
Function at 0x140030500
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 ds:[rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x1400305f2
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400305f2
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 0x140030610
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 0x1400305e2
cmp word [rax], 0x5c
jne 0x1400305db
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x1400305db
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400305c6
movzx ecx, word ds:[rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x1400305d8
test r8b, 0x10
jne 0x1400305db
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x1400305db
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.14002d0c0
test edi, edi
jne 0x140030530
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
call fcn.140022360
int3
Function at 0x1400330e0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1180]
mov eax, 0x1280
call fcn.140051c10
sub rsp, rax
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rbp + 0x1170], rax
lea r8, [rsp + 0x34]
mov edx, 0x1000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x1400332ec
mov ebx, dword [rsp + 0x34]
shr ebx, 2
mov dword [rsp + 0x30], ebx
xor r15d, r15d
test ebx, ebx
je 0x1400332ec
lea r12, [rsp + 0x60]
nop word [rax + rax]
mov r13d, dword [r12]
mov r8d, r13d
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x1400332dc
mov r8d, 0x104
lea rdx, [rbp + 0xf60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
nop
test eax, eax
je 0x1400332d3
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
lea rax, [rbp + 0xf60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400331d0
lea rdx, [rbp + 0xf60]
lea rcx, [rsp + 0x38]
call fcn.1400066a0
nop
lea rsi, [rsp + 0x38]
mov r9, qword [rsp + 0x50]
cmp r9, 7
seta al
mov r8, qword [rsp + 0x38]
cmova rsi, r8
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
test al, al
je 0x14003321e
mov rbx, r8
lea rdi, [r8 + rdx*2]
jmp 0x140033227
lea rdi, [rcx + rdx*2]
lea rbx, [rsp + 0x38]
cmp rbx, rdi
je 0x140033255
sub rsi, rbx
nop
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [rsi + rbx], ax
add rbx, 2
cmp rbx, rdi
jne 0x140033230
mov r9, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
cmp r9, 7
cmova rcx, r8
mov qword [rsp + 0x20], 0xc
lea r9, str.explorer.exe
xor r8d, r8d
call fcn.1400087c0
nop word [rax + rax]
cmp rax, 0xffffffffffffffff
jne 0x14003331e
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400332cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400332ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033366
call fcn.140050f60
mov ebx, dword [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r15d
add r12, 4
cmp r15d, ebx
jb 0x140033160
xor eax, eax
mov rcx, qword [rbp + 0x1170]
xor rcx, rsp
call fcn.140050f40
lea r11, [rsp + 0x1280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140033372
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003336d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003336d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050f60
mov eax, r13d
jmp 0x1400332ee