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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000283d
xor eax, eax
jmp 0x1400029a9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002877
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002877
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 0x1400029a9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000299c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400028ba
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 0x1400028e5
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 0x1400029a1
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 0x140002954
sub eax, 1
je 0x140002954
cmp eax, 2
jne 0x14000299c
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 0x1400029a1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002982
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 0x14000299c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400029a1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400034d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002c20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002cf3
cmp byte [rcx + 0x71], 0
je 0x140002cf3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002cef
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 0x140002cb4
sub eax, 1
je 0x140002cb8
cmp eax, 2
jne 0x140002cef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400034d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002ce6
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 0x140002cef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002c9c
xor al, al
jmp 0x140002c9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400034d0
add rsp, 0x60
pop rbx
ret

Function at 0x140003a10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003a5a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003a5a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003a5a
cmp dword [rcx + 0x84], 0xe
jbe 0x140003a5a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003a5c
xor al, al
add rsp, 0x28
ret
Function at 0x1400095d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x58
mov rax, qword [0x1400f0e40]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [r8 + 0x18], 0xf
mov r15, rdx
mov r10, qword [r8 + 0x10]
mov rdx, r8
movzx ebp, r9b
mov rsi, rcx
jbe 0x140009604
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x140009633
movabs r11, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x140009620
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x20]
call fcn.1400022d0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14000964e
mov rcx, qword [rsi + 0x28]
cmp rcx, qword [rsi + 0x28]
je 0x140009775
cmp byte [rsp + 0xa0], 0
mov qword [rsp + 0x98], rdi
lea rdi, [rcx + 0x30]
mov qword [rsp + 0x50], r14
lea r14, [rcx + 0x50]
je 0x1400096c9
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx eax, word [rsp + 0x3e]
sub eax, dword [r15 + 0x10]
movsx ecx, word [rsp + 0x3a]
sub eax, ecx
inc eax
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x1400096c9
mov ebx, eax
nop dword [rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400a6ea8]
call fcn.140001cb0
sub rbx, 1
jne 0x1400096b0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400a6eb0]
call fcn.140001cb0
cmp qword [rdi + 0x18], 0xf
mov r8, qword [rdi + 0x10]
jbe 0x1400096ea
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.140002720
cmp qword [r14 + 0x18], 0xf
mov r8, qword [r14 + 0x10]
mov rdi, qword [rsp + 0x98]
jbe 0x14000970b
mov r14, qword [r14]
mov rdx, r14
mov rcx, rax
call fcn.140002720
cmp qword [rsi + 0x18], 0xf
mov r8, qword [rsi + 0x10]
mov r14, qword [rsp + 0x50]
jbe 0x140009729
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140002720
lea rdx, [0x1400a6eac]
mov rcx, rax
call fcn.140001cb0
cmp qword [r15 + 0x18], 0xf
mov r8, qword [r15 + 0x10]
jbe 0x140009751
mov r15, qword [r15]
mov rdx, r15
mov rcx, rax
call fcn.140002720
test bpl, bpl
jne 0x140009775
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140002e20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14009fba0
add rsp, 0x58
pop r15
pop rsi
pop rbp
pop rbx
ret
Function at 0x140009800
Capabilities:
Log keystrokes via polling

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, 0xa0
mov rax, qword [0x1400f0e40]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
lea rsi, [rsp + 0xa8]
movabs rbp, 0xff00ff00ff00ff00
xor r14d, r14d
nop dword [rax]
mov rcx, qword [0x1400f6e38]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rbx, qword [rsi]
mov rax, rbx
xor rax, rbp
mov qword [rsp + 0x38], rax
mov qword [rsi], r14
call qword [0x1400f6978]
nop
mov qword [rsi], rbx
mov rcx, qword [0x1400f6e38]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rax, rbx
xor rax, rbp
mov qword [rsp + 0x38], rax
mov qword [rsi], r14
mov edx, 5
call qword [0x1400f6960]
nop
mov qword [rsi], rbx
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1400f6e38]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400098f4
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.14001c830
mov rbx, rax
mov rcx, qword [0x1400f6e38]
mov qword [rax + 0xc0], rcx
mov dword [rax + 0x10], 0x3c888889
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdf8], xmm0
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000996a
mov byte [rbx + 0xe00], 1
mov byte [rbx + 0x3738], 1
mov eax, dword [rbx + 0xdfc]
mov dword [rbx + 0x36e8], eax
jmp 0x140009971
mov byte [rbx + 0xe00], 0
mov rcx, qword [0x1400f6e28]
xor r8d, r8d
mov rax, qword [rcx]
cmp byte [0x1400f68ba], r8b
je 0x14000998d
lea edx, [r8 + 1]
jmp 0x14000998f
xor edx, edx
call qword [rax + 0x40]
call fcn.1400435d0
call fcn.1400444a0
call fcn.140023120
mov rcx, qword [0x1400f69a0]
call fcn.140004cf0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400099ce
cmp byte [0x1400f073b], 0
sete al
mov byte [0x1400f073b], al
jmp 0x1400099d5
movzx eax, byte [0x1400f073b]
test al, al
je 0x1400099e1
mov rcx, rdi
call fcn.140007fc0
call fcn.140024b00
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov rcx, qword [0x1400f6e20]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400f6e30]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x1400f6e20]
mov rax, qword [rcx]
lea r8, [rsp + 0x80]
mov rdx, qword [0x1400f6e30]
call qword [rax + 0x190]
call fcn.14001c4f0
mov rcx, rax
call fcn.140043610
cmp dword [rsp + 0x58], 0x12
jne 0x140009860
call fcn.140044270
call fcn.1400447b0
xor ecx, ecx
call fcn.140019df0
mov rcx, qword [0x1400f6e38]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14009fba0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400176d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x1400f6e60]
movzx esi, r9b
mov r12d, dword [rsp + 0x90]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3f08]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1b0], 0
jne 0x14001772f
cmp qword [rdi + 0x4bd8], 0
mov eax, 0x258
je 0x140017734
mov eax, 0x228
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x140017779
jne 0x140017779
mov eax, 1
jmp 0x14001777b
xor eax, eax
ucomiss xmm0, xmm3
jp 0x14001778a
jne 0x14001778a
mov r15d, 2
jmp 0x14001778d
xor r15d, r15d
movss xmm2, dword [0x1400a78a8]
or r15d, eax
comiss xmm3, xmm1
jb 0x1400177a9
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x1400177a9
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x1400177ba
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x1400177ba
movaps xmm0, xmm2
or dword [rdi + 0x47f0], 2
xor edx, edx
movss dword [rdi + 0x4810], xmm1
movss dword [rdi + 0x4814], xmm0
mov dword [rdi + 0x47f8], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x140017803
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.14001d3f0
jmp 0x140017819
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.14001d3f0
movss xmm6, dword [rdi + 0x37f8]
test sil, sil
jne 0x140017830
mov dword [rdi + 0x37f8], 0
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.140014ca0
mov rsi, qword [rdi + 0x3f08]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x140017876
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1400a8aa9]
not r9d
lea r10, [0x1400a7c30]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1400178a3
cmp byte [rdx], r8b
jne 0x1400178a3
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 0x140017890
not ebx
cmp dword [rdi + 0x3f68], ebx
jne 0x1400178d3
xor edx, edx
xor ecx, ecx
call fcn.140027e00
cmp dword [rdi + 0x4918], r14d
jne 0x140017920
bt r12d, 0x17
jb 0x140017920
cmp word [rsi + 0x15c], 0
jne 0x1400178f6
cmp byte [rsi + 0x162], 0
je 0x140017920
xor edx, edx
mov rcx, rsi
call fcn.14001be50
xor edx, edx
mov rcx, rsi
call fcn.14001f740
mov rdx, rsi
mov ecx, ebx
call fcn.140027e00
mov eax, dword [rdi + 0x4940]
mov dword [rdi + 0x3f90], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140017b30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f0e40]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400f6e60]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4b21], 0
jne 0x140017b98
cmp byte [rbx + 0x4b22], 0
jne 0x140017b98
movsx r9d, word [rbx + 0x5c60]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14001d370
test sil, 2
je 0x140017cd0
jmp 0x140017c31
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400a78c0]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400a78b4]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
or dword [rbx + 0x47f0], 1
mov qword [rbx + 0x4808], rax
movss dword [rbx + 0x4800], xmm0
mov dword [rbx + 0x47f4], 1
movss dword [rbx + 0x4804], xmm1
movss xmm0, dword [rbx + 0x3900]
mov rax, qword [0x1400f6e60]
mulss xmm0, dword [0x1400a9750]
or dword [rax + 0x47f0], 0x40
movss dword [rax + 0x4850], xmm0
movsx r9d, word [rbx + 0x5c60]
call fcn.14001d370
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140017c81
lea r11, [0x1400a7c30]
cmp r9b, 0x23
jne 0x140017c64
cmp byte [r8], r9b
jne 0x140017c64
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 0x140017c51
not ecx
call fcn.14001ba70
test rax, rax
je 0x140017cd0
cmp byte [rax + 0xb6], 0
je 0x140017cd0
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, reloc.WS2_32.dll_recv
inc word [rbx + 0x5c60]
movsx r9d, word [rbx + 0x5c60]
call fcn.14001d370
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140014ca0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14009fba0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14001b9d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400f6e60]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001ba33
mov qword [rsp], rbx
lea rbx, [0x1400a7c30]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001ba13
cmp byte [r8], r9b
jne 0x14001ba13
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001ba00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5d28]
not eax
mov r8, qword [r10 + 0x5d30]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001ba5f
cmp dword [r8 + 8], eax
je 0x14001ba66
add r8, 0x48
cmp r8, rcx
jne 0x14001ba50
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14001c550
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x1400a7c30]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f50], ebx
jne 0x14001c5dd
xor r9d, r9d
movsxd r8, edx
mov ecx, ebx
lea edx, [r9 + 4]
call fcn.1400195d0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14001c670
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x1400a7c30]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
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 0x14001d120
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x14001d13b
mov qword [r8], 0
call fcn.14001d280
mov rbx, rax
test rax, rax
jne 0x14001d151
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14001d259
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 0x14001d259
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001d259
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 0x14001d259
cmp rdi, 0xffffffffffffffff
je 0x14001d259
mov rdx, qword [0x1400f6e70]
lea rcx, [rdi + rbp]
call qword [0x1400f0740]
mov rsi, rax
mov rax, qword [0x1400f6e60]
test rax, rax
je 0x14001d1e6
inc dword [rax + 0xf0]
test rsi, rsi
je 0x14001d259
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x14001d231
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400f6e60]
test rax, rax
je 0x14001d21f
dec dword [rax + 0xf0]
mov rdx, qword [0x1400f6e70]
mov rcx, rsi
call qword [0x1400f0748]
jmp 0x14001d262
test ebp, ebp
jle 0x14001d243
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001d254
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001d264
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x14001d6a0
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 0x14001d6fd
lea rbx, [0x1400a7c30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001d6e4
cmp r10, 2
jb 0x14001d6e4
cmp byte [r9], r8b
jne 0x14001d6e4
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 0x14001d6c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001d73f
lea rbx, [0x1400a7c30]
cmp r8b, 0x23
jne 0x14001d723
cmp byte [r9], r8b
jne 0x14001d723
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 0x14001d710
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14001f320
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 + 0x5db8], 0
lea rbx, [rcx + 0x5dc0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001f3c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001f37a
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.14002d7d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14002d100
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5db8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5dc8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400f6e68]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001f3cf
mov rcx, rbx
call fcn.14002d100
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret