joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180013830
Capabilities:
Create directory

Disassembly:
push rbx
push r15
sub rsp, 0xa8
mov rax, qword [0x180161040]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor r15d, r15d
mov rbx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x18001385d
mov rcx, qword [rcx]
mov qword [rsp + 0xc8], rbp
lea rdx, [rsp + 0x38]
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xa0], r14
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
je 0x1800139b3
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x180013a29
mov rsi, r15
lea r14, [0x180110f00]
nop word [rax + rax]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], r15b
jne 0x1800138b7
mov rbp, qword [rbx + 0x18]
mov rcx, rbx
cmp rbp, 0xf
jbe 0x1800138d0
mov rcx, qword [rbx]
mov r9, r14
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rdx, rdi
call fcn.18001c2b0
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x48], r15
mov rsi, rax
mov qword [rsp + 0x50], r15
cmove rsi, rdi
xorps xmm0, xmm0
cmp rdi, rsi
mov r8, rsi
movups xmmword [rsp + 0x38], xmm0
cmovb r8, rdi
mov rdx, rbx
cmp rbp, 0xf
jbe 0x180013916
mov rdx, qword [rbx]
lea rcx, [rsp + 0x38]
call fcn.180005260
cmp qword [rsp + 0x48], r15
je 0x180013966
cmp qword [rsp + 0x50], 0xf
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x68]
cmova rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
je 0x180013966
cmp qword [rsp + 0x50], 0xf
lea rcx, [rsp + 0x38]
cmova rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
test eax, eax
jne 0x1800139f0
mov rdx, qword [rsp + 0x50]
inc rsi
cmp rdx, 0xf
jbe 0x1800139a6
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800139a1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013a2d
call fcn.1800df6f8
mov rdi, qword [rbx + 0x10]
cmp rsi, rdi
jb 0x1800138b0
mov al, 1
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1800df290
add rsp, 0xa8
pop r15
pop rbx
ret
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x180013a29
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013a24
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180013a2d
call fcn.1800df6f8
xor al, al
jmp 0x1800139b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1800167d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x180161040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x48]
call fcn.180017a40
nop
lea r8, [rsp + 0x48]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp r15, 0xf
cmova r8, r14
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x180016864
movabs r9, 0x100000001b3
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x180016850
mov rcx, qword [r13 + 0x120]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x108]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 0xf8]
je 0x1800168cb
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800168a2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x48]
cmp r15, 0xf
cmova rcx, r14
cmp rdi, rax
jne 0x1800168c0
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800168cd
cmp rbx, rsi
je 0x1800168cb
mov rbx, qword [rbx + 8]
jmp 0x180016890
xor ebx, ebx
test rbx, rbx
cmove rbx, qword [r13 + 0xf8]
lea r8, [rsp + 0x48]
cmp rbx, qword [r13 + 0xf8]
jne 0x1800169c5
lea rcx, [r13 + 0xf0]
lea rdx, [rsp + 0x28]
call fcn.18001bd00
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, r12
call fcn.1800176a0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x18001694b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016946
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180016946
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800df6f8
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x180016998
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180016998
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180016998
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800df290
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x68]
call fcn.18001b690
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180018070
mov rcx, rax
call fcn.180013740
int3
Function at 0x180020b60
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 0x180020b98
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.180017e80
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 0x180020cb4
mov qword [rsp + 0x38], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop
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 0x180020c32
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180020ca3
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x180020c6b
mov r10, qword [rdx]
cmp r10, rax
je 0x180020c65
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 0x180020ca3
cmp r8, rdx
je 0x180020c7f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x180020cc9
cmp r8, rdx
jne 0x180020c70
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 0x180020c00
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 0x180020ca3
Function at 0x180024a50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x180161040]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, rcx
mov qword [rsp + 0x30], 0
lea rsi, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x20], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0xfa
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
lea r8, [rsp + 0x20]
call qword [rax + 8]
mov r9, qword [rdi + 0x70]
test r9, r9
je 0x180024ad4
mov rbx, qword [rsp + 0x30]
mov r8, rbx
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rbx
jne 0x180024b3f
mov qword [rsp + 0x20], rsi
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
cmp rcx, rax
je 0x180024b1a
mov rdx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180024b15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180024b15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800df6f8
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1800df290
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 + 0x140]
call fcn.180013810
nop
mov r8, rax
lea rdx, str.Failed_writing_to_file
lea rcx, [rsp + 0x160]
call fcn.18001b6f0
nop
mov edx, ebx
mov rcx, rax
call fcn.1800136b0
int3
Function at 0x180033130
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
mov r11, rcx
mov eax, edx
cmp byte [rcx], al
je 0x180033178
nop dword [rax + rax]
movzx r9d, byte [rdx + r11]
lea r10d, [rdx + 1]
lea ecx, [r9 + 0x20]
movzx edx, cl
lea r8d, [r9 - 0x41]
cmp r8b, 0x19
cmova edx, r9d
movsx ecx, dl
add ecx, eax
mov edx, r10d
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
cmp byte [r10 + r11], 0
jne 0x180033140
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x180042f10
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 0x180042f38
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 0x180042f5e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180042f60
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180042fb9
test ecx, ecx
jle 0x180042f99
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 0x180042fb9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180042fb9
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 0x180042fe0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180043011
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x18004302f
mov rbp, qword [rsp + 0x40]
mov rsi, 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__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18004304b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18004304d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180043089
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18004311e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800430c4
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 0x1800430fe
nop dword [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 0x18004311e
cmp rbx, rax
ja 0x1800430d0
test rbx, rbx
je 0x18004311e
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180043580
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180161040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800435ad
xor eax, eax
jmp 0x180043719
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1800435e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1800435e7
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 0x180043719
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18004370c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18004362a
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 0x180043655
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 0x180043711
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
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_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 0x1800436c4
sub eax, 1
je 0x1800436c4
cmp eax, 2
jne 0x18004370c
movsx ecx, byte [rsp + 0x40]
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 0x180043711
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1800436f2
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 0x18004370c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180043711
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800df290
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180043cf0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180161040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180043dc3
cmp byte [rcx + 0x71], 0
je 0x180043dc3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180043dbf
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 0x180043d84
sub eax, 1
je 0x180043d88
cmp eax, 2
jne 0x180043dbf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800df290
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180043db6
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 0x180043dbf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180043d6c
xor al, al
jmp 0x180043d6c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800df290
add rsp, 0x60
pop rbx
ret
Function at 0x18004e5e0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x180169780]
mov rsi, rcx
xor r8d, r8d
xor edx, edx
or dword [rax + 0x4a00], 2
mov dword [rax + 0x4a20], 0x44320000
mov dword [rax + 0x4a24], 0x445d4000
mov dword [rax + 0x4a08], 4
mov rcx, qword [rcx + 0x150]
call fcn.18005c730
mov rcx, rsi
call fcn.18004bc30
movss xmm1, dword [0x18013e790]
xorps xmm0, xmm0
call fcn.180062cb0
call fcn.18003a4e0
call fcn.18009aa70
test al, al
je 0x18004e7e5
mov qword [rsp + 0x60], rbp
mov rbp, qword [rsi + 0x160]
mov qword [rsp + 0x68], rdi
mov rdi, qword [rsi + 0x158]
cmp rdi, rbp
je 0x18004e7d6
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x38], r14
lea r14, [0x180111c50]
mov qword [rsp + 0x30], r15
lea r15, [0x180129221]
nop
mov rcx, qword [rdi]
mov rcx, qword [rcx + 8]
call fcn.18009c6e0
test al, al
je 0x18004e7ba
mov rcx, qword [0x180169780]
mov rdx, r15
mov dword [rsp + 0x50], 0x80800000
mov r8b, 0x4d
mov dword [rsp + 0x54], 0x80800000
mov rax, qword [rcx + 0x4000]
mov byte [rax + 0xc0], 1
mov r10, qword [rcx + 0x4000]
movsxd rcx, dword [r10 + 0x100]
mov rax, qword [r10 + 0x108]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
nop
cmp r8b, 0x23
jne 0x18004e703
cmp byte [rdx], r8b
jne 0x18004e703
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r14 + rcx*4]
test r8b, r8b
jne 0x18004e6f0
mov rax, qword [r10]
not ebx
cmp dword [rax + 0x404c], ebx
jne 0x18004e740
lea r8, str.MainParamsWindow_Base
mov edx, 0xb
mov ecx, ebx
call fcn.18006ac70
mov r9d, 1
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x50]
mov edx, ebx
lea rcx, str.MainParamsWindow_Base
call fcn.180059570
test al, al
je 0x18004e77d
mov rax, qword [rdi]
mov qword [rsi + 0x170], rax
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 8]
call fcn.180059870
mov r8, qword [0x180169780]
mov rdx, qword [r8 + 0x4000]
cmp byte [rdx + 0xc3], 0
jne 0x18004e7ba
mov r8, qword [r8 + 0x4e88]
test r8, r8
je 0x18004e7ba
movsx rax, word [r8 + 0x78]
imul rcx, rax, 0x2c
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x18004e7ba
dec dword [rdx + 0x100]
add rdi, 8
cmp rdi, rbp
jne 0x18004e690
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x58]
call fcn.18009aec0
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
jmp fcn.18005ec10
Function at 0x180051150
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 0x1800511ad
lea rbx, [0x180111c50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180051194
cmp r10, 2
jb 0x180051194
cmp byte [r9], r8b
jne 0x180051194
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 0x180051170
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800511ef
lea rbx, [0x180111c50]
cmp r8b, 0x23
jne 0x1800511d3
cmp byte [r9], r8b
jne 0x1800511d3
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 0x1800511c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180051340
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18005135a
mov qword [r8], 0
lea rdx, [0x18012a1e0]
call fcn.180051200
mov rbx, rax
test rax, rax
jne 0x18005137a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180051425
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180051425
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180051425
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180051425
cmp rdi, 0xffffffffffffffff
je 0x180051425
mov rcx, rdi
call fcn.180056380
mov rsi, rax
test rax, rax
je 0x180051425
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 0x180051412
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.180056420
jmp 0x18005142e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180051420
mov qword [r14], rdi
mov rax, rsi
jmp 0x180051430
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret