joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400085f0
Capabilities:
Create directory

Disassembly:
push r13
mov eax, 0x2068
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14000e310
sub rsp, rax
mov rsi, rcx
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x40], 0xffffffffffffffff
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400086f0
xor ebx, ebx
lea rdi, [rsp + 0x60]
mov rcx, rbx
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x140008666
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
lea r9, str.S_1_3_4
mov edx, 0x1000
mov rcx, rdi
lea r8, str.D:_A__FA____s_
test rbx, rbx
cmovne r9, rbx
call qword [sym.imp.msvcrt.dll__snwprintf]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rcx, rdi
mov dword [rsp + 0x40], 0x18
mov edx, 1
mov dword [rsp + 0x50], 0
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x140008780
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
sbb eax, eax
add rsp, 0x2068
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea r12, [rsp + 0x3c]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], r12
mov rdi, qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edx, 1
call rdi
test eax, eax
jne 0x140008726
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140008646
mov edx, dword [rsp + 0x3c]
mov ecx, 1
mov r13, rdx
call sub.msvcrt.dll_calloc
mov rcx, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x140008646
mov qword [rsp + 0x20], r12
mov r9d, r13d
mov r8, rax
mov edx, 1
call rdi
lea rdi, [rsp + 0x60]
test eax, eax
je 0x14000864d
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
jmp 0x14000864d
mov eax, 0xffffffff
jmp 0x1400086d6

Function at 0x140008db0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rbx
mov r11d, 0x80000000
test ecx, ecx
je 0x140008e2c
mov ebx, 3
lea rsi, [0x14001c940]
jmp 0x140008dd7
add ebx, 1
sar ecx, 1
je 0x140008e2c
test cl, 1
je 0x140008dd0
mov eax, ebx
mov edx, 0x80000000
and eax, 0x1f
mov r10d, dword [rsi + rax*4]
mov eax, r11d
xor r11d, r11d
jmp 0x140008e14
mov r9d, eax
shr eax, 1
mov r8d, eax
and r9d, 1
shr edx, 1
xor r8d, 0xedb88320
test r9d, r9d
cmovne eax, r8d
test r10d, edx
je 0x140008df8
lea r8d, [rdx - 1]
xor r11d, eax
test r8d, r10d
jne 0x140008df8
add ebx, 1
sar ecx, 1
jne 0x140008dd7
mov eax, r11d
pop rbx
pop rsi
ret
Function at 0x14000cff0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140017db0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140017db0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14000dcc2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140034568]
test eax, eax
je 0x14000dd5a
lea rax, [0x140034540]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140034570]
mov qword [rbp - 8], rax
jmp 0x14000dd3e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14000dd32
cmp qword [rbp - 0x10], 0
je 0x14000dd32
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14000dcf8
lea rax, [0x140034540]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000dd5b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000de60
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14000de88
mov eax, 0
jmp 0x14000ded6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000deb1
mov eax, 0
jmp 0x14000ded6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14000ded1
mov eax, 0
jmp 0x14000ded6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14000dedc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000df5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14000df51
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14000df51
mov rax, qword [rbp - 8]
jmp 0x14000df6f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14000df24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140080d30
Capabilities:
Allocate or change rwx memory
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
mov ecx, dword [0x1400f8054]
cmp ecx, 0x270f
je 0x140080d72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140080d72
cmp byte [0x1400f963f], 0
sete al
mov byte [0x1400f963f], al
jmp 0x140080d79
movzx eax, byte [0x1400f963f]
mov qword [rsp + 0x58], rbx
test al, al
je 0x140080dff
mov rbx, qword [rdi + 0x10]
lea rax, [rsp + 0x30]
mov rcx, qword [rdi + 0x18]
mov r9d, 0x40
add rbx, 0x6929f80
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea r8d, [r9 - 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rdi + 0x18]
lea r8, [0x1400f80b0]
mov r9d, 4
mov qword [rsp + 0x20], 0
mov rdx, rbx
call qword [sym.imp.ntdll.dll_ZwWriteVirtualMemory]
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov rcx, qword [rdi + 0x18]
mov r8d, 4
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov byte [0x1400f951a], 1
jmp 0x140080e86
cmp byte [0x1400f951a], 1
jne 0x140080e86
mov rbx, qword [rdi + 0x10]
lea rax, [rsp + 0x30]
mov rcx, qword [rdi + 0x18]
mov r9d, 0x40
add rbx, 0x6929f80
mov dword [rsp + 0x34], 0x40400000
mov rdx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rdi + 0x18]
lea r8, [rsp + 0x34]
mov r9d, 4
mov qword [rsp + 0x20], 0
mov rdx, rbx
call qword [sym.imp.ntdll.dll_ZwWriteVirtualMemory]
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov rcx, qword [rdi + 0x18]
mov r8d, 4
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov byte [0x1400f951a], 0
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140085ee0
add rsp, 0x40
pop rdi
ret
Function at 0x14000c5b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1360]
mov eax, 0x1460
call fcn.14004bdb0
sub rsp, rax
mov rax, qword [0x140097040]
xor rax, rsp
mov qword [rbp + 0x1350], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
movaps xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [0x14008ce20]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm0, xmmword [0x14008ce30]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [0x14008ce40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm0, xmmword [0x14008ce50]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [0x14008ce60]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm0, xmmword [0x14008ce70]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [0x14008ce80]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [0x14008ce88]
mov dword [rbp - 0x48], eax
movzx eax, word [0x14008ce8c]
mov word [rbp - 0x44], ax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
mov dword [rbp + 0x1344], 0xffffffff
mov dword [rbp - 0x3c], eax
mov edx, 1
nop dword [rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rbp + rdx*4 - 0x3c], ecx
inc rdx
cmp rdx, 0x270
jb 0x14000c690
mov dword [rbp - 0x40], 0x270
lea rax, [rsp + 0x40]
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [rax + rsi*2], r15w
jne 0x14000c6c2
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov dword [rsp + 0x20], 1
mov r14d, 0x10
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
test rsi, rsi
jne 0x14000c71d
lea rcx, [rbp - 0x40]
call fcn.140012870
mov ebx, eax
shl rbx, 0x20
lea rcx, [rbp - 0x40]
call fcn.140012870
mov eax, eax
or rbx, rax
jmp 0x14000c72d
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.1400126c0
mov rbx, rax
movzx r9d, word [rsp + rbx*2 + 0x40]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14000c761
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 7
jbe 0x14000c754
mov rax, qword [rdi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x14000c769
mov rcx, rdi
call fcn.140012340
sub r14, 1
jne 0x14000c6f0
mov rax, rdi
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.14004ac50
lea r11, [rsp + 0x1460]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140012870
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400128d1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140012890
mov ecx, dword [r9]
jmp 0x1400129b8
cmp ecx, 0x4e0
jb 0x1400129b8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1400128f0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140012940
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140013eb0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140097040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400d48e8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400140ce
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400140ce
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400d48e8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140013f84
movsx rdx, word [r8 + 0x6260]
lea rax, [r8 + 0x6264]
mov r9d, dword [r8 + 0x3ff0]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140013f79
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 + 0x6260], cx
movsx rax, cx
lea rax, [rax*8 + 0x6264]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6258]
test rdi, rdi
je 0x140013fa1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x140013fa4
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x14008d5f8]
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140013fe7
mov rsi, qword [r8 + 0x98]
jmp 0x140013fea
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140014015
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400d48e8]
mov rcx, qword [rax + 0x4bd0]
mov rax, qword [rcx]
mov qword [rax + 0x30], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14001408e
inc rbx
cmp rbx, 5
jl 0x140014070
jmp 0x1400140ba
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x1400140d0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004ac50
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140016d50
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 0x140016dad
lea rbx, [0x1400882c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140016d94
cmp r10, 2
jb 0x140016d94
cmp byte [r9], r8b
jne 0x140016d94
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 0x140016d70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140016def
lea rbx, [0x1400882c0]
cmp r8b, 0x23
jne 0x140016dd3
cmp byte [r9], r8b
jne 0x140016dd3
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 0x140016dc0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140016fb0
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 0x140016fce
mov qword [r8], r14
lea rdx, [0x14008d0c4]
call fcn.140016e00
mov rbx, rax
test rax, rax
jne 0x140016ff3
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 0x14001711f
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 0x14001711f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001711f
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 0x14001711f
cmp rdi, 0xffffffffffffffff
je 0x14001711f
mov rcx, rdi
call fcn.14001b730
mov rbp, rax
test rax, rax
je 0x14001711f
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 0x14001710c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400d48e8]
test r8, r8
je 0x140017101
movsx rdx, word [r8 + 0x6260]
lea rcx, [r8 + 0x6264]
mov r9d, dword [r8 + 0x3ff0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400170f6
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 + 0x6260], cx
movsx rax, cx
lea rcx, [r8 + 0x6264]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x625c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140017128
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001711a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14001712a
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 0x14001f0b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140097040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x1400d48e8]
mov r11, r8
mov r15d, dword [rsp + 0x90]
mov edi, 1
mov r9d, r15d
mov r14d, edx
mov r10, rcx
mov rbx, qword [rsi + 0x40a8]
mov r8d, dword [rsi + 0x4ac0]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r15d, eax
mov eax, 3
bt r9d, 0x1e
cmovae eax, edi
bts r8d, 8
mov dword [rsi + 0x4ac0], r8d
mov dword [rsi + 0x4af8], eax
cmp qword [rbx + 0x1c0], 0
jne 0x14001f150
cmp qword [rsi + 0x4ec0], 0
mov eax, 0x268
je 0x14001f155
mov eax, 0x238
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x11c]
subss xmm2, dword [rbx + 0x118]
mov rdx, qword [r11]
call fcn.140028eb0
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r8d, 2
movsd qword [rsi + 0x4ae0], xmm0
xor edx, edx
mov dword [rsi + 0x4ac0], r8d
mov dword [rsi + 0x4ac8], edi
mov r9, qword [rbx + 8]
test r10, r10
je 0x14001f1c4
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140016bb0
jmp 0x14001f1d5
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.140016bb0
mov rcx, qword [rsp + 0x30]
mov r8d, r15d
movss xmm6, dword [rsi + 0x3960]
xor edx, edx
call fcn.140022410
mov rdi, qword [rsi + 0x40a8]
movzx ebp, al
movss dword [rsi + 0x3960], xmm6
cmp word [rdi + 0xd8], 1
mov dword [rdi + 0x90], r14d
jne 0x14001f21c
movsd xmm0, qword [rdi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, r14d
lea rdx, [0x14008da61]
not r9d
lea r10, [0x1400882c0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14001f249
cmp byte [rdx], r8b
jne 0x14001f249
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 0x14001f236
not ebx
cmp dword [rsi + 0x4114], ebx
jne 0x14001f279
xor edx, edx
xor ecx, ecx
call fcn.14001b0f0
cmp dword [rsi + 0x4bec], r14d
jne 0x14001f2c4
test r15d, r15d
js 0x14001f2c4
cmp word [rdi + 0x174], 0
jne 0x14001f29a
cmp byte [rdi + 0x17a], 0
je 0x14001f2c4
xor edx, edx
mov rcx, rdi
call fcn.140024d30
xor edx, edx
mov rcx, rdi
call fcn.14002bb60
mov rdx, rdi
mov ecx, ebx
call fcn.14001b0f0
mov eax, dword [rsi + 0x4c20]
mov dword [rsi + 0x4140], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004ac50
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret