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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1800ed040]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x120
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x70], 0
lea rsi, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], 0xfa
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov rdx, rbx
call qword [rax + 8]
mov r9, qword [rdi + 0x70]
test r9, r9
je 0x180015a6f
mov rbx, qword [rsp + 0x70]
mov r8, rbx
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rbx
jne 0x180015add
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
cmp rcx, rax
je 0x180015ab8
mov rdx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015ab3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015ab3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009f9b4
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.18009f3f0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
nop
mov ebx, dword [rax]
lea rdx, [rdi + 0x78]
lea rcx, [rsp + 0x20]
call fcn.1800048a0
nop
mov r8, rax
lea rdx, str.Failed_writing_to_file
lea rcx, [rsp + 0x40]
call fcn.18000c5c0
nop
mov edx, ebx
mov rcx, rax
call fcn.180004710
int3
Function at 0x180030f30
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 [0x1800ed040]
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, [0x1800f40e8]
lea rcx, [rsp + 0x40]
call fcn.18003b530
nop
cmp qword [rsp + 0xc8], 0
je 0x1800310d0
mov rdi, qword [0x1800f4170]
mov rbp, qword [0x1800f4178]
cmp rdi, rbp
je 0x1800310a2
movabs r15, 0xcbf29ce484222325
movabs r14, 0x100000001b3
nop dword [rax + rax]
lea rdx, [0x1800cf280]
lea rcx, [rsp + 0x40]
call fcn.18003c220
mov rcx, rax
call fcn.18003c430
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180030fe6
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.1800414e0
mov rcx, rax
lea rdx, [0x1800cf280]
call fcn.18003c220
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180031012
mov rdx, qword [rdi]
mov r9, r15
xor ecx, ecx
test r8, r8
je 0x180031033
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r14
inc rcx
cmp rcx, r8
jb 0x180031020
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, [0x1800f41e0]
call fcn.1800144c0
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x180031148
mov rsi, qword [rbx + 0x38]
mov rbx, qword [rbx + 0x30]
cmp rbx, rsi
je 0x180031095
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18003106f
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1800414e0
mov rcx, rax
lea rdx, [0x1800cf284]
call fcn.18003c220
add rbx, 0x20
cmp rbx, rsi
jne 0x180031062
add rdi, 0x20
cmp rdi, rbp
jne 0x180030fc0
lea rcx, [rsp + 0x48]
call fcn.18003bce0
test rax, rax
jne 0x1800310d0
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.18003b4c0
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.18009f3f0
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 0x18003ac90
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 0x18003acb8
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 0x18003acde
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18003ace0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18003ad39
test ecx, ecx
jle 0x18003ad19
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 0x18003ad39
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18003ad39
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 0x18003ad60
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 0x18003ad82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18003ad98
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 0x18003adb4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18003adb6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18003adf2
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 0x18003ae8e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18003ae2d
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 0x18003ae6e
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 0x18003ae8e
cmp rbx, rax
ja 0x18003ae40
test rbx, rbx
je 0x18003ae8e
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 0x18003b2c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800ed040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18003b2ed
xor eax, eax
jmp 0x18003b459
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18003b327
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18003b327
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 0x18003b459
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18003b44c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18003b36a
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 0x18003b395
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 0x18003b451
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 0x18003b404
sub eax, 1
je 0x18003b404
cmp eax, 2
jne 0x18003b44c
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 0x18003b451
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18003b432
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 0x18003b44c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18003b451
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18009f3f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18003b7c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0xf
mov r10, rdx
mov r11, qword [rdx + 0x10]
jbe 0x18003b7d5
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x18003b819
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 0x18003b800
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.1800144c0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x18003b839
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 0x18003bbf0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800ed040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18003bcc3
cmp byte [rcx + 0x71], 0
je 0x18003bcc3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18003bcbf
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 0x18003bc84
sub eax, 1
je 0x18003bc88
cmp eax, 2
jne 0x18003bcbf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18009f3f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18003bcb6
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 0x18003bcbf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18003bc6c
xor al, al
jmp 0x18003bc6c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18009f3f0
add rsp, 0x60
pop rbx
ret
Function at 0x180042a00
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
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x60
xor ebp, ebp
mov edi, ebp
lea r14, [0x1800ed430]
lea r12, str.light_dir_col
movabs rsi, 0x100000001b3
movabs r15, 0xcbf29ce484222325
cmp dword [rdi + r14], 0
je 0x180042b9f
mov rdx, qword [rdi + r12]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180042a70
lea rcx, [rsp + 0x40]
call fcn.180007dd0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r9, r15
mov rcx, rbp
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x180042ac3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, rsi
inc rcx
cmp rcx, r8
jb 0x180042ab0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [0x1800f41a0]
call fcn.1800144c0
mov rbx, qword [rax + 8]
lea rcx, [rsp + 0x40]
call fcn.180008fd0
test rbx, rbx
je 0x180042b9f
mov rdx, qword [rdi + r12]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180042b10
lea rcx, [rsp + 0x40]
call fcn.180007dd0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r9, r15
mov rcx, rbp
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x180042b63
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, rsi
inc rcx
cmp rcx, r8
jb 0x180042b50
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [0x1800f41a0]
call fcn.1800144c0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x180042bcf
add rax, 0x30
cmp qword [rax + 0x18], 0xf
jbe 0x180042b91
mov rax, qword [rax]
mov qword [rdi + r12], rax
lea rcx, [rsp + 0x40]
call fcn.180008fd0
add rdi, 0x20
cmp rdi, 0x35a0
jb 0x180042a44
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
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 0x180048570
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x60
xor ebp, ebp
mov dword [rax - 0x58], ebp
mov r15, qword [rcx + 0x400]
xorps xmm0, xmm0
movups xmmword [rax - 0x50], xmm0
mov r8d, ebp
mov qword [rax - 0x40], rbp
mov edx, 0xf
mov qword [rax - 0x38], rdx
mov byte [rax - 0x50], r8b
mov dword [rax - 0x58], 1
mov r14, qword [rcx + 0x170]
mov rbx, qword [r14]
cmp rbx, r14
je 0x180048637
lea r9, [rbx + 0x10]
cmp byte [r9 + 0x20], 0
je 0x180048627
lea rax, [rsp + 0x28]
cmp rax, r9
je 0x180048627
mov rsi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x1800485e8
mov r9, qword [r9]
cmp rsi, rdx
ja 0x180048615
lea rdi, [rsp + 0x28]
cmp rdx, 0xf
cmova rdi, qword [rsp + 0x28]
mov qword [rsp + 0x38], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x180048622
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.18000d410
mov rdx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r14
jne 0x1800485c5
mov r8, qword [rsp + 0x38]
lea r10, [rsp + 0x28]
cmp rdx, 0xf
cmova r10, qword [rsp + 0x28]
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x180048674
movabs rcx, 0x100000001b3
nop
movzx eax, byte [r10 + rbp]
xor r9, rax
imul r9, rcx
inc rbp
cmp rbp, r8
jb 0x180048660
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.1800144c0
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1800486b8
lea rcx, [rsp + 0x28]
call fcn.180008fd0
lea rax, [rbx + 0x30]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
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 0x1800486d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r14
sub rsp, 0x60
mov edx, dword [0x1800f3f04]
mov r14, rcx
mov rax, qword gs:[0x58]
mov ecx, 8
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x1800f4724], edx
jle 0x180048729
lea rcx, [0x1800f4724]
call fcn.18009f4b8
cmp dword [0x1800f4724], 0xffffffff
jne 0x180048729
lea rcx, [0x1800a6810]
call fcn.18009f994
lea rcx, [0x1800f4724]
call fcn.18009f44c
cmp byte [r14 + 0x1f0], 0
je 0x180048745
lea rcx, str.Invalid_directory_path
add rsp, 0x60
pop r14
jmp fcn.180083450
mov rax, qword [r14 + 0x400]
cmp qword [rax + 0x10], 0
jne 0x180048765
lea rcx, str.No_files_found
add rsp, 0x60
pop r14
jmp fcn.180083450
cmp byte [r14 + 0x1ab], 0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
jne 0x1800487ee
mov rdi, qword [rax + 8]
mov sil, 1
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800487e6
nop word [rax + rax]
lea r8, [rbx + 0x10]
lea rcx, [r14 + 0x168]
test sil, sil
je 0x1800487c6
lea rdx, [rsp + 0x20]
call fcn.180048fe0
mov rcx, qword [rax]
mov byte [rcx + 0x30], sil
xor sil, sil
jmp 0x1800487d7
lea rdx, [rsp + 0x30]
call fcn.180048fe0
mov rcx, qword [rax]
mov byte [rcx + 0x30], 0
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1800487a0
mov rax, qword [r14 + 0x400]
mov byte [r14 + 0x1ab], 1
mov rdi, qword [rax + 8]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r15
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800488d2
movabs r12, 0xcbf29ce484222325
movabs r15, 0x100000001b3
nop dword [rax]
lea rdx, [rbx + 0x10]
lea rcx, [r14 + 0x168]
call fcn.18003b7c0
cmp qword [rbx + 0x28], 0xf
lea rcx, [rbx + 0x10]
jbe 0x18004883f
mov rcx, qword [rbx + 0x10]
movzx edx, byte [rax]
call fcn.180085170
test al, al
je 0x1800488c6
mov rcx, qword [r14 + 0x170]
mov rax, qword [rcx]
cmp rax, rcx
je 0x18004886c
nop word [rax + rax]
mov byte [rax + 0x30], 0
mov rax, qword [rax]
cmp rax, rcx
jne 0x180048860
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov r8, qword [rbx + 0x20]
jbe 0x18004887f
mov rdx, qword [rbx + 0x10]
xor ecx, ecx
mov r9, r12
test r8, r8
je 0x1800488a3
nop dword [rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r15
cmp rcx, r8
jb 0x180048890
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0x168]
call fcn.1800144c0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x180048910
mov byte [rax + 0x30], 1
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180048820
mov rax, qword [r14 + 0x400]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
cmp qword [rax + 0x10], 0
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
setne al
mov rdi, qword [rsp + 0x50]
mov byte [r14 + 0x1a8], al
add rsp, 0x60
pop r14
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 0x18004c980
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 0x18004c9dd
lea rbx, [0x1800c5fe0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18004c9c4
cmp r10, 2
jb 0x18004c9c4
cmp byte [r9], r8b
jne 0x18004c9c4
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 0x18004c9a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18004ca1f
lea rbx, [0x1800c5fe0]
cmp r8b, 0x23
jne 0x18004ca03
cmp byte [r9], r8b
jne 0x18004ca03
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 0x18004c9f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18004cb20
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 0x18004cb3e
mov qword [r8], r14
lea rdx, [0x1800d58d8]
call fcn.18004ca30
mov rbx, rax
test rax, rax
jne 0x18004cb63
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 0x18004cc8d
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 0x18004cc8d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18004cc8d
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 0x18004cc8d
cmp rdi, 0xffffffffffffffff
je 0x18004cc8d
mov rcx, rdi
call fcn.180050dd0
mov rbp, rax
test rax, rax
je 0x18004cc8d
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 0x18004cc7a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1800f4070]
test r8, r8
je 0x18004cc6f
movsx rdx, word [r8 + 0x60e0]
lea rcx, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x18004cc64
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 + 0x60e0], cx
movsx rax, cx
lea rcx, [r8 + 0x60e4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60dc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18004cc96
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x18004cc88
mov qword [rsi], rdi
mov rax, rbp
jmp 0x18004cc98
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