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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r10, rcx
mov r9, rdx
cmp r14, 0x10
jb 0x1400025ff
mov r9, qword [rdx]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test rsi, rsi
je 0x140002634
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + r9]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x140002620
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
mov qword [rsp + 0x30], rbp
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r10 + 8]
je 0x1400026be
mov rbp, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x140002672
mov rdx, qword [rdx]
mov rcx, rdi
cmp r14, 0x10
jb 0x14000267e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14000268f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000269a
cmp rbx, rbp
je 0x1400026be
mov rbx, qword [rbx + 8]
jmp 0x140002660
test rbx, rbx
je 0x1400026be
mov rbp, qword [rsp + 0x30]
lea rax, [rbx + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
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 0x1400104b0
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 0x1400104d8
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 0x1400104fe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140010500
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140010559
test ecx, ecx
jle 0x140010539
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 0x140010559
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140010559
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 0x140010580
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 0x1400105a2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400105b8
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 0x1400105d4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400105d6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140010612
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 0x1400106ae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001064d
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 0x14001068e
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 0x1400106ae
cmp rbx, rax
ja 0x140010660
test rbx, rbx
je 0x1400106ae
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 0x140010ae0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400eb028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140010b0d
xor eax, eax
jmp 0x140010c79
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140010b47
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140010b47
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 0x140010c79
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140010c6c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140010b8a
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 0x140010bb5
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 0x140010c71
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 0x140010c24
sub eax, 1
je 0x140010c24
cmp eax, 2
jne 0x140010c6c
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 0x140010c71
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140010c52
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 0x140010c6c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140010c71
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400a3120
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140011640
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400eb028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140011713
cmp byte [rcx + 0x71], 0
je 0x140011713
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001170f
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 0x1400116d4
sub eax, 1
je 0x1400116d8
cmp eax, 2
jne 0x14001170f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a3120
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140011706
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 0x14001170f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400116bc
xor al, al
jmp 0x1400116bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a3120
add rsp, 0x60
pop rbx
ret
Function at 0x140012170
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push r12
push r14
sub rsp, 0x30
mov qword [rsp + 0x50], rbp
mov r8, rdx
mov rbp, qword [rdx + 0x10]
mov qword [rsp + 0x60], rsi
mov rsi, rdx
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x28], r13
mov r13, qword [rdx + 0x18]
cmp r13, 0x10
jb 0x1400121a5
mov r8, qword [rdx]
xor ebx, ebx
movabs rdx, 0xcbf29ce484222325
mov ecx, ebx
test rbp, rbp
je 0x1400121e4
movabs r9, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rbp
jb 0x1400121d0
mov r14, qword [0x1400ec470]
mov r12, qword [0x1400ec448]
and r14, rdx
shl r14, 4
add r14, qword [0x1400ec458]
mov rcx, qword [r14 + 8]
mov rdi, rcx
cmp rcx, r12
je 0x140012266
mov qword [rsp + 0x20], r15
mov r15, qword [r14]
nop dword [rax]
nop dword [rax + rax]
cmp qword [rdi + 0x28], 0x10
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x140012232
mov rdx, qword [rdx]
mov rcx, rsi
cmp r13, 0x10
jb 0x14001223e
mov rcx, qword [rsi]
cmp rbp, rax
jne 0x14001224f
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001225a
cmp rdi, r15
je 0x14001225d
mov rdi, qword [rdi + 8]
jmp 0x140012220
mov rbx, rdi
mov rcx, qword [r14 + 8]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
test rbx, rbx
je 0x1400122e8
mov rax, qword [r14]
cmp rcx, rbx
jne 0x14001229f
cmp rax, rbx
jne 0x140012295
mov qword [r14], r12
mov qword [r14 + 8], r12
jmp 0x1400122aa
mov r12, qword [rbx + 8]
mov qword [r14 + 8], r12
jmp 0x1400122aa
cmp rax, rbx
jne 0x1400122aa
mov rax, qword [rbx]
mov qword [r14], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [0x1400ec450]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.140017c90
mov edx, 0x48
mov rcx, rbx
call fcn.1400a3184
mov eax, 1
add rsp, 0x30
pop r14
pop r12
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop r14
pop r12
pop rbx
ret
Function at 0x140012440
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov r15, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r10, rcx
mov r9, rdx
cmp r15, 0x10
jb 0x14001246c
mov r9, qword [rdx]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov edx, ebp
test rsi, rsi
je 0x1400124a4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r9]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x140012490
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r10 + 8]
je 0x140012512
mov qword [rsp + 0x40], r14
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x1400124e2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0x10
jb 0x1400124ee
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1400124ff
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001250a
cmp rbx, r14
je 0x14001250d
mov rbx, qword [rbx + 8]
jmp 0x1400124d0
mov rbp, rbx
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
test rbp, rbp
mov rbp, qword [rsp + 0x50]
setne al
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x1400171d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x1400171f5
cvtsi2ss xmm0, rdx
jmp 0x14001720a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1400d7e80]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140017238
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140017238
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 0x14001726a
cmp rbx, 0x200
jae 0x140017267
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14001726a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140004300
Function at 0x1400332b0
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 0x14003330d
lea rbx, [0x1400d24d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400332f4
cmp r10, 2
jb 0x1400332f4
cmp byte [r9], r8b
jne 0x1400332f4
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 0x1400332d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14003334f
lea rbx, [0x1400d24d0]
cmp r8b, 0x23
jne 0x140033333
cmp byte [r9], r8b
jne 0x140033333
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 0x140033320
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140033450
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 0x14003346e
mov qword [r8], r14
lea rdx, [0x1400d16d0]
call fcn.140033360
mov rbx, rax
test rax, rax
jne 0x140033493
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 0x1400335bd
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 0x1400335bd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400335bd
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 0x1400335bd
cmp rdi, 0xffffffffffffffff
je 0x1400335bd
mov rcx, rdi
call fcn.140038740
mov rbp, rax
test rax, rax
je 0x1400335bd
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 0x1400335aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400ec370]
test r8, r8
je 0x14003359f
movsx rdx, word [r8 + 0x62b0]
lea rcx, [r8 + 0x62b4]
mov r9d, dword [r8 + 0x40a0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140033594
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 0x1400335c6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400335b8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400335c8
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
Function at 0x140037e40
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x130]
lea r11, [0x1400d24d0]
mov rax, qword [rcx + 0x138]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x4194], ebx
jne 0x140037ed6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14005a550
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140037ee0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x138]
lea r9, [0x1400d24d0]
movss xmm2, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movsxd rcx, dword [rcx + 0x130]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140047990
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400eb028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400ec370]
mov edi, ecx
cmp byte [rbx + 0x4ed1], 0
jne 0x1400479f1
cmp byte [rbx + 0x4ed2], 0
jne 0x1400479f1
movsx r9d, word [rbx + 0x6028]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140033090
test dil, 2
je 0x140047b20
jmp 0x140047a81
movss xmm1, dword [rbx + 0x3ad8]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x6028]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400d7e08]
mulss xmm1, dword [0x1400d7df8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe50]
addss xmm1, dword [rbx + 0xe54]
mov qword [rbx + 0x4b24], rax
mov dword [rbx + 0x4b0c], 1
movss dword [rbx + 0x4b1c], xmm0
mov byte [rbx + 0x4b48], 1
movss dword [rbx + 0x4b20], xmm1
movss xmm0, dword [rbx + 0x3b34]
mulss xmm0, dword [0x1400d7d54]
or dword [rbx + 0x4b08], 0x41
movss dword [rbx + 0x4b70], xmm0
call fcn.140033090
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140047ad1
lea r11, [0x1400d24d0]
cmp r9b, 0x23
jne 0x140047ab4
cmp byte [r8], r9b
jne 0x140047ab4
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 0x140047aa1
not ecx
call fcn.14003cb80
test rax, rax
je 0x140047b20
cmp byte [rax + 0xf3], 0
je 0x140047b20
mov byte [rax + 0xf8], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xfa], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0x118], 1
mov edx, 0x10
inc word [rbx + 0x6028]
movsx r9d, word [rbx + 0x6028]
call fcn.140033090
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20b0347
call fcn.14003ff00
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a3120
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14004df10
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 + 0x61e0], 0
lea rbx, [rcx + 0x61e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14004dfb7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14004df6a
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.14005b790
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140033fc0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x61e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x61f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400ec363]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14004dfbf
mov rcx, rbx
call fcn.140033fc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14004e2e0
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
mov rbx, qword [0x1400ec370]
xor ebp, ebp
cmp byte [rbx + 0x6120], bpl
jne 0x14004e3bf
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14004e3b8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140033450
mov rsi, rax
test rax, rax
je 0x14004e3b8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14004e344
mov rcx, rax
call fcn.14004e510
mov r8, qword [0x1400ec370]
test r8, r8
je 0x14004e3af
movsx rdx, word [r8 + 0x62b0]
lea rcx, [r8 + 0x62b4]
mov r9d, dword [r8 + 0x40a0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14004e3a4
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], ebp
inc word [rcx + 6]
inc dword [r8 + 0x62ac]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x6120], 1
movss xmm0, dword [rbx + 0x6124]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14004e44e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x6124], xmm0
jb 0x14004e44e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14004e441
mov rax, qword [0x1400ec370]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x6124], ebp
call fcn.14004e770
lea rdx, [0x1400d16d4]
mov rcx, rdi
mov rsi, rax
call fcn.140033360
mov rdi, rax
test rax, rax
je 0x14004e448
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14004e448
mov byte [rbx + 0xd6], 1
mov dword [rbx + 0x6124], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret