joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008430
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.0x140008451
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 0x14000847e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140008480
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400084d9
test ecx, ecx
jle 0x1400084b9
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 0x1400084d9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400084d9
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
cld
ret 0x79c7
Function at 0x140008500
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 0x140008522
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140008531
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 0x140008554
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140008556
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140008592
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 0x14000862e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400085cd
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 0x14000860e
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 0x14000862e
cmp rbx, rax
ja 0x1400085e0
test rbx, rbx
je 0x14000862e
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
int1
loop 0x1402225ad
fisttp qword [rcx + 0x75e26317]
pop rdx
add al, 0xec
invalid
ja 0x14022262b
jl 0x1402225af
push qword [rcx - 0x39]
jno 0x140222579
in eax, dx
invalid
or dword [rdi], esi
Function at 0x140008a30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140154e70]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140008a5d
xor eax, eax
jmp 0x140008bba
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140008a88
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140008a88
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140008bba
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140008bad
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140008acb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x140008af6
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 0x140008bb2
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 0x140008b65
sub eax, 1
je 0x140008b65
cmp eax, 2
jne 0x140008bad
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 0x140008bb2
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140008b93
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 0x140008bad
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140008bb2
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400ee850
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000a650
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140154e70]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000a723
cmp byte [rcx + 0x71], 0
je 0x14000a723
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000a71f
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 0x14000a6e4
sub eax, 1
je 0x14000a6e8
cmp eax, 2
jne 0x14000a71f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ee850
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000a716
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 0x14000a71f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000a6cc
xor al, al
jmp 0x14000a6cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ee850
add rsp, 0x60
pop rbx
ret
Function at 0x140021a20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140154e70]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rdx
mov rcx, rdx
call fcn.14001c420
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140021a5d
mov rcx, qword [rdi]
xor edx, edx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x140021a93
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rdx
cmp rdx, r8
jb 0x140021a80
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140023b10
cmp qword [rax + 8], 0
setne bl
mov rcx, rdi
call fcn.14000a8f0
movzx eax, bl
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ee850
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140021ad0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x140154e70]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x50], rdx
mov rcx, rdx
call fcn.14001c420
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140021b14
mov rdx, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x140021b43
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140021b30
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.140023b10
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140021b6f
cmp rbx, qword [rbp + 8]
je 0x140021b6f
mov rbx, qword [rbx + 0x30]
lea rsi, [rbp + 0x40]
jmp 0x140021c16
lea rsi, [rbp + 0x40]
mov rbx, qword [rsi + 8]
sub rbx, qword [rsi]
sar rbx, 6
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.140023240
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm6, xmmword [0x1401157b0]
movdqu xmmword [rsp + 0x30], xmm6
mov byte [rsp + 0x20], 0
mov rbp, qword [rsi + 8]
cmp rbp, qword [rsi + 0x10]
je 0x140021bf8
mov rdx, rdi
mov rcx, rbp
call fcn.140009220
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm6
movdqa xmm0, xmm6
movdqu xmmword [rsp + 0x30], xmm6
mov byte [rsp + 0x20], 0
add qword [rsi + 8], 0x40
jmp 0x140021c0c
lea r9, [rsp + 0x20]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.140024710
nop
lea rcx, [rsp + 0x20]
call fcn.14000a8f0
shl rbx, 6
add rbx, qword [rsi]
mov rcx, rdi
call fcn.14000a8f0
lea rax, [rbx + 0x20]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ee850
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140021c50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x140154e70]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x98], rdx
mov rcx, rdx
call fcn.14001c420
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140021c98
mov rdx, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x140021cd3
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140021cc0
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140023b10
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140021cff
cmp rcx, qword [rsi + 8]
je 0x140021cff
mov rbp, qword [rcx + 0x30]
lea rbx, [rsi + 0x40]
jmp 0x140021dbb
lea rbx, [rsi + 0x40]
mov r8, qword [rbx + 8]
sub r8, qword [rbx]
movabs rax, 0x8888888888888889
imul r8
lea rbp, [r8 + rdx]
sar rbp, 6
mov rax, rbp
shr rax, 0x3f
add rbp, rax
mov r8, rdi
lea rdx, [rsp + 0x88]
mov rcx, rsi
call fcn.140023240
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.140022150
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov rsi, qword [rbx + 8]
cmp rsi, qword [rbx + 0x10]
je 0x140021d93
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov rcx, rsi
call fcn.140009220
nop
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x30]
call fcn.140024fd0
nop
add qword [rbx + 8], 0x78
jmp 0x140021da7
lea r9, [rsp + 0x30]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140024850
nop
lea rcx, [rsp + 0x70]
call fcn.1400227f0
lea rcx, [rsp + 0x30]
call fcn.14001ea40
imul rax, rbp, 0x78
add rax, qword [rbx]
lea rbx, [rax + 0x20]
mov rcx, rdi
call fcn.14000a8f0
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400ee850
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400228e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rdx + 0x18], 0x10
mov r10, rdx
mov r11, qword [rdx + 0x10]
jb 0x1400228f7
mov r10, qword [rdx]
xor ebx, ebx
movabs r9, 0xcbf29ce484222325
mov r8d, ebx
test r11, r11
je 0x140022939
mov qword [rsp + 0x40], rdi
movabs rdi, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rdi
cmp r8, r11
jb 0x140022920
mov rdi, qword [rsp + 0x40]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.140023b10
cmp qword [rax + 8], rbx
setne bl
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14002d1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x14002d1f4
cmp ecx, r10d
jge 0x14002d1e2
mov rcx, rbx
call fcn.14002c9c0
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x14002d22e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x14002d210
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14002d256
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x14002d285
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x14002d26f
xor dl, dl
jmp 0x14002d278
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14002d266
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14002d232
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14002d2ef
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14002d309
mov rcx, rbx
call fcn.14002cb10
test eax, eax
je 0x14002d2e2
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140038420
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 0x14003847d
lea rbx, [0x140108d50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140038464
cmp r10, 2
jb 0x140038464
cmp byte [r9], r8b
jne 0x140038464
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 0x140038440
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400384bf
lea rbx, [0x140108d50]
cmp r8b, 0x23
jne 0x1400384a3
cmp byte [r9], r8b
jne 0x1400384a3
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 0x140038490
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400385c0
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 0x1400385de
mov qword [r8], r14
lea rdx, [0x14010ee1c]
call fcn.1400384d0
mov rbx, rax
test rax, rax
jne 0x140038603
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 0x14003872d
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 0x14003872d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14003872d
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 0x14003872d
cmp rdi, 0xffffffffffffffff
je 0x14003872d
mov rcx, rdi
call fcn.14003e400
mov rbp, rax
test rax, rax
je 0x14003872d
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 0x14003871a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14033c3e8]
test r8, r8
je 0x14003870f
movsx rdx, word [r8 + 0x6340]
lea rcx, [r8 + 0x6344]
mov r9d, dword [r8 + 0x4130]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140038704
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 + 0x6340], cx
movsx rax, cx
lea rcx, [r8 + 0x6344]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x633c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140038736
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140038728
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140038738
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 0x14003daf0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x130]
lea r11, [0x140108d50]
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 + 0x4224], ebx
jne 0x14003db86
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14005fae0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14003db90
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x138]
lea r9, [0x140108d50]
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 0x1400427a0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x1400427f0
lea r11, [0x140108d50]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400427d3
cmp byte [r8], r9b
jne 0x1400427d3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1400427c0
mov rcx, qword [0x14033c3e8]
not edx
add rcx, 0x41b8
jmp fcn.140038d60
Function at 0x14004d620
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140154e70]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14033c3e8]
mov edi, ecx
cmp byte [rbx + 0x4f61], 0
jne 0x14004d681
cmp byte [rbx + 0x4f62], 0
jne 0x14004d681
movsx r9d, word [rbx + 0x60b8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140038200
test dil, 2
je 0x14004d7be
jmp 0x14004d711
movss xmm1, dword [rbx + 0x3ad8]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x60b8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14011561c]
mulss xmm1, dword [0x14011560c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe50]
addss xmm1, dword [rbx + 0xe54]
mov qword [rbx + 0x4bb4], rax
mov dword [rbx + 0x4b9c], 1
movss dword [rbx + 0x4bac], xmm0
mov byte [rbx + 0x4bd8], 1
movss dword [rbx + 0x4bb0], xmm1
movss xmm0, dword [rbx + 0x3b34]
mulss xmm0, dword [0x1401154fc]
or dword [rbx + 0x4b98], 0x41
movss dword [rbx + 0x4c00], xmm0
call fcn.140038200
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14004d761
lea r11, [0x140108d50]
cmp r9b, 0x23
jne 0x14004d744
cmp byte [r8], r9b
jne 0x14004d744
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14004d731
mov rcx, qword [0x14033c3e8]
not edx
add rcx, 0x41b8
call fcn.140038d60
test rax, rax
je 0x14004d7be
cmp byte [rax + 0xf3], 0
je 0x14004d7be
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 + 0x60b8]
movsx r9d, word [rbx + 0x60b8]
call fcn.140038200
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20b0347
call fcn.140045b10
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ee850
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret