joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e440
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x14000e440
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14009a7a8]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rdx
lea rcx, [rbp - 0x60]
mov r13d, 1
xor edx, edx
mov r8d, 0x208
mov ebx, r13d
call fcn.140002be9
xor r12d, r12d
test rdi, rdi
je 0x14000e673
mov r8, rdi
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140001e38
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e4c7
bt eax, 0xa
jb 0x14000e4e0
mov edx, 0x5c
lea rcx, [rbp - 0x60]
call fcn.140001244
test rax, rax
je 0x14000e4f3
mov word [rax], r12w
jmp 0x14000e4b2
lea rdx, [rbp - 0x60]
lea rcx, str.CLogger::ValidatePathForSymLink_:_Failed__s___
call fcn.1400022cf
mov ebx, r12d
test ebx, ebx
je 0x14000e673
movsd xmm0, qword [0x140080770]
lea rcx, [rbp - 0x56]
movzx eax, word [0x140080778]
xor edx, edx
mov r8d, 0x1fe
movsd qword [rbp - 0x60], xmm0
mov word [rbp - 0x58], ax
mov ebx, r12d
call fcn.140002be9
xorps xmm0, xmm0
mov dword [rsp + 0x5c], r12d
xorps xmm1, xmm1
mov dword [rsp + 0x74], r12d
xor eax, eax
mov qword [rsp + 0x30], r12
lea rcx, str.ntdll.dll
mov qword [rbp - 0x68], rax
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rbp - 0x78], xmm1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlInitUnicodeString
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll.dll
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtOpenFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll.dll
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.ZwQueryInformationFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test r15, r15
je 0x14000e673
test r14, r14
je 0x14000e673
test rax, rax
je 0x14000e673
mov r8, rdi
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400015aa
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call r15
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], r12d
xorps xmm0, xmm0
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x48]
mov dword [rsp + 0x58], 0x30
lea r8, [rsp + 0x58]
mov qword [rsp + 0x60], r12
mov edx, 0x20000
mov dword [rsp + 0x70], 0x40
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], r13d
movdqu xmmword [rsp + 0x78], xmm0
call r14
test eax, eax
js 0x14000e6a6
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000e6a6
mov r9d, 0x18
mov dword [rsp + 0x20], 5
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x48]
call rsi
test eax, eax
js 0x14000e664
cmp dword [rbp - 0x68], 2
cmovb ebx, r13d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14000e6ad
mov eax, r12d
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140001d20
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp eax, 0xc0000034
jne 0x14000e673
mov eax, r13d
jmp 0x14000e676
Function at 0x14000e850
Capabilities:
Delete file

Disassembly:
jmp 0x14000e850
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14009a7a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, r8
lea rcx, [rsp + 0x20]
mov rbx, rdx
mov r8d, 0x208
xor edx, edx
mov ebp, r9d
xor esi, esi
call fcn.140002be9
test rbx, rbx
je 0x14000e947
mov rcx, qword [rdi]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000e947
lea r9d, [rsi + 8]
mov r8d, 0x104
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleW]
dec eax
cmp eax, 0x102
ja 0x14000e8fe
lea edx, [rsi + 0x3a]
lea rcx, [rsp + 0x20]
call fcn.140001244
test rax, rax
je 0x14000e8fe
lea rcx, [rsp + 0x20]
cmp rax, rcx
jbe 0x14000e8fe
lfence
lea rdx, [rax - 2]
mov rcx, rbx
call fcn.1400022e8
test eax, eax
jne 0x14000e8fe
mov esi, 1
mov eax, esi
jmp 0x14000e949
lea rdx, [rsp + 0x20]
lea rcx, str.CLogger::ValidatePathFromHandle_:_Failed__s___
call fcn.1400022cf
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
cmp ebp, 0xb7
je 0x14000e943
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000e943
mov rdx, rbx
lea rcx, str.CLogger::ValidatePathFromHandle_:_DeleteFile_Failed__s___
call fcn.1400022cf
mov eax, esi
jmp 0x14000e949
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140001d20
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e9c0
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x14000e9c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x868
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14009a7a8]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, rcx
lea r15, [rcx + 0x120]
mov qword [rsp + 0x38], r15
test r15, r15
je 0x14000ea24
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12b, 1
mov byte [rsp + 0x40], r12b
jmp 0x14000ea2a
movzx r12d, byte [rsp + 0x40]
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call fcn.140002be9
xor r14d, r14d
mov dword [rsp + 0x30], r14d
cmp qword [rsi + 8], 0xffffffffffffffff
je 0x14000ebcf
cmp byte [rsi + 0x35a], r14b
je 0x14000ea78
cmp dword [rsi + 0x18], 0x400
jb 0x14000ea78
mov dword [rsi + 0x18], r14d
mov rcx, rsi
call fcn.140002f54
cmp qword [rsi + 8], 0xffffffffffffffff
je 0x14000ebcf
inc dword [rsi + 0x18]
mov eax, dword [rsi + 0x10]
cmp eax, dword [rsi + 0x14c]
jl 0x14000ebd5
lea r13, [rsp + 0x8c0]
mov dword [rsp + 0x28], eax
lea rax, [0x140080c20]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, 0x800
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140001118
mov ebx, eax
test eax, eax
jle 0x14000eb4f
mov ebp, dword [rsp + 0x30]
cmp ebp, 0x800
jae 0x14000eb11
mov edi, 0x800
sub rdi, rbp
lea rbx, [rsp + 0x50]
add rbx, rbp
call fcn.140003c01
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov r9, qword [rsp + 0x8b8]
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rax]
call fcn.140002a95
mov ebx, eax
mov eax, 0xffffffff
test ebx, ebx
cmovs ebx, eax
test ebx, ebx
jle 0x14000eb53
cmp ebp, 0x800
jae 0x14000eb3f
add ebp, ebx
mov eax, ebp
mov edx, 0x800
sub rdx, rax
lea rcx, [rsp + 0x50]
add rcx, rax
lea r8, [0x140080c24]
call fcn.140004192
mov ebx, eax
test ebx, ebx
jle 0x14000eb53
cmp ebp, 0x800
jae 0x14000eb53
add ebp, ebx
jmp 0x14000eb53
mov ebp, dword [rsp + 0x30]
test ebp, ebp
je 0x14000eb98
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, ebp
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000eb98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r9d, dword [rsp + 0x30]
mov r8d, ebp
lea rcx, str.CLogger::Write_WriteFile_failed_0x_08X___d___d_
call fcn.1400022cf
cmp dword [rsi + 0x18], 0x186a0
jb 0x14000ebd8
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14000ebc5
cmp qword [rsp + 0x30], 0xa00000
jge 0x14000ebc5
mov dword [rsi + 0x18], r14d
jmp 0x14000ebd8
mov rcx, rsi
call fcn.140002fdb
jmp 0x14000ebd8
mov r14d, 0xffffffff
mov ebx, r14d
test r15, r15
je 0x14000ebeb
test r12b, r12b
je 0x14000ebeb
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140001d20
add rsp, 0x868
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140010570
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x14001064f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x1400105a7
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x140010652
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x1400105f6
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x140010600
test rax, rax
je 0x14001064f
lfence
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140010640
cmp rdx, rax
jb 0x140010620
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140015ea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x140015ea0
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
mov rbx, rcx
xor ebp, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1400160ce
xor edx, edx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], dx
jne 0x140015ed0
test rax, rax
je 0x140015f04
xor ecx, ecx
movzx r8d, word [rbx + rcx*2]
cmp r8w, 0x5c
je 0x1400160ce
cmp r8w, 0x2f
je 0x1400160ce
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x140015ee0
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call fcn.140001852
mov rsi, rax
test rax, rax
je 0x140015ffe
mov qword [rsp + 0x50], r14
call fcn.140001988
mov r14, rax
test rax, rax
je 0x140015feb
mov rcx, rsi
call fcn.140010370
test eax, eax
je 0x140015fd4
lea rax, str.system32_
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x20]
lea rax, str.SystemRoot_system32_
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov rdx, qword [rdi]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x140015f80
mov r8, rbx
mov rcx, rsi
call fcn.1400021c6
test eax, eax
je 0x140015fa8
add rdi, 8
lea rax, [rsp + 0x30]
cmp rdi, rax
jb 0x140015f70
jmp 0x140015fb7
lea rdx, [rsi + rbx*2]
mov rcx, r14
call fcn.140014240
mov rbp, rax
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x140015fe2
mov rcx, rsi
call fcn.140010300
test eax, eax
je 0x140015fe2
mov rbp, rsi
xor esi, esi
jmp 0x140015fe2
mov rdx, rsi
mov rcx, r14
call fcn.140014240
mov rbp, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x50]
jmp 0x14001609a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x1400160a3
mov rcx, rbx
call fcn.1400101d0
mov rdi, rax
test rax, rax
je 0x1400160a3
mov ecx, 0x37e4
call fcn.140013b00
test eax, eax
je 0x140016038
xor ecx, ecx
call fcn.140001df7
jmp 0x14001603d
call fcn.140001988
mov rbx, rax
test rax, rax
je 0x140016091
mov rdx, rdi
mov rcx, rax
call fcn.140014240
mov rbp, rax
test rax, rax
je 0x140016088
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001606a
test al, 0x50
je 0x140016088
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14001607d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
je 0x1400160a3
xor ecx, ecx
jmp 0x1400160b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400160b6
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x48]
mov rax, rbp
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rbp
ret
Function at 0x1400173c0
Capabilities:
Get common file path

Disassembly:
jmp 0x1400173c0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov ecx, 0x40
add rdx, rdx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140017422
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140017417
cmp edi, eax
jb 0x140017417
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140016390
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
call fcn.140021e40
test rax, rax
je 0x1400163ae
call fcn.1400221f0
mov rbx, qword [rax + 0x90]
jmp 0x1400163b0
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400163db
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x14001d1a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400ff100]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [0x1400ff610]
mov edi, edx
mov esi, ecx
mov rbx, rax
cmp byte [rax + 0x4df5], 0
jne 0x14001d20b
cmp byte [rax + 0x4df6], 0
jne 0x14001d20b
movsx r9d, word [rax + 0x6020]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140022f00
test sil, 2
je 0x14001d350
jmp 0x14001d2b1
movss xmm0, dword [rax + 0x3a10]
mov ecx, dword [rax + 0x4ac0]
movaps xmm1, xmm0
mulss xmm1, dword [0x1400730f4]
mulss xmm0, dword [0x1400730e8]
addss xmm1, dword [rax + 0xe0]
addss xmm0, dword [rax + 0xe4]
test cl, 1
jne 0x14001d274
or ecx, 1
mov dword [rax + 0x4ac0], ecx
movss dword [rax + 0x4ad0], xmm1
movss dword [rax + 0x4ad4], xmm0
xor eax, eax
mov qword [rbx + 0x4ad8], rax
mov dword [rbx + 0x4ac4], 1
mov rax, qword [0x1400ff610]
movss xmm0, dword [rbx + 0x3a6c]
lea r8, str.Tooltip__02d
mulss xmm0, dword [0x14007309c]
lea rcx, [rsp + 0x20]
or dword [rax + 0x4ac0], 0x40
mov edx, 0x10
movss dword [rax + 0x4b20], xmm0
movsx r9d, word [rbx + 0x6020]
call fcn.140022f00
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001d301
lea r11, [0x140071120]
cmp r9b, 0x23
jne 0x14001d2e4
cmp byte [r8], r9b
jne 0x14001d2e4
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 0x14001d2d1
not ecx
call fcn.140021540
test rax, rax
je 0x14001d350
cmp byte [rax + 0xca], 0
je 0x14001d350
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x6020]
movsx r9d, word [rbx + 0x6020]
call fcn.140022f00
or edi, 0x2030347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.14001a430
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006c6d0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400214a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400ff610]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140021503
mov qword [rsp], rbx
lea rbx, [0x140071120]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400214e3
cmp byte [r8], r9b
jne 0x1400214e3
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 0x1400214d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60e8]
not eax
mov r8, qword [r10 + 0x60f0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14002152f
cmp dword [r8 + 8], eax
je 0x140021536
add r8, 0x48
cmp r8, rcx
jne 0x140021520
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1400215c0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x140021610
lea r11, [0x140071120]
cmp r9b, 0x23
jne 0x1400215f3
cmp byte [r8], r9b
jne 0x1400215f3
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 0x1400215e0
not ecx
jmp fcn.140021540

Function at 0x140021ed0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140071120]
movsxd rcx, dword [rcx + 0x108]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x110]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x40fc], ebx
jne 0x140021f67
movsxd r8, edx
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.14001ee60
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140022000
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x140071120]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
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 + 0x108]
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 0x140023a80
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 0x140023add
lea rbx, [0x140071120]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140023ac4
cmp r10, 2
jb 0x140023ac4
cmp byte [r9], r8b
jne 0x140023ac4
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 0x140023aa0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140023b1f
lea rbx, [0x140071120]
cmp r8b, 0x23
jne 0x140023b03
cmp byte [r9], r8b
jne 0x140023b03
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 0x140023af0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140025930
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6180], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x1400259b3
xor edx, edx
add rcx, 0x6188
call fcn.140034f00
mov r8, rsi
lea rcx, [rbx + 0x6188]
mov rdx, rbp
call fcn.1400344a0
mov eax, dword [rbx + 0x6188]
xor edx, edx
mov r9, qword [rbx + 0x6180]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x6190]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x1400ff618]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1400259bf
add rcx, 0x6188
call fcn.1400344a0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002e220
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1400ff610]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x60d4], ecx
test rbx, rbx
je 0x14002e28f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.14002e2a0
lea rdx, [0x140072e7c]
mov rcx, rbx
mov rdi, rax
call fcn.140022d40
mov rbx, rax
test rax, rax
je 0x14002e28a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14005ab90
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400ff100]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14005ac63
cmp byte [rcx + 0x71], 0
je 0x14005ac63
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14005ac5f
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 0x14005ac24
sub eax, 1
je 0x14005ac28
cmp eax, 2
jne 0x14005ac5f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006c6d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14005ac56
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 0x14005ac5f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005ac0c
xor al, al
jmp 0x14005ac0c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006c6d0
add rsp, 0x60
pop rbx
ret