joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c75
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov rax, qword [rbp + 0x18]
add rax, 2
movabs rdx, 0xaaaaaaaaaaaaaaab
mul rdx
mov rax, rdx
shr rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x20]
mov qword [rax], rdx
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
add rax, 1
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x401cdb
mov eax, 0
jmp 0x401e9b
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
jmp 0x401e40
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jae 0x401d15
mov rax, qword [rbp - 8]
lea rdx, [rax + 1]
mov qword [rbp - 8], rdx
mov rdx, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
jmp 0x401d1a
mov eax, 0
mov dword [rbp - 0x24], eax
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jae 0x401d42
mov rax, qword [rbp - 8]
lea rdx, [rax + 1]
mov qword [rbp - 8], rdx
mov rdx, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
jmp 0x401d47
mov eax, 0
mov dword [rbp - 0x28], eax
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jae 0x401d6f
mov rax, qword [rbp - 8]
lea rdx, [rax + 1]
mov qword [rbp - 8], rdx
mov rdx, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
jmp 0x401d74
mov eax, 0
mov dword [rbp - 0x2c], eax
mov eax, dword [rbp - 0x24]
shl eax, 0x10
mov edx, eax
mov eax, dword [rbp - 0x28]
shl eax, 8
add edx, eax
mov eax, dword [rbp - 0x2c]
add eax, edx
mov dword [rbp - 0x30], eax
mov eax, dword [rbp - 0x30]
shr eax, 0x12
and eax, 0x3f
mov ecx, eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 1]
mov qword [rbp - 0x10], rdx
mov rdx, qword [rbp - 0x20]
add rdx, rax
mov ecx, ecx
lea rax, section..rdata
movzx eax, byte [rcx + rax]
mov byte [rdx], al
mov eax, dword [rbp - 0x30]
shr eax, 0xc
and eax, 0x3f
mov ecx, eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 1]
mov qword [rbp - 0x10], rdx
mov rdx, qword [rbp - 0x20]
add rdx, rax
mov ecx, ecx
lea rax, section..rdata
movzx eax, byte [rcx + rax]
mov byte [rdx], al
mov eax, dword [rbp - 0x30]
shr eax, 6
and eax, 0x3f
mov ecx, eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 1]
mov qword [rbp - 0x10], rdx
mov rdx, qword [rbp - 0x20]
add rdx, rax
mov ecx, ecx
lea rax, section..rdata
movzx eax, byte [rcx + rax]
mov byte [rdx], al
mov eax, dword [rbp - 0x30]
and eax, 0x3f
mov ecx, eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 1]
mov qword [rbp - 0x10], rdx
mov rdx, qword [rbp - 0x20]
add rdx, rax
mov ecx, ecx
lea rax, section..rdata
movzx eax, byte [rcx + rax]
mov byte [rdx], al
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jb 0x401cf0
mov qword [rbp - 0x18], 0
jmp 0x401e76
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
sub rax, qword [rbp - 0x18]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x20]
add rax, rdx
mov byte [rax], 0x3d
add qword [rbp - 0x18], 1
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
and eax, 3
cmp qword [rbp - 0x18], rax
jb 0x401e58
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x20]
add rax, rdx
mov byte [rax], 0
mov rax, qword [rbp - 0x20]
add rsp, 0x50
pop rbp
ret
Function at 0x401ea1
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
lea rdx, [0x00417f21]
mov rcx, qword [rbp + 0x10]
call sym.fopen
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x401ee3
lea rcx, str.Error_opening_file
call sym.perror
mov eax, 0xffffffff
jmp 0x401f40
mov rcx, qword [rbp - 8]
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x18]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp + 0x20]
jae 0x401f2f
lea rcx, str.Error_writing_to_file
call sym.perror
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.fclose
mov eax, 0xfffffffe
jmp 0x401f40
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.fclose
mov eax, 0
add rsp, 0x30
pop rbp
ret

Function at 0x402038
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov dword [rbp - 4], 0
mov dword [rbp - 8], 0
mov qword [rbp - 0x10], 0
jmp 0x402145
mov eax, dword [rbp - 4]
lea edx, [rax + 1]
mov eax, edx
sar eax, 0x1f
shr eax, 0x18
add edx, eax
movzx edx, dl
sub edx, eax
mov eax, edx
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
cdqe
mov rdx, qword [rbp + 0x20]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
mov edx, dword [rbp - 8]
add edx, eax
mov eax, edx
sar eax, 0x1f
shr eax, 0x18
add edx, eax
movzx edx, dl
sub edx, eax
mov eax, edx
mov dword [rbp - 8], eax
mov eax, dword [rbp - 4]
cdqe
mov rdx, qword [rbp + 0x20]
add rax, rdx
movzx eax, byte [rax]
mov byte [rbp - 0x11], al
mov eax, dword [rbp - 8]
cdqe
mov rdx, qword [rbp + 0x20]
add rax, rdx
mov edx, dword [rbp - 4]
movsxd rdx, edx
mov rcx, qword [rbp + 0x20]
add rdx, rcx
movzx eax, byte [rax]
mov byte [rdx], al
mov eax, dword [rbp - 8]
cdqe
mov rdx, qword [rbp + 0x20]
add rdx, rax
movzx eax, byte [rbp - 0x11]
mov byte [rdx], al
mov eax, dword [rbp - 4]
cdqe
mov rdx, qword [rbp + 0x20]
add rax, rdx
movzx edx, byte [rax]
mov eax, dword [rbp - 8]
cdqe
mov rcx, qword [rbp + 0x20]
add rax, rcx
movzx eax, byte [rax]
add eax, edx
movzx eax, al
mov rdx, qword [rbp + 0x20]
add rax, rdx
movzx eax, byte [rax]
mov byte [rbp - 0x12], al
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp - 0x10]
add rax, rdx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp - 0x10]
add rdx, rcx
xor al, byte [rbp - 0x12]
mov byte [rdx], al
add qword [rbp - 0x10], 1
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp + 0x18]
jb 0x40206b
nop
add rsp, 0x20
pop rbp
ret
Function at 0x40254c
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
lea rdx, [0x00417f3e]
mov rcx, qword [rbp + 0x10]
call sym.fopen
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], 0
cmp qword [rbp - 8], 0
jne 0x402591
lea rcx, str.Failed_to_open_the_file.
call sym.puts
mov eax, 0
jmp 0x402676
mov rax, qword [rbp - 8]
mov r8d, 2
mov edx, 0
mov rcx, rax
call sym.fseek
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.ftell
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.rewind
mov eax, dword [rbp - 0x14]
add eax, 1
cdqe
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x4025fd
lea rcx, str.Failed_to_allocate_memory.
call sym.puts
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.fclose
mov eax, 0
jmp 0x402676
mov eax, dword [rbp - 0x14]
movsxd rdx, eax
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov qword [rbp - 0x20], rax
mov eax, dword [rbp - 0x14]
cdqe
cmp qword [rbp - 0x20], rax
jae 0x402658
lea rcx, str.Failed_to_read_the_file.
call sym.puts
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.free
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.fclose
mov eax, 0
jmp 0x402676
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x20]
add rax, rdx
mov byte [rax], 0
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.fclose
mov rax, qword [rbp - 0x10]
add rsp, 0x40
pop rbp
ret
Function at 0x402ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x0041b624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x402d28
mov rax, qword [0x0041b628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x402bec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x402c75
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x402bd0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x402d5d
mov rax, qword [0x0041b628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0041b628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x402d40
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x402c6e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x402cd0
add dword [0x0041b624], 1
cmp edi, 8
jae 0x402ca3
test dil, 4
jne 0x402d14
test edi, edi
je 0x402c98
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x402d2f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x402c98
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x402cbc
jmp 0x402c98
add rsi, qword [0x0041b628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x402c6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x402c98
xor esi, esi
jmp 0x402bf7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x402c98
mov rax, qword [0x0041b628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x4034b0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0041b900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0041b8e0]
test rbx, rbx
je 0x403504
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4034fb
test rsi, rsi
je 0x4034fb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4034e0
lea rcx, [0x0041b900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x403740
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x403750
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x403760
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x4037a1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x403798
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x4037a3
add rax, 0x28
cmp rax, r9
jne 0x403784
xor eax, eax
ret

Function at 0x403840
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004182e0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4038ad
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4038ad
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x4038ad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4038a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4038af
add rax, 0x28
cmp rax, r9
jne 0x403890
xor eax, eax
add rsp, 0x28
ret

Function at 0x4039b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004182e0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x4039d0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4039c8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x403a2d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x403a24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x403a34
add rax, 0x28
cmp rax, r9
jne 0x403a10
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x403a50
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004182e0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x403abe
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x403abe
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x403abe
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x403abe
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x403ab5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x403ac5
add rcx, 0x28
cmp rcx, rax
jne 0x403aa0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x403ad8
jmp 0x403abe
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x403ae6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x403abe
test r9d, r9d
jg 0x403ad0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x403fd0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140005cf0
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 0x140005d4d
lea rbx, [0x1400842e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005d34
cmp r10, 2
jb 0x140005d34
cmp byte [r9], r8b
jne 0x140005d34
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 0x140005d10
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140005d8f
lea rbx, [0x1400842e0]
cmp r8b, 0x23
jne 0x140005d73
cmp byte [r9], r8b
jne 0x140005d73
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 0x140005d60
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140005ed0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140005eea
mov qword [r8], 0
lea rdx, [0x140083e5c]
call fcn.140005da0
mov rbx, rax
test rax, rax
jne 0x140005f0a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140005fe3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140005fe3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140005fe3
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 0x140005fe3
cmp rdi, 0xffffffffffffffff
je 0x140005fe3
mov rax, qword [0x1400cfdf0]
test rax, rax
je 0x140005f80
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140005fe3
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 0x140005fd0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400cfdf0]
test rax, rax
je 0x140005fc5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140005fec
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140005fde
mov qword [r14], rdi
mov rax, rsi
jmp 0x140005fee
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400091d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x1400842e0]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1400cfdf0]
not ebx
cmp dword [rcx + 0x3f08], ebx
jne 0x140009265
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001c250
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140009270
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x108]
lea r10, [0x1400842e0]
mov rax, qword [rcx + 0xf0]
movss xmm1, dword [rcx + 0x10c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xe8]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x140015fd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14009d0c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400cfdf0]
mov edi, ecx
cmp byte [rbx + 0x4a4d], 0
jne 0x140016031
cmp byte [rbx + 0x4a4e], 0
jne 0x140016031
movsx r9d, word [rbx + 0x5b4a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140005bb0
test dil, 1
je 0x140016158
jmp 0x1400160bc
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b4a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14008c158]
mov edx, 0x10
mulss xmm1, dword [0x14008c140]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47b0], rax
mov dword [rbx + 0x479c], 1
movss dword [rbx + 0x47a8], xmm0
movss dword [rbx + 0x47ac], xmm1
movss xmm0, dword [rbx + 0x3914]
mulss xmm0, dword [0x14008c0c0]
or dword [rbx + 0x4798], 0x41
movss dword [rbx + 0x47f8], xmm0
call fcn.140005bb0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140016110
lea r11, [0x1400842e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400160f3
cmp byte [r8], r9b
jne 0x1400160f3
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 0x1400160e0
not ecx
call fcn.14000d1d0
test rax, rax
je 0x140016158
cmp byte [rax + 0xae], 0
je 0x140016158
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b4a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b4a]
call fcn.140005bb0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f910
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14007aa70
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001aaf0
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 + 0x5c30], 0
lea rbx, [rcx + 0x5c38]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001ab97
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001ab4a
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.14001cec0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400063f0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c30]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c40]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400cfde8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001ab9f
mov rcx, rbx
call fcn.1400063f0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b110
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400cfdf0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001b173
mov qword [rsp], rbx
lea rbx, [0x1400842e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b153
cmp byte [r8], r9b
jne 0x14001b153
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 0x14001b140
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5ba8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001b1a7
mov r10, qword [r10 + 0x5bb0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001b1ae
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001b194
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret