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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x1400e5028]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.categories.txt
lea rcx, [rsp + 0x40]
call fcn.14000cc70
nop
mov rdi, qword [0x1400e64b0]
mov rbp, qword [0x1400e64b8]
cmp rdi, rbp
je 0x1400026b2
movabs r15, 0xcbf29ce484222325
movabs r14, 0x100000001b3
nop dword [rax]
lea rdx, [0x1400c2ebc]
lea rcx, [rsp + 0x40]
call fcn.14000edd0
mov rcx, rax
call fcn.14000efe0
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400025f6
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140014a30
mov rcx, rax
lea rdx, [0x1400c2ebc]
call fcn.14000edd0
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140002622
mov rdx, qword [rdi]
mov r9, r15
xor ecx, ecx
test r8, r8
je 0x140002643
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r14
inc rcx
cmp rcx, r8
jb 0x140002630
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, [0x1400e6520]
call fcn.140013280
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140002758
mov rsi, qword [rbx + 0x38]
mov rbx, qword [rbx + 0x30]
cmp rbx, rsi
je 0x1400026a5
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000267f
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140014a30
mov rcx, rax
lea rdx, [0x1400c2ec0]
call fcn.14000edd0
add rbx, 0x20
cmp rbx, rsi
jne 0x140002672
add rdi, 0x20
cmp rdi, rbp
jne 0x1400025d0
lea rcx, [rsp + 0x48]
call fcn.14000dfa0
test rax, rax
jne 0x1400026e0
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call fcn.14000cc00
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14009e1d0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
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
Function at 0x14000c400
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 0x14000c428
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 0x14000c44e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000c450
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000c4a9
test ecx, ecx
jle 0x14000c489
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 0x14000c4a9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000c4a9
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 0x14000c4d0
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 0x14000c4f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14000c508
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 0x14000c524
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000c526
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000c562
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 0x14000c5fe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000c59d
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 0x14000c5de
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 0x14000c5fe
cmp rbx, rax
ja 0x14000c5b0
test rbx, rbx
je 0x14000c5fe
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 0x14000ca00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400e5028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000ca2d
xor eax, eax
jmp 0x14000cb99
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ca67
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000ca67
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 0x14000cb99
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000cb8c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000caaa
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 0x14000cad5
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 0x14000cb91
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 0x14000cb44
sub eax, 1
je 0x14000cb44
cmp eax, 2
jne 0x14000cb8c
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 0x14000cb91
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000cb72
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 0x14000cb8c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000cb91
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14009e1d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000cda0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0x10
mov r10, rdx
mov r11, qword [rdx + 0x10]
jb 0x14000cdb5
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x14000cdf9
mov qword [rsp + 0x30], rbx
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rbx
cmp r8, r11
jb 0x14000cde0
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.140013280
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14000ce19
add rax, 0x30
add rsp, 0x38
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
Function at 0x14000deb0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400e5028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000df83
cmp byte [rcx + 0x71], 0
je 0x14000df83
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000df7f
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 0x14000df44
sub eax, 1
je 0x14000df48
cmp eax, 2
jne 0x14000df7f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009e1d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000df76
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 0x14000df7f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000df2c
xor al, al
jmp 0x14000df2c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009e1d0
add rsp, 0x60
pop rbx
ret
Function at 0x14000f4d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0x10
mov r10, rdx
mov r11, qword [rdx + 0x10]
jb 0x14000f4e5
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x14000f529
mov qword [rsp + 0x30], rbx
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rbx
cmp r8, r11
jb 0x14000f510
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.140013280
cmp qword [rax + 8], 0
setne al
add rsp, 0x38
ret
Function at 0x14001a4a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400e5028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, 4
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x1400e6614], eax
jle 0x14001a50d
lea rcx, [0x1400e6614]
call fcn.14009e780
cmp dword [0x1400e6614], 0xffffffff
jne 0x14001a50d
lea rax, [0x1400e6bb8]
mov qword [0x1400e66c8], rax
lea rcx, [0x1400e6614]
call fcn.14009e720
mov eax, dword [rbx]
cmp dword [0x1400e661c], eax
jle 0x14001a544
lea rcx, [0x1400e661c]
call fcn.14009e780
cmp dword [0x1400e661c], 0xffffffff
jne 0x14001a544
lea rcx, [0x1400a4db0]
call fcn.14009e534
lea rcx, [0x1400e661c]
call fcn.14009e720
mov rcx, qword [0x1400e66c8]
cmp qword [rcx + 0x10], 0
je 0x14001a6e1
mov rdi, qword [0x1400e6ad8]
mov rbx, qword [rdi]
lea rsi, [0x1400e5068]
cmp rbx, rdi
je 0x14001a5a7
nop dword [rax]
lea rdx, [rbx + 0x10]
cmp byte [rdx + 0x20], 0
je 0x14001a595
cmp rsi, rdx
je 0x14001a595
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001a58d
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.14000e660
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x14001a570
mov rcx, qword [0x1400e66c8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov r8, rsi
cmp qword [0x1400e5080], 0x10
cmovae r8, qword [0x1400e5068]
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
xor edi, edi
mov edx, edi
movabs rbp, 0x100000001b3
mov r10, qword [0x1400e5078]
test r10, r10
je 0x14001a604
movzx eax, byte [rdx + r8]
xor r9, rax
imul r9, rbp
inc rdx
cmp rdx, r10
jb 0x14001a5f0
mov r8, rsi
lea rdx, [rsp + 0x20]
call fcn.140013280
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14001a711
add rdx, 0x30
lea rcx, [rsp + 0x30]
call fcn.14009b640
nop
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
je 0x14001a6d7
lea rdx, [rsp + 0x30]
lea rcx, [0x1400e6b18]
call fcn.140098910
mov rcx, rsi
cmp qword [0x1400e5080], 0x10
cmovae rcx, qword [0x1400e5068]
mov rdx, qword [0x1400e5078]
test rdx, rdx
je 0x14001a683
nop
movzx eax, byte [rdi + rcx]
xor rbx, rax
imul rbx, rbp
inc rdi
cmp rdi, rdx
jb 0x14001a670
mov r9, rbx
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, qword [0x1400e66c8]
call fcn.140013280
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14001a703
add rdx, 0x30
lea rcx, [0x1400e6910]
cmp rcx, rdx
je 0x14001a6c7
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001a6c2
mov rdx, qword [rdx]
call fcn.14000e660
cmp dword [0x1400e6b70], 0
je 0x14001a6d7
mov byte [0x1400e6b16], 1
lea rcx, [rsp + 0x30]
call fcn.14001b050
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14009e1d0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
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_]
nop
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
Function at 0x14001a720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword gs:[0x58]
mov ebx, 4
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x1400e6744], eax
jle 0x14001a770
lea rcx, [0x1400e6744]
call fcn.14009e780
cmp dword [0x1400e6744], 0xffffffff
jne 0x14001a770
lea rax, [0x1400e6bb8]
lea rcx, [0x1400e6744]
mov qword [0x1400e66d8], rax
call fcn.14009e720
mov eax, dword [rbx]
cmp dword [0x1400e6748], eax
jle 0x14001a7a7
lea rcx, [0x1400e6748]
call fcn.14009e780
cmp dword [0x1400e6748], 0xffffffff
jne 0x14001a7a7
lea rcx, [0x1400a4dc0]
call fcn.14009e534
lea rcx, [0x1400e6748]
call fcn.14009e720
cmp byte [0x1400e6bf8], 0
je 0x14001a7c1
lea rcx, str.Invalid_directory_path
add rsp, 0x50
pop rbx
jmp fcn.14007a5a0
mov rax, qword [0x1400e66d8]
cmp qword [rax + 0x10], 0
jne 0x14001a7e0
lea rcx, str.No_files_found
add rsp, 0x50
pop rbx
jmp fcn.14007a5a0
cmp byte [0x1400e6b15], 0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
jne 0x14001a85d
mov rdi, qword [rax + 8]
mov sil, 1
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14001a856
nop dword [rax]
nop word [rax + rax]
lea r8, [rbx + 0x10]
lea rcx, [0x1400e6ad0]
test sil, sil
je 0x14001a836
lea rdx, [rsp + 0x30]
call fcn.14001bea0
mov rcx, qword [rax]
mov byte [rcx + 0x30], sil
xor sil, sil
jmp 0x14001a847
lea rdx, [rsp + 0x40]
call fcn.14001bea0
mov rcx, qword [rax]
mov byte [rcx + 0x30], 0
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14001a810
mov rax, qword [0x1400e66d8]
mov byte [0x1400e6b15], 1
mov rdi, qword [rax + 8]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x78], r14
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14001a949
movabs rbp, 0x100000001b3
movabs r14, 0xcbf29ce484222325
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400e6ad0]
call fcn.14000cda0
cmp qword [rbx + 0x28], 0x10
lea rcx, [rbx + 0x10]
jb 0x14001a8af
mov rcx, qword [rbx + 0x10]
movzx edx, byte [rax]
call fcn.14007cc20
test al, al
je 0x14001a936
mov rcx, qword [0x1400e6ad8]
mov rax, qword [rcx]
cmp rax, rcx
je 0x14001a8dc
nop word [rax + rax]
mov byte [rax + 0x30], 0
mov rax, qword [rax]
cmp rax, rcx
jne 0x14001a8d0
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov r8, qword [rbx + 0x20]
jb 0x14001a8ef
mov rdx, qword [rbx + 0x10]
xor ecx, ecx
mov r9, r14
test r8, r8
je 0x14001a913
nop dword [rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, rbp
cmp rcx, r8
jb 0x14001a900
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x20]
lea rcx, [0x1400e6ad0]
call fcn.140013280
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14001a96f
mov byte [rax + 0x30], 1
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14001a890
mov rax, qword [0x1400e66d8]
cmp qword [rax + 0x10], 0
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
setne byte [0x1400e6b12]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbx
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
Function at 0x14001fe80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14001feb4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001fea0
ret
Function at 0x140028e90
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 0x140028f5c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140028f5c
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 0x140028f75
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 0x140028f4c
cmp byte [rax], 0x5c
jne 0x140028f46
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140028f46
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140028f32
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140028f43
test r8b, 0x10
jne 0x140028f46
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140028f46
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400235c0
test edi, edi
jne 0x140028eb0
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.1400235b0
int3

Function at 0x140035120
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 0x14003517d
lea rbx, [0x1400cc930]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140035164
cmp r10, 2
jb 0x140035164
cmp byte [r9], r8b
jne 0x140035164
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 0x140035140
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400351bf
lea rbx, [0x1400cc930]
cmp r8b, 0x23
jne 0x1400351a3
cmp byte [r9], r8b
jne 0x1400351a3
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 0x140035190
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400352c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x1400352de
mov qword [r8], r14
lea rdx, [0x1400cbb30]
call fcn.1400351d0
mov rbx, rax
test rax, rax
jne 0x140035303
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14003542d
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 0x14003542d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14003542d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14003542d
cmp rdi, 0xffffffffffffffff
je 0x14003542d
mov rcx, rdi
call fcn.14003a210
mov rbp, rax
test rax, rax
je 0x14003542d
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 0x14003541a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400e6460]
test r8, r8
je 0x14003540f
movsx rdx, word [r8 + 0x62b0]
lea rcx, [r8 + 0x62b4]
mov r9d, dword [r8 + 0x40a0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140035404
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x62b0], cx
movsx rax, cx
lea rcx, [r8 + 0x62b4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x62ac]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140035436
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140035428
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140035438
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret