joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400173d0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx + 0x18], 0xf
jbe 0x1400173ef
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001743e
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rbx
test eax, eax
jne 0x140017458
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003e940
add rsp, 0x50
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003e940
add rsp, 0x50
pop rbx
ret

Function at 0x140018bf0
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 0x140018c4d
lea rbx, [0x140042d30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140018c34
cmp r10, 2
jb 0x140018c34
cmp byte [r9], r8b
jne 0x140018c34
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 0x140018c10
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140018c8f
lea rbx, [0x140042d30]
cmp r8b, 0x23
jne 0x140018c73
cmp byte [r9], r8b
jne 0x140018c73
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 0x140018c60
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140018dd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140018dea
mov qword [r8], 0
lea rdx, [0x140047df8]
call fcn.140018ca0
mov rbx, rax
test rax, rax
jne 0x140018e0a
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 0x140018ee1
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 0x140018ee1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140018ee1
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 0x140018ee1
cmp rdi, 0xffffffffffffffff
je 0x140018ee1
mov rax, qword [0x1400b2bb0]
test rax, rax
je 0x140018e7e
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140018ee1
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 0x140018ece
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400b2bb0]
test rax, rax
je 0x140018ec3
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140018eea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140018edc
mov qword [r14], rdi
mov rax, rsi
jmp 0x140018eec
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 0x14001c980
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
xor eax, eax
lea r8, [0x140047d4d]
mov dword [rsp + 0x2c], eax
lea r11, [0x140042d30]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x14001c9d6
cmp byte [r8], r9b
jne 0x14001c9d6
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 0x14001c9c3
mov ecx, dword [rbx + 0x304c]
lea rax, [0x140028aa0]
mov edi, dword [rbx + 0x3048]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x140028b30]
mov qword [rsp + 0x40], rax
lea rax, [0x140028c20]
mov qword [rsp + 0x48], rax
lea rax, [0x140028d00]
mov qword [rsp + 0x50], rax
lea rax, [0x140028e50]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x14001caf6
inc edi
test ecx, ecx
je 0x14001ca5a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001ca5f
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x14001caf6
mov rax, qword [0x1400b2bb0]
mov qword [rsp + 0x80], rsi
test rax, rax
je 0x14001ca86
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x3050]
mov rsi, rax
test rdx, rdx
je 0x14001cae1
movsxd rcx, dword [rbx + 0x3048]
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x3050]
test rcx, rcx
je 0x14001cadb
mov rax, qword [0x1400b2bb0]
test rax, rax
je 0x14001cadb
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3050], rsi
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x304c], edi
movsxd rax, dword [rbx + 0x3048]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x3050]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3048]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140023390
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400b2bb0]
lea rdx, [0x140042d30]
mov r8, rcx
mov rbx, qword [rax + 0x1a90]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x140023491
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14002347d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140023482
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140029dd0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140023f30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400b2bb0]
mov edi, edx
cmp byte [rbx + 0x1fb5], 0
jne 0x140023f90
cmp byte [rbx + 0x1fb6], 0
jne 0x140023f90
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140018b70
test dil, 1
je 0x1400240b1
jmp 0x140024018
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2ff8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140048008]
mulss xmm1, dword [0x140047ff8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x130]
addss xmm1, dword [rbx + 0x134]
mov qword [rbx + 0x1b50], rax
mov dword [rbx + 0x1b3c], 1
movss dword [rbx + 0x1b48], xmm0
movss dword [rbx + 0x1b4c], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x140047f8c]
or dword [rbx + 0x1b38], 0x41
movss dword [rbx + 0x1b98], xmm0
call fcn.140018b70
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140024068
lea r11, [0x140042d30]
cmp r9b, 0x23
jne 0x14002404b
cmp byte [r8], r9b
jne 0x14002404b
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 0x140024038
not ecx
call fcn.14001e120
test rax, rax
je 0x1400240b1
cmp byte [rax + 0x86], 0
je 0x1400240b1
mov byte [rax + 0x8d], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xa4], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff8]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ff8]
call fcn.140018b70
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140020730
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003e940
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400282c0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x1400b2bb0]
cmp byte [rbx + 0x3068], 0
je 0x1400283ac
cmp qword [rbx + 0x3070], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3078]
je 0x140028394
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x14002833b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140029cb0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.1400192d0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3070]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3080]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400b2a98]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.1400192d0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x140034460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x1400345f1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x1400344d0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.140033e20
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.140033470
mov dword [rbx + 0x80], 0
jmp 0x1400345dd
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.140032150
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14003df18
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14003df52
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14003df57
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14003dfa0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140042930]
cmp byte [rcx + rax], 0
je 0x14003dfa0
dec r8
sub rdx, 1
jne 0x14003df86
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14003f550
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003f59a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003f59a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003f59a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003f59a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003f59a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003f59c
xor al, al
add rsp, 0x28
ret
Function at 0x140005330
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov eax, dword [rcx + 0x40]
mov edi, r8d
movzx esi, byte [rcx + 0xd8]
cmp r8d, eax
mov rbx, rcx
setge bpl
jge 0x140005373
test sil, sil
je 0x140005460
movups xmm0, xmmword [r9]
add rcx, 8
mov qword [rsp + 0xf8], r14
cmp qword [rbx + 0x20], 0x10
movups xmmword [rsp + 0x48], xmm0
jb 0x140005393
mov rcx, qword [rbx + 8]
movups xmm0, xmmword [rdx]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x28], rcx
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rax
movsd xmm0, qword [rdx + 0x10]
movsd qword [rsp + 0x20], xmm0
call fcn.14002851c
movups xmm0, xmmword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov rax, qword gs:[0x58]
mov dword [rsp + 0x70], edi
mov ecx, 0x18
movaps xmmword [rsp + 0x60], xmm0
mov rdi, qword [rax]
mov r14d, 0x10
mov eax, dword [rcx + rdi]
test al, 1
jne 0x1400053fc
or eax, 1
mov dword [rcx + rdi], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rdi + r14], rax
movups xmm0, xmmword [rsp + 0x38]
mov rax, qword [rdi + r14]
lea rdx, [rsp + 0x60]
movsd xmm1, qword [rsp + 0x20]
movzx r9d, sil
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0x80], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x48]
movzx r8d, bpl
mov qword [rsp + 0x88], rax
mov rcx, rbx
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0xb0], xmm0
movsd qword [rsp + 0xa8], xmm1
call fcn.140006df0
mov r14, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140026300
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011470
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400115fe
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140008b90
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1400115c7
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
movzx r10d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
mov eax, r10d
mov rdx, qword [rdx]
xor rax, rdi
imul rax, rbp
and r11, rax
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140011536
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400115b6
mov rax, qword [r11 + 8]
cmp r10b, byte [rax + 0x10]
jne 0x14001156f
mov r10, qword [rax]
cmp r10, rcx
je 0x140011569
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1400115b6
mov r8, rax
cmp r9, rax
je 0x140011592
nop word [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r10b, byte [rax + 0x10]
je 0x1400115d8
cmp r9, rax
jne 0x140011580
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x140011501
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1400115b6
lea rcx, str.invalid_hash_bucket_count
call fcn.140027ae8
int3
Function at 0x140013100
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400132ed
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.1400282ac
test eax, eax
jne 0x14001331a
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
xor edx, edx
mov r8d, 0x120
lea rcx, [rsp + 0x50]
call fcn.140029d30
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + 8]
cmp byte [rdi + 0x20], r14b
je 0x140013281
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
jbe 0x140013281
test rax, rax
je 0x1400131df
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x140013200
lea ebp, [rax + 7]
jmp 0x14001321b
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x28]
cmp rcx, r8
jbe 0x140013248
sub ecx, r8d
mov rdx, qword [rsp + 0x58]
add rdx, r8
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x60]
cmp rcx, rdx
jbe 0x1400132a5
sub ecx, edx
add rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x1400132a5
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1400132e5
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400132df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013314
call fcn.140026914
nop
mov rcx, rbx
call fcn.1400282d0
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140026300
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400342c0
nop
mov ecx, eax
call fcn.1400278ac
int3
Function at 0x14001fe30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
sub rsp, 0x170
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp qword [rcx + 0x18], 0x10
mov rsi, rcx
jb 0x14001fe58
mov rcx, qword [rcx]
mov qword [rsp + 0x188], rbx
mov qword [rsp + 0x190], rbp
mov qword [rsp + 0x198], rdi
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], r14
mov qword [rsp + 0x150], r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140020015
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x1400200a1
xor ebp, ebp
lea r13, [0x1400615c0]
mov r15, rdi
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rbx + r13], 0
jne 0x14001fec0
mov r12, qword [rsi + 0x18]
mov r14, rsi
cmp r12, 0x10
jb 0x14001feda
mov r14, qword [rsi]
test rbx, rbx
je 0x14001ff4d
cmp rbp, r15
jae 0x14001ff4d
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call fcn.140029d30
lea rdx, [rbx + r13]
mov rcx, r13
cmp r13, rdx
je 0x14001ff20
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rsp + rax + 0x40], 1
cmp rcx, rdx
jne 0x14001ff10
lea rcx, [r15 + r14]
lea rbx, [r14 + rbp]
cmp rbx, rcx
jae 0x14001ff4d
nop dword [rax]
movzx eax, byte [rbx]
cmp byte [rsp + rax + 0x40], 0
jne 0x14001ff44
inc rbx
cmp rbx, rcx
jb 0x14001ff30
jmp 0x14001ff4d
sub rbx, r14
cmp rbx, 0xffffffffffffffff
jne 0x14001ff50
mov rbx, rdi
xor r14d, r14d
mov qword [rsp + 0x38], 0xf
cmp rdi, rbx
mov qword [rsp + 0x20], r14
mov r8, rbx
mov qword [rsp + 0x30], r14
cmovb r8, rdi
mov rdx, rsi
cmp r12, 0x10
jb 0x14001ff7c
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
call fcn.140008920
cmp qword [rsp + 0x30], r14
je 0x14001ffc7
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14001ffc7
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call fcn.1400353e0
test eax, eax
jne 0x140020068
mov rdx, qword [rsp + 0x38]
lea rbp, [rbx + 1]
cmp rdx, 0x10
jb 0x140020008
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020003
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400200a8
call fcn.140026914
mov rdi, qword [rsi + 0x10]
cmp rbp, rdi
jb 0x14001feb5
mov al, 1
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x158]
mov r13, qword [rsp + 0x160]
mov r12, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x198]
mov rbp, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140026300
add rsp, 0x170
pop rsi
ret
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400200a1
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002009c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400200a8
call fcn.140026914
xor al, al
jmp 0x140020017
call fcn.1400342c0
int3