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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401bff00]
mov edi, ecx
cmp byte [rbx + 0x4a4d], 0
jne 0x14002e302
cmp byte [rbx + 0x4a4e], 0
jne 0x14002e302
movsx r9d, word [rbx + 0x5b72]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14001b120
test dil, 1
je 0x14002e42f
jmp 0x14002e38b
movss xmm1, dword [rbx + 0x38c0]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400e383c]
xor eax, eax
mulss xmm1, dword [0x1400e381c]
addss xmm0, dword [rbx + 0xe08]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47b8], rax
mov dword [rbx + 0x47a4], 1
movss dword [rbx + 0x47b0], xmm0
movss dword [rbx + 0x47b4], xmm1
movss xmm0, dword [rbx + 0x391c]
mulss xmm0, dword [0x1400e36c8]
or dword [rbx + 0x47a0], 0x41
movss dword [rbx + 0x4800], xmm0
movsx r9d, word [rbx + 0x5b72]
call fcn.14001b120
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14002e3e0
lea r11, [0x1400c47d0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14002e3c3
cmp byte [r8], r9b
jne 0x14002e3c3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14002e3b0
not ecx
call fcn.140022eb0
test rax, rax
je 0x14002e42f
cmp byte [rax + 0xb6], 0
je 0x14002e42f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b72]
movsx r9d, word [rbx + 0x5b72]
call fcn.14001b120
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140025660
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14002efd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1401bff00]
cmp byte [rcx + 0x3767], 0
mov rbx, qword [rcx + 0x3ec8]
je 0x14002f150
mov edx, 0x282
call fcn.14001a2e0
cmp byte [rax + 8], 0
jne 0x14002f150
mov rcx, qword [0x1401bff00]
cmp byte [rcx + 0x48e7], 0
mov r8, qword [rcx + 0x3ec8]
je 0x14002f051
cmp byte [rcx + 0x48e6], 0
jne 0x14002f051
test byte [rcx + 0x4768], 4
jne 0x14002f150
mov eax, dword [rcx + 0x48b0]
cmp eax, dword [rcx + 0x4764]
jne 0x14002f150
test eax, eax
je 0x14002f150
jmp 0x14002f110
mov eax, dword [rcx + 0x476c]
test al, 1
je 0x14002f150
cmp qword [rcx + 0x3ed0], r8
je 0x14002f070
test al, al
jns 0x14002f150
mov eax, dword [rcx + 0x3f28]
test eax, eax
je 0x14002f095
cmp eax, dword [rcx + 0x4764]
je 0x14002f095
cmp byte [rcx + 0x3f35], 0
jne 0x14002f095
cmp eax, dword [r8 + 0x7c]
jne 0x14002f150
mov rdx, qword [rcx + 0x48a8]
test rdx, rdx
je 0x14002f0f1
mov rdx, qword [rdx + 0x378]
test rdx, rdx
je 0x14002f0f1
cmp byte [rdx + 0xb7], 0
je 0x14002f0f1
mov rax, qword [r8 + 0x378]
cmp rdx, rax
je 0x14002f0f1
test dword [rdx + 0x14], 0x8000000
je 0x14002f0f1
cmp qword [rax + 0x378], rdx
je 0x14002f0f1
cmp rax, rdx
je 0x14002f0f1
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x14002f0d4
test dword [rcx + 0x4768], 0x100
je 0x14002f150
test byte [rcx + 0x4768], 4
jne 0x14002f150
mov eax, dword [r8 + 0x7c]
cmp dword [rcx + 0x4764], eax
jne 0x14002f110
cmp byte [r8 + 0xb8], 0
jne 0x14002f150
lea rdx, str.context
mov rcx, rbx
call fcn.14001e860
mov ebx, eax
test eax, eax
jne 0x14002f13f
mov r8d, 0x28b0
lea rdx, str.F:Machozenakokotleokryptedimgui.cpp
lea rcx, str.id___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, 1
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp fcn.14002e640
add rsp, 0x20
pop rbx
ret
Function at 0x140034e70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c58], 0
lea rbx, [rcx + 0x5c60]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140034f17
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140034eca
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400377a0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14001bd20
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c58]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c68]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401bfef8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140034f1f
mov rcx, rbx
call fcn.14001bd20
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400353e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x1401bff00]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x140035444
lea r10, [0x1400c47d0]
cmp r8b, 0x23
jne 0x140035427
cmp byte [rdx], r8b
jne 0x140035427
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 [r10 + rcx*4]
test r8b, r8b
jne 0x140035414
mov eax, dword [r14 + 0x5bd0]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x1400354a5
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14003546a
cmp edi, eax
jl 0x140035484
mov r8d, 0x709
lea rdx, str.F:Machozenakokotleokryptedimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5bd8]
cmp dword [rax + rbp + 8], ebx
je 0x1400354c2
mov eax, dword [r14 + 0x5bd0]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x140035461
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x1400354cf
cmp edi, dword [r14 + 0x5bd0]
jl 0x1400354e9
mov r8d, 0x709
lea rdx, str.F:Machozenakokotleokryptedimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5bd8]
lea rax, [rax + rcx*8]
jmp 0x1400354a7
Function at 0x140065200
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 r14
sub rsp, 0x40
mov rbx, r8
mov r14, rdx
mov r8, qword [r8 + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140065231
mov rdx, qword [rbx]
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x140065263
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x140065250
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.1400667e0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14006528a
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x14006544d
movabs rax, 0x492492492492492
cmp qword [0x1401e5d10], rax
jne 0x1400652ab
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [0x1401e5d08]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ecx, 0x38
call fcn.1400b8ccc
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rax + 0x10]
call fcn.1400668c0
mov ecx, dword [rbx + 0x20]
mov dword [rsi + 0x30], ecx
mov r9, qword [0x1401e5d10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400652fe
cvtsi2ss xmm0, rcx
jmp 0x140065313
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rbx, qword [0x1401e5d38]
xorps xmm2, xmm2
test rbx, rbx
js 0x140065329
cvtsi2ss xmm2, rbx
jmp 0x140065341
mov rcx, rbx
shr rcx, 1
mov rax, rbx
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
movss xmm3, dword [0x1401e5d00]
comiss xmm1, xmm3
seta al
test al, al
je 0x1400653e6
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x1400e391c]
comiss xmm0, xmm1
jb 0x14006538c
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14006538c
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1400653be
cmp rbx, 0x200
jae 0x1400653bb
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1400653be
mov rbx, rcx
mov rdx, rbx
call fcn.1400658f0
mov r9, rdi
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.1400667e0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [0x1401e5d10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc r9
mov qword [0x1401e5d10], r9
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rax, qword [0x1401e5d30]
and rax, rdi
add rax, rax
mov rcx, qword [0x1401e5d18]
mov r9, qword [rcx + rax*8]
cmp r9, qword [0x1401e5d08]
jne 0x14006542e
mov qword [rcx + rax*8], rsi
jmp 0x140065440
cmp r9, rdx
jne 0x140065439
mov qword [rcx + rax*8], rsi
jmp 0x140065445
cmp qword [rcx + rax*8 + 8], r8
jne 0x140065445
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140065b70
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 0x140065ba8
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.1400610c0
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 0x140065ce4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop
movzx edx, byte [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
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140065c5d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140065cd3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140065c9a
mov r10, qword [rdx]
cmp r10, rax
je 0x140065c94
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 0x140065cd3
cmp r9, rdx
je 0x140065caf
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140065cf9
cmp r9, rdx
jne 0x140065ca0
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 0x140065c10
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 0x140065cd3
Function at 0x140069b40
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rdi, rdx
mov edx, ecx
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140069bad
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140069ba4
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rcx, rbx
test eax, eax
je 0x140069bc0
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140069b80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x14006eb70
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rbx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x14006eb8f
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14006ed16
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14006ed16
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006ebbd
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14006ed6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x14006ed6d
mov rsi, qword [rbx + 0x10]
mov rdi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006ebed
mov rdi, qword [rbx]
test rsi, rsi
je 0x14006ec68
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x1400da420]
lea rdx, [0x1400da422]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rsp + rax + 0x40], 1
inc rcx
cmp rcx, rdx
jne 0x14006ec20
lea rax, [rsi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rdi
movzx eax, byte [r8]
cmp byte [rsp + rax + 0x40], 0
jne 0x14006ec63
cmp r8, rdi
je 0x14006ec68
dec r8
movzx eax, byte [r8]
cmp byte [rsp + rax + 0x40], 0
je 0x14006ec50
sub r8, rdi
jmp 0x14006ec6f
mov r8, 0xffffffffffffffff
cmp r8, 0xffffffffffffffff
je 0x14006ed6d
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
cmp rsi, r8
cmovb r8, rsi
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006ec9e
mov rdx, qword [rbx]
lea rcx, [rsp + 0x20]
call fcn.140065760
nop
lea rcx, [rsp + 0x20]
call fcn.14006eb70
test al, al
je 0x14006ed2d
cmp qword [rbx + 0x18], 0xf
jbe 0x14006ecc1
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14006ecdd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14006ed2d
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14006ed16
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ed11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ed61
call fcn.1400b9018
mov al, 1
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14006ed6d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ed68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ed68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b9018
xor al, al
jmp 0x14006ed18
Function at 0x14008f920
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 case.default.0x14008f941
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 0x14008f96e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14008f970
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14008f9c9
test ecx, ecx
jle 0x14008f9a9
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 0x14008f9c9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14008f9c9
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
imul ebp, dword [rbp + 0x70], 0x6f6e5f6c
Function at 0x14008f9f0
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 0x14008fa21
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 case.default.0x14008fa38
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 0x14008fa5b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14008fa5d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14008fa99
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 0x14008fb2e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14008fad4
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 0x14008fb0e
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 0x14008fb2e
cmp rbx, rax
ja 0x14008fae0
test rbx, rbx
je 0x14008fb2e
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
invalid
Function at 0x14008ff40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14008ff64
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14008ffa7
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x14008ffa7
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x1400900d8
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14008ffea
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 0x140090015
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
cmove edi, ecx
mov eax, edi
jmp 0x1400900dd
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
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 0x14009008a
sub eax, 1
je 0x14009008a
cmp eax, 2
jne 0x1400900d8
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
cmove edi, ecx
mov eax, edi
jmp 0x1400900dd
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x1400900bb
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400900d8
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400900dd
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1400912a0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
sub rsp, 0x48
mov rsi, r8
mov rbp, rdx
cmp rdx, r8
je 0x1400913a4
mov rdx, qword [0x1401e5a58]
movabs r8, 0x100000001b3
mov qword [rax + 0x18], rbx
mov rbx, rbp
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov r12, qword [rbp + 8]
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
movzx r14d, byte [rbp + 0x10]
mov qword [rax - 0x38], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [0x1401e5a48]
xor r14, rax
movzx eax, byte [rbp + 0x11]
imul r14, r8
mov qword [rsp + 0x68], rdx
xor r14, rax
movzx eax, byte [rbp + 0x12]
imul r14, r8
xor r14, rax
movzx eax, byte [rbp + 0x13]
imul r14, r8
xor r14, rax
imul r14, r8
and r14, qword [0x1401e5a70]
shl r14, 4
add r14, rdx
mov rax, qword [r14]
mov r13, qword [r14 + 8]
mov qword [rsp + 0x60], rax
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.1400b9018
dec qword [0x1401e5a50]
cmp rdi, r13
je 0x1400913ae
cmp rbx, rsi
jne 0x140091350
cmp qword [rsp + 0x60], rbp
jne 0x14009137e
mov qword [r14], rbx
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
mov qword [r12], rbx
mov qword [rbx + 8], r12
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x70]
mov rax, rsi
add rsp, 0x48
pop rsi
pop rbp
ret
cmp qword [rsp + 0x60], rbp
jne 0x1400913bd
mov qword [r14], r15
mov rax, r15
jmp 0x1400913c0
mov rax, r12
mov qword [r14 + 8], rax
cmp rbx, rsi
je 0x14009137e
mov r13, qword [rsp + 0x68]
nop
movzx r14d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r14, rax
movzx eax, byte [rbx + 0x11]
imul r14, rdx
xor r14, rax
movzx eax, byte [rbx + 0x12]
imul r14, rdx
xor r14, rax
movzx eax, byte [rbx + 0x13]
imul r14, rdx
xor r14, rax
imul r14, rdx
and r14, qword [0x1401e5a70]
shl r14, 4
add r14, r13
mov rbp, qword [r14 + 8]
nop dword [rax]
nop word [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.1400b9018
dec qword [0x1401e5a50]
cmp rdi, rbp
je 0x140091459
cmp rbx, rsi
jne 0x140091430
jmp 0x14009137b
mov qword [r14], r15
mov qword [r14 + 8], r15
cmp rbx, rsi
jne 0x1400913d0
jmp 0x14009137e