joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b520
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000b55b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b54e
mov rcx, qword [0x14002fdd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fde8], 0
je 0x14000b64e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400298b8]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140032610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b62f
test al, 0x10
je 0x14000b62f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b5d5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000ca00
Capabilities:
Parse pe header

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

Function at 0x14000f6a4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f713
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f713
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f713
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f713
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f713
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f713
cmp dword [rcx + 0xf8], 0
je 0x14000f713
mov ecx, ebx
call fcn.14000f7c4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f5a0
nop
cmp dword [rbp + 0x20], 0
je 0x14000f761
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f76c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f6a4

Function at 0x14000f8a8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f713
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f713
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f713
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f713
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f713
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f713
cmp dword [rcx + 0xf8], 0
je 0x14000f713
mov ecx, ebx
call fcn.14000f7c4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f5a0
nop
cmp dword [rbp + 0x20], 0
je 0x14000f761
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f76c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f6a4
Function at 0x140018e94
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140018f1b
mov rsi, rbx
cmp word [rax], bp
je 0x140018eda
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018ec4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018ec0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400166c4
mov rdi, rax
test rax, rax
je 0x140018f08
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140020170
mov rbp, rdi
xor ecx, ecx
call fcn.1400156e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b4e4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b4fa
mov al, 1
jmp 0x14001b55a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b50b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b558
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019638
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b558
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b558
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b558
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b55a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f970
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f998
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f998
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400022b8
Capabilities:
Parse pe header

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

Function at 0x14000abd0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000ac3f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ac3f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ac3f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ac3f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ac3f
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ac3f
cmp dword [rcx + 0xf8], 0
je 0x14000ac3f
mov ecx, ebx
call fcn.14000ace4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000aad8
nop
cmp dword [rbp + 0x20], 0
jne 0x14000aca0
call fcn.140010034
cmp eax, 1
jne 0x14000ac90
xor dl, dl
jmp 0x14000ac9a
call fcn.140010000
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14000acab
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000acb4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000abd0

Function at 0x14000adb8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000abd0
Function at 0x14000fb08
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000fb8f
mov rsi, rbx
cmp word [rax], bp
je 0x14000fb4e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000fb38
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000fb34
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000ca60
mov rdi, rax
test rax, rax
je 0x14000fb7c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400170d0
mov rbp, rdi
xor ecx, ecx
call fcn.14000bdf0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140013d58
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140013d6e
mov al, 1
jmp 0x140013dda
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140013d7f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140013dd8
mov ecx, dword [rcx + 0x18]
nop
call fcn.140010310
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140013dd8
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140013dd8
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140013dd8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140013dda
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140016860
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016888
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140016888
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180018200
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1800db038]
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 0x18001824b
test sil, sil
je 0x180018338
movups xmm0, xmmword [r9]
add rcx, 8
cmp qword [rbx + 0x20], 0x10
movups xmmword [rsp + 0x48], xmm0
jb 0x180018263
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 qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov ecx, dword [0x1800de4c4]
movups xmm0, xmmword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov rax, qword gs:[0x58]
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], edi
mov r8d, 0x150
mov rdx, qword [rax + rcx*8]
mov ecx, 0x158
mov eax, dword [rcx + rdx]
test al, 1
jne 0x1800182d9
or eax, 1
lea rdi, [rdx + r8]
mov dword [rcx + rdx], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rdi], rax
jmp 0x1800182dd
lea rdi, [r8 + rdx]
movups xmm0, xmmword [rsp + 0x38]
mov rax, qword [rdi]
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.180019b70
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180099360
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180024f70
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
jbe 0x180024fa5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
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.18001cbf0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800250c4
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x180025042
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800250b3
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18002507b
mov r10, qword [rdx]
cmp r10, rax
je 0x180025075
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800250b3
cmp r8, rdx
je 0x18002508f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x1800250d5
cmp r8, rdx
jne 0x180025080
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180025010
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 [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800250b3
Function at 0x180034930
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 0x18003498d
lea rbx, [0x1800be7b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180034974
cmp r10, 2
jb 0x180034974
cmp byte [r9], r8b
jne 0x180034974
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 0x180034950
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800349cf
lea rbx, [0x1800be7b0]
cmp r8b, 0x23
jne 0x1800349b3
cmp byte [r9], r8b
jne 0x1800349b3
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 0x1800349a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180034b90
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 0x180034bae
mov qword [r8], r14
lea rdx, [0x1800c6cc0]
call fcn.1800349e0
mov rbx, rax
test rax, rax
jne 0x180034bd3
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 0x180034cfd
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 0x180034cfd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180034cfd
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 0x180034cfd
cmp rdi, 0xffffffffffffffff
je 0x180034cfd
mov rcx, rdi
call fcn.180039eb0
mov rbp, rax
test rax, rax
je 0x180034cfd
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 0x180034cea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1800de510]
test r8, r8
je 0x180034cdf
movsx rdx, word [r8 + 0x6338]
lea rcx, [r8 + 0x633c]
mov r9d, dword [r8 + 0x4098]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180034cd4
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 + 0x6338], cx
movsx rax, cx
lea rcx, [r8 + 0x633c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6334]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180034d06
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x180034cf8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x180034d08
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 0x1800395a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x130]
lea r11, [0x1800be7b0]
mov rax, qword [rcx + 0x138]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x418c], ebx
jne 0x180039636
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18005bde0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180039640
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x138]
lea r9, [0x1800be7b0]
movss xmm2, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movsxd rcx, dword [rcx + 0x130]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x18003dc50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1800db038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1800de510]
mov ebp, edx
mov r10, rcx
mov r9d, dword [rdi + 0x4b40]
mov rbx, qword [rdi + 0x4140]
bts r9d, 8
mov dword [rdi + 0x4b40], r9d
mov dword [rdi + 0x4b7c], 1
cmp qword [rbx + 0x1e8], 0
jne 0x18003dcc7
cmp qword [rdi + 0x5000], 0
mov eax, 0x290
je 0x18003dccc
mov eax, 0x260
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x144]
subss xmm2, dword [rbx + 0x140]
mov rdx, qword [r8]
call fcn.180048b10
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rdi + 0x4b64], xmm0
xor edx, edx
mov dword [rdi + 0x4b40], r9d
mov dword [rdi + 0x4b48], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x18003dd3e
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.180034790
jmp 0x18003dd4e
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.180034790
mov rcx, qword [rsp + 0x30]
xor edx, edx
movss xmm6, dword [rdi + 0x3a28]
mov r8d, 0x1080107
call fcn.1800415c0
mov rsi, qword [rdi + 0x4140]
movzx r14d, al
movss dword [rdi + 0x3a28], xmm6
cmp word [rsi + 0x100], 1
mov dword [rsi + 0xbc], ebp
jne 0x18003dd98
movsd xmm0, qword [rsi + 0x58]
movsd qword [rbx + 0x140], xmm0
mov r9d, ebp
lea rdx, [0x1800c5fe1]
not r9d
lea r10, [0x1800be7b0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18003ddc5
cmp byte [rdx], r8b
jne 0x18003ddc5
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 0x18003ddb2
not ebx
cmp dword [rdi + 0x41a4], ebx
jne 0x18003ddf5
xor edx, edx
xor ecx, ecx
call fcn.180039800
cmp dword [rdi + 0x4d20], ebp
jne 0x18003de3a
cmp word [rsi + 0x19c], 0
jne 0x18003de10
cmp byte [rsi + 0x1a2], 0
je 0x18003de3a
xor edx, edx
mov rcx, rsi
call fcn.180044b30
xor edx, edx
mov rcx, rsi
call fcn.18004ba60
mov rdx, rsi
mov ecx, ebx
call fcn.180039800
mov eax, dword [rdi + 0x4d4c]
mov dword [rdi + 0x41d0], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180099360
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
ret