joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ae580
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov r11, qword [0x1402dc618]
movaps xmmword [rsp + 0x30], xmm6
mov rdi, r11
mov rax, qword [r11 + 0x4c48]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400ae5b7
mov eax, dword [r11 + 0x40a0]
mov dword [rbx + 0x6c], eax
cmp qword [r11 + 0x4c58], rbx
je 0x1400ae602
test rbx, rbx
je 0x1400ae5f0
mov eax, dword [rbx + 0x28]
mov dword [r11 + 0x4c50], eax
mov rax, qword [r11 + 0x39a8]
mov qword [r11 + 0x4c58], rbx
test rax, rax
je 0x1400ae602
mov rcx, rbx
call rax
mov r11, qword [0x1402dc618]
jmp 0x1400ae602
mov dword [r11 + 0x4c50], 0x3f800000
mov qword [r11 + 0x4c58], rbx
movss xmm1, dword [rdi + 0x3ad0]
lea r8, [0x140263b91]
subss xmm1, dword [rdi + 0x3a40]
movss xmm0, dword [rdi + 0x3acc]
lea rsi, [0x14025d580]
movss dword [rdi + 0x4b98], xmm0
xorps xmm6, xmm6
mov r10d, 0xffffffff
mov r9b, 0x23
mov edx, r10d
maxss xmm1, xmm6
movss dword [rdi + 0x4b9c], xmm1
movss xmm5, dword [r11 + 0x3a40]
addss xmm5, xmm5
addss xmm5, dword [r11 + 0x3e80]
cmp r9b, 0x23
jne 0x1400ae674
cmp byte [r8], r9b
jne 0x1400ae674
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [rsi + rcx*4]
test r9b, r9b
jne 0x1400ae661
not edx
lea rcx, [r11 + 0x4128]
call fcn.140010a50
mov rcx, rax
test rbx, rbx
jne 0x1400ae6b0
mov rax, qword [r11 + 0x4c48]
mov rbx, qword [rax]
xor esi, esi
test rcx, rcx
je 0x1400ae6c4
cmp word [rcx + 0x100], si
jne 0x1400ae762
movss xmm1, dword [rbx + 0x130]
movaps xmm3, xmm6
movss xmm0, dword [rbx + 0x10]
movaps xmm4, xmm1
addss xmm4, dword [rbx + 8]
movss xmm2, dword [rbx + 0x134]
subss xmm0, xmm1
addss xmm2, dword [rbx + 0xc]
addss xmm0, dword [rbx + 0x138]
or dword [r11 + 0x4b08], 3
movss dword [r11 + 0x4b1c], xmm4
movss dword [r11 + 0x4b20], xmm2
movss dword [r11 + 0x4b30], xmm5
maxss xmm3, xmm0
mov qword [r11 + 0x4b24], rsi
mov dword [r11 + 0x4b0c], 1
mov byte [r11 + 0x4b48], 1
mov dword [r11 + 0x4b10], 1
addss xmm3, xmm4
subss xmm3, xmm4
movss dword [r11 + 0x4b2c], xmm3
addss xmm5, dword [rbx + 0x134]
movss dword [rbx + 0x134], xmm5
mov eax, dword [rbx]
movaps xmm1, xmm6
or dword [r11 + 0x4b08], 0x200
mov ecx, 3
mov dword [r11 + 0x4b74], eax
call fcn.140012320
mov rbx, qword [0x1402dc618]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 5
movss xmm1, dword [rbx + 0x3a18]
lea rcx, [rbx + 0x4bb8]
movss xmm0, dword [rbx + 0x3a1c]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.140046080
xor edx, edx
mov qword [rbx + 0x3a18], rsi
mov r8d, 0x8050f
lea rcx, str.MainMenuBar
call fcn.14001e020
mov ecx, 2
movzx ebx, al
call fcn.140012430
mov qword [rdi + 0x4b98], rsi
test bl, bl
je 0x1400ae7f9
call fcn.1400ae020
jmp 0x1400ae7fe
call fcn.140020d10
mov rsi, qword [rsp + 0x58]
movzx eax, bl
mov rbx, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x1400cf180
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 0x1400cf1a8
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 0x1400cf1ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400cf1d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400cf229
test ecx, ecx
jle 0x1400cf209
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 0x1400cf229
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400cf229
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 0x1400cf250
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 0x1400cf272
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400cf288
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 0x1400cf2a4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400cf2a6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400cf2e2
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 0x1400cf37e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400cf31d
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 0x1400cf35e
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 0x1400cf37e
cmp rbx, rax
ja 0x1400cf330
test rbx, rbx
je 0x1400cf37e
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 0x1400cf7b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400cf7dd
xor eax, eax
jmp 0x1400cf949
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400cf817
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400cf817
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 0x1400cf949
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400cf93c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400cf85a
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 0x1400cf885
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 0x1400cf941
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 0x1400cf8f4
sub eax, 1
je 0x1400cf8f4
cmp eax, 2
jne 0x1400cf93c
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 0x1400cf941
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400cf922
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 0x1400cf93c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400cf941
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140244f00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400cfe80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400cff53
cmp byte [rcx + 0x71], 0
je 0x1400cff53
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400cff4f
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 0x1400cff14
sub eax, 1
je 0x1400cff18
cmp eax, 2
jne 0x1400cff4f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140244f00
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400cff46
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 0x1400cff4f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400cfefc
xor al, al
jmp 0x1400cfefc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140244f00
add rsp, 0x60
pop rbx
ret

Function at 0x1400d3a70
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x38
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r15, [r8 - 1]
mov rbx, rcx
mov rbp, r15
mov r14, r9
sar rbp, 1
mov rdi, r8
mov r11, rdx
mov rsi, rdx
mov rcx, rdx
cmp rdx, rbp
jge 0x1400d3af9
nop dword [rax]
lea r10, [rcx + rcx]
mov rax, r10
lea rcx, [rsp + 0x90]
add rax, rax
mov r8, qword [rbx + rax*8 + 0x18]
mov rdx, qword [rbx + rax*8 + 0x28]
call fcn.1400c3110
movzx edx, al
lea rcx, [r10 + 1]
add r11, r11
xor rdx, 1
add rcx, rdx
mov rax, rcx
add rax, rax
movups xmm0, xmmword [rbx + rax*8]
movups xmmword [rbx + r11*8], xmm0
mov r11, rcx
cmp rcx, rbp
jl 0x1400d3ab0
mov r10, rcx
cmp rcx, rbp
jne 0x1400d3b19
test dil, 1
jne 0x1400d3b19
add rdi, rdi
mov r10, r15
add rcx, rcx
movups xmm0, xmmword [rbx + rdi*8 - 0x10]
movups xmmword [rbx + rcx*8], xmm0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
cmp rsi, r10
jge 0x1400d3b68
nop dword [rax + rax]
mov r8, qword [r14 + 8]
lea r11, [r10 - 1]
sar r11, 1
lea rcx, [rsp + 0x20]
mov rdi, r11
add rdi, rdi
mov rdx, qword [rbx + rdi*8 + 8]
call fcn.1400c3110
test al, al
je 0x1400d3b68
movups xmm0, xmmword [rbx + rdi*8]
add r10, r10
movups xmmword [rbx + r10*8], xmm0
mov r10, r11
cmp rsi, r11
jl 0x1400d3b30
movups xmm0, xmmword [r14]
add r10, r10
movups xmmword [rbx + r10*8], xmm0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140244f00
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400db340
Capabilities:
Print debug messages
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
mov eax, 0x1048
call fcn.140245f50
sub rsp, rax
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rbx, rcx
lea rdi, [rsp + 0x1068]
call fcn.140007e60
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x1000
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf_s]
lea rdx, [rsp + 0x30]
mov ecx, 2
call qword [0x1402d87d8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [0x140263dc0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [0x1402dc611], 0
jne 0x1400db41a
mov r9d, 0x212
lea r8, str.Gigi_Assert
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
sub eax, 3
je 0x1400db404
sub eax, 1
je 0x1400db408
cmp eax, 1
je 0x1400db41a
mov al, 1
jmp 0x1400db41c
call qword [sym.imp.KERNEL32.dll_DebugBreak]
mov ecx, 0x64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor al, al
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140244f00
add rsp, 0x1048
pop rdi
pop rbx
ret
Function at 0x1400df4f0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rcx
mov qword [rsp + 0x58], rcx
xor ebp, ebp
lea ecx, [rbp + 0x50]
call fcn.140244f20
mov rdi, rax
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_spdlog::sinks::wincolor_stdout_sink_struct_spdlog::details::console_mutex__.0
mov qword [rdi], rax
lea rsi, [rdi + 0x10]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsi + 8], ebp
lea rcx, vtable.spdlog::sinks::wincolor_sink_struct_spdlog::details::console_mutex_.0
mov qword [rsi], rcx
mov qword [rsi + 0x10], rax
mov ecx, 8
mov rax, qword gs:[0x58]
mov rax, qword [rax]
lea r15d, [rbp + 2]
lea rbx, [0x1402e0510]
mov eax, dword [rcx + rax]
cmp dword [0x1402e0758], eax
jle 0x1400df602
lea rcx, [0x1402e0758]
call fcn.140245038
cmp dword [0x1402e0758], 0xffffffff
jne 0x1400df602
mov dword [0x1402e0510], ebp
mov qword [0x1402e0518], rbp
mov qword [0x1402e0520], rbp
xorps xmm0, xmm0
movups xmmword [0x1402e0528], xmm0
movups xmmword [0x1402e0538], xmm0
movups xmmword [0x1402e0548], xmm0
mov qword [0x1402e0558], rbp
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14025a3b0]
call fcn.140245644
lea rcx, [0x1402e0758]
call fcn.140244fcc
mov qword [rsi + 0x18], rbx
mov ecx, 0xd8
call fcn.140244f20
mov rbx, rax
mov qword [rsp + 0x48], rax
xor edx, edx
mov r8d, 0xd8
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
mov r8, r15
lea rdx, [0x140263bf0]
lea rcx, [rsp + 0x28]
call fcn.140007c30
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.1400d9bb0
nop
mov qword [rsi + 0x28], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
setne al
mov byte [rsi + 0x20], al
mov dword [rsi + 0x30], 0x30007
mov dword [rsi + 0x34], 0xe0002
mov dword [rsi + 0x38], 0x4f000c
mov word [rsi + 0x3c], bp
lea rax, vtable.spdlog::sinks::wincolor_stdout_sink_struct_spdlog::details::console_mutex_.0
mov qword [rsi], rax
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14], rsi
mov qword [r14 + 8], rdi
mov rax, r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140244f00
lea r11, [rsp + 0x70]
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
Function at 0x1400e4bd0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400e4c05
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 + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400dc040
lea rax, [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 0x1400e4d24
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x1400e4ca2
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400e4d13
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x1400e4cdb
mov r10, qword [rdx]
cmp r10, rax
je 0x1400e4cd5
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 0x1400e4d13
cmp r8, rdx
je 0x1400e4cef
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x1400e4d35
cmp r8, rdx
jne 0x1400e4ce0
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 0x1400e4c70
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x1400e4d13
Function at 0x1400f29e0
Capabilities:
Read file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rdx
mov qword [rsp + 0x20], 0
mov rdx, rcx
lea r8, [0x14025d010]
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
jne 0x1400f2a35
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140244f00
add rsp, 0x40
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [rsp + 0x20]
xor r8d, r8d
xor edx, edx
movsxd rbp, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rsi, qword [rdi + 8]
lea ecx, [rbp + 1]
mov rdx, qword [rdi]
movsxd rbx, ecx
mov rcx, rsi
sub rcx, rdx
cmp rbx, rcx
jae 0x1400f2a8c
lea rax, [rdx + rbx]
jmp 0x1400f2abb
jbe 0x1400f2abf
mov rax, qword [rdi + 0x10]
sub rax, rdx
cmp rbx, rax
jbe 0x1400f2aa7
mov rdx, rbx
mov rcx, rdi
call fcn.140177cb0
jmp 0x1400f2abf
sub rbx, rcx
xor edx, edx
mov r8, rbx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + rsi]
mov qword [rdi + 8], rax
mov r9, qword [rsp + 0x20]
mov r8, rbp
mov rcx, qword [rdi]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [rdi + 8]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x60]
mov byte [rax - 1], 0
mov al, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140244f00
add rsp, 0x40
pop rdi
ret
Function at 0x140126550
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, r9
mov rbp, rcx
mov ebx, 0xffffffff
mov eax, ebx
lea r9, [0x14027e0a5]
lea r8, str.ShaderSampler
lea r12, [0x14028bec0]
nop word [rax + rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r12 + rcx*4]
inc r8
cmp r8, r9
jne 0x1401265a0
not eax
mov esi, dword [rsp + 0xd0]
mov ecx, esi
shl ecx, 6
mov edx, esi
shr edx, 2
add eax, ecx
add edx, 0x9e3779b9
add eax, edx
xor esi, eax
mov byte [rsp + 0x60], 0
mov eax, ebx
lea r13, [0x14027c500]
lea r8, str.name
nop
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r12 + rcx*4]
inc r8
cmp r8, r13
jne 0x1401265f0
not eax
mov r15d, esi
shl r15d, 6
mov ecx, esi
shr ecx, 2
add r15d, ecx
lea edi, [r15 - 0x61c88647]
add edi, eax
xor edi, esi
lea rdx, str.name
lea rcx, [rsp + 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140126643
mov rax, qword [rax]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r14
lea rcx, str.The_name_of_the_resource_in_the_shader
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rbp
call fcn.14011aca0
mov ebp, eax
cmp byte [rsp + 0x60], 0
je 0x140126689
cmp edi, 0x9bca5295
jne 0x140126689
call fcn.140143df0
nop
lea rcx, [rsp + 0x40]
call fcn.1400050e0
cmp ebp, 1
jne 0x140126708
lea r8, str.name
nop
movsx ecx, byte [r8]
mov eax, ebx
xor rcx, rax
movzx eax, cl
shr ebx, 8
xor ebx, dword [r12 + rax*4]
inc r8
cmp r8, r13
jne 0x1401266a0
not ebx
add ebx, 0x9e3779b9
add ebx, r15d
xor ebx, esi
lea rdx, str.name
lea rcx, [rsp + 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1401266e4
mov rax, qword [rax]
mov dword [rsp + 0x20], ebx
mov r9, r14
lea r8, str.The_name_of_the_resource_in_the_shader
mov rdx, rax
call fcn.140116c00
or byte [rsp + 0x60], al
lea rcx, [rsp + 0x40]
call fcn.1400050e0
lea rdx, str.filter
lea rcx, [rsp + 0x40]
call fcn.1401137d0
lea rcx, [rsp + 0x40]
call fcn.1400050e0
lea rdx, str.filter
lea rcx, [rsp + 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x14012673f
mov rax, qword [rax]
lea r9, [r14 + 0x20]
mov rdx, rax
call fcn.14011fe00
or byte [rsp + 0x60], al
lea rcx, [rsp + 0x40]
call fcn.1400050e0
lea rdx, str.addressMode
lea rcx, [rsp + 0x40]
call fcn.1401137d0
lea rcx, [rsp + 0x40]
call fcn.1400050e0
lea rdx, str.addressMode
lea rcx, [rsp + 0x40]
call fcn.1401137d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140126790
mov rax, qword [rax]
lea r9, [r14 + 0x24]
mov rdx, rax
call fcn.1401204c0
or byte [rsp + 0x60], al
lea rcx, [rsp + 0x40]
call fcn.1400050e0
movzx eax, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140244f00
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret