joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400657b0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14005bbc8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14005bbc8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140065900
cmp rax, 0xffffffffffffffff
je 0x140065900
xor edi, edi
test rbp, rbp
jle 0x1400658ab
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400536ac
mov rbx, rax
test rax, rax
jne 0x140065838
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400658a1
mov edx, 0x8000
mov ecx, r14d
call fcn.140051300
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400575dc
cmp eax, 0xffffffff
je 0x140065881
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140065848
mov edx, r15d
mov ecx, r14d
call fcn.140051300
jmp 0x1400658a1
cmp byte [rsi + 0x38], dil
je 0x140065898
cmp dword [rsi + 0x34], 5
jne 0x140065898
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400658a1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140053724
jmp 0x140065914
jns 0x140065914
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14005bbc8
cmp rax, 0xffffffffffffffff
jne 0x1400658cc
cmp byte [rsi + 0x30], dil
je 0x140065914
mov edi, dword [rsi + 0x2c]
jmp 0x140065914
mov ecx, r14d
call fcn.14005ee38
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140065914
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140065914
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14006590d
mov eax, dword [rsi + 0x2c]
jmp 0x140065912
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14005bbc8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140002f54
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003f24
cmp word [rcx], 0x5a4d
jne 0x140003f24
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003f24
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003f24
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003e30
test eax, eax
jne 0x140003f40
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003ea0
test rax, rax
je 0x140003f35
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.1400046e9
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x1400045f0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004590
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004a54
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1409aeb18]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1409aeb14]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140004aa2
mov rdx, qword [rax]
cmp r12, rdx
jb 0x140004a9a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140004b89
inc ebx
add rax, 0x28
jmp 0x140004a7a
mov rcx, r12
call fcn.140005281
mov rbp, rax
test rax, rax
jne 0x140004ac1
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400049f0
movsxd rbx, ebx
mov rax, qword [0x1409aeb18]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.14000532f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1409aeb18]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004b23
mov rax, qword [0x1409aeb18]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400049f0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140004b83
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140004b83
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1409aeb18]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140004b83
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400049f0
inc dword [0x1409aeb14]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004fb0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x1409aeb80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409aeb60]
test rbx, rbx
je 0x140004ffc
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004ff6
test eax, eax
jne 0x140004ff6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004fce
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400051b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400051d3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400051d3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400051d4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x14000520e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140005205
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140005210
inc r8d
add rax, 0x28
jmp 0x1400051ec
xor eax, eax
ret

Function at 0x140005281
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409a9b70]
mov r8, rcx
mov rcx, r9
call fcn.1400051b0
test eax, eax
je 0x1400052ad
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.1400051d4
xor eax, eax
add rsp, 0x28
ret
Function at 0x18000b4f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebp, ebp
lea rsi, str.weapon_unarmed
mov r9d, ebp
lea r14, [0x18009cc66]
mov r10, rsi
mov r15, rcx
nop word [rax + rax]
movzx r8d, byte [r10]
movzx eax, r8b
or al, 0x20
movzx ecx, al
lea edx, [r8 - 0x41]
cmp dl, 0x19
cmova ecx, r8d
inc r10
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
cmp r10, r14
jne 0x180008c50
mov ebx, dword [r15]
lea edi, [r9 + r9*8]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180005620
movabs r12, 0x50fac3a3e030a6e1
mov rcx, rax
mov rdx, r12
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
mov eax, edi
shr eax, 0xb
xor eax, edi
imul edx, eax, 0x8001
mov ecx, dword [rcx]
call fcn.180006f10
test eax, eax
jne 0x180008d79
mov eax, ebp
nop word [rax + rax]
movzx r9d, byte [rsi]
movzx ecx, r9b
or cl, 0x20
movzx edx, cl
lea r8d, [r9 - 0x41]
cmp r8b, 0x19
cmova edx, r9d
inc rsi
movsx ecx, dl
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
cmp rsi, r14
jne 0x180008cf0
mov ebx, dword [r15]
lea edi, [rax + rax*8]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180005620
mov rdx, r12
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov r8d, 0xffffffff
mov rcx, qword [rax]
mov eax, edi
shr eax, 0xb
xor eax, edi
imul edx, eax, 0x8001
mov ecx, dword [rcx]
call fcn.180006fa0
mov esi, ebp
lea r14, [0x18009d500]
movabs r13, 0x4899cb088edf59b8
nop dword [rax]
mov edi, dword [r14]
mov ebx, dword [r15]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180005620
mov rdx, r12
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180005620
mov dword [rax + 8], ebp
mov dword [rax + 0x18], ebp
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180005620
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
call fcn.180005620
mov rdx, r13
mov rcx, rax
call fcn.18004cf90
call fcn.180005620
inc esi
lea r14, [r14 + 4]
cmp esi, 0x9b
jb 0x180008d90
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
add rcx, 8
jmp 0x180008c10
Function at 0x18000d100
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x180135a80]
lea rsi, [0x1800c50d0]
xor ebx, ebx
lea r11, [0x1800c5032]
lea r9, str.MP0_CHAR_SET_RP_GIFT_ADMIN
mov r10d, ebx
movsxd rcx, dword [rax + 0x1b0]
mov edi, dword [rsi + rcx*4]
nop word [rax + rax]
movzx r8d, byte [r9]
movzx eax, r8b
or al, 0x20
movzx ecx, al
lea edx, [r8 - 0x41]
cmp dl, 0x19
cmova ecx, r8d
inc r9
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
cmp r9, r11
jne 0x18000cff0
lea eax, [r10 + r10*8]
mov edx, edi
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul ecx, ecx, 0x8001
call fcn.18000ca90
mov rax, qword [0x180135a80]
lea r11, [0x1800c5052]
lea r9, str.MP1_CHAR_SET_RP_GIFT_ADMIN
movsxd rcx, dword [rax + 0x1b0]
mov r10d, dword [rsi + rcx*4]
nop
movzx r8d, byte [r9]
movzx eax, r8b
or al, 0x20
movzx ecx, al
lea edx, [r8 - 0x41]
cmp dl, 0x19
cmova ecx, r8d
inc r9
movsx eax, cl
add eax, ebx
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp r9, r11
jne 0x18000d060
lea eax, [rbx + rbx*8]
mov edx, r10d
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul ecx, ecx, 0x8001
call fcn.18000ca90
mov rcx, qword [0x18011bac8]
lea rax, vtable.std::_Func_impl_no_alloc_class__void___cdecl_Base::JoinType_enum_Base::eSessionType_::_2::_lambda_1___void___.0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x20]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x58], rax
call fcn.18000c8e0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
jmp 0x18000cfb0
Function at 0x180020060
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 0x1800200bd
lea rbx, [0x1800c09b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800200a4
cmp r10, 2
jb 0x1800200a4
cmp byte [r9], r8b
jne 0x1800200a4
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 0x180020080
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800200ff
lea rbx, [0x1800c09b0]
cmp r8b, 0x23
jne 0x1800200e3
cmp byte [r9], r8b
jne 0x1800200e3
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 0x1800200d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180020240
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18002025a
mov qword [r8], 0
lea rdx, [0x1800d0788]
call fcn.180020110
mov rbx, rax
test rax, rax
jne 0x18002027a
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 0x180020351
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 0x180020351
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180020351
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 0x180020351
cmp rdi, 0xffffffffffffffff
je 0x180020351
mov rax, qword [0x180135f98]
test rax, rax
je 0x1800202ee
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180020351
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 0x18002033e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180135f98]
test rax, rax
je 0x180020333
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18002035a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18002034c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18002035c
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 0x180023140
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x1800c09b0]
mov rax, qword [rcx + 0xf8]
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 + 0x3f10], ebx
jne 0x1800231d6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.1800354f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180026830
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180026880
lea r11, [0x1800c09b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180026863
cmp byte [r8], r9b
jne 0x180026863
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180026850
mov rcx, qword [0x180135f98]
not eax
movsxd rdx, dword [rcx + 0x3ea8]
mov r9, qword [rcx + 0x3eb0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x1800268e1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1800268d9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1800268dc
mov rdx, r8
test rdx, rdx
jne 0x1800268b0
cmp r9, r10
je 0x1800268f0
cmp dword [r9], eax
jne 0x1800268f0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180034000
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c40], 0
lea rbx, [rcx + 0x5c48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800340a7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18003405a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180035fa0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800206a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c40]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c50]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180135f8c]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800340af
mov rcx, rbx
call fcn.1800206a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180034440
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180135f98]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800344a3
mov qword [rsp], rbx
lea rbx, [0x1800c09b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180034483
cmp byte [r8], r9b
jne 0x180034483
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 0x180034470
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bb8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1800344d7
mov r10, qword [r10 + 0x5bc0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1800344de
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1800344c4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x18004cf90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x1800ff020]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rdx
mov rbx, rdx
shr rbx, 0x38
mov rax, rdx
shr rax, 0x30
movzx r11d, al
mov rax, rdx
shr rax, 0x28
movzx r10d, al
mov rax, rdx
shr rax, 0x20
movzx r9d, al
mov rax, rdx
shr rax, 0x18
movzx r8d, al
mov rax, rdx
shr rax, 0x10
movzx edx, al
mov rax, rsi
shr rax, 8
movzx ecx, al
movzx eax, sil
movabs r14, 0xcbf29ce484222325
xor rax, r14
movabs r14, 0x100000001b3
imul rax, r14
xor rax, rcx
imul rax, r14
xor rax, rdx
imul rax, r14
xor rax, r8
imul rax, r14
xor rax, r9
imul rax, r14
xor rax, r10
imul rax, r14
xor rax, r11
imul rax, r14
xor rax, rbx
imul rax, r14
mov rcx, qword [rdi + 0x480]
and rcx, rax
shl rcx, 4
add rcx, qword [rdi + 0x468]
mov rax, qword [rcx + 8]
cmp rax, qword [rdi + 0x458]
je 0x18004d082
mov rcx, qword [rcx]
cmp rsi, qword [rax + 0x10]
je 0x18004d084
cmp rax, rcx
jne 0x18004d11e
xor eax, eax
test rax, rax
jne 0x18004d090
mov rax, qword [rdi + 0x458]
cmp rax, qword [rdi + 0x458]
je 0x18004d0ed
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x18004d0e4
mov rax, qword [0x18011bac0]
mov r8, qword [rax + 0x138]
mov rcx, rdi
call fcn.18008f2a0
mov rax, qword [0x18011bac0]
mov rdx, qword [rax + 0x20]
mov rcx, rdi
call rdx
jmp 0x18004d103
lea rdx, str.Failed_to_find_handler_for_native_0x_p
jmp 0x18004d0f4
lea rdx, str.Failed_to_find_current_hash_for_native_0x_p
mov r8, rsi
mov rcx, qword [0x18011bad0]
call fcn.180051ee0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18008fcd0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rax + 8]
jmp 0x18004d073
Function at 0x18004d490
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 0x18004d4c5
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.180005fa0
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 0x18004d634
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18004d5ac
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18004d623
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18004d5e9
mov r10, qword [rdx]
cmp r10, rax
je 0x18004d5e3
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 0x18004d623
cmp r9, rdx
je 0x18004d5ff
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18004d645
cmp r9, rdx
jne 0x18004d5f0
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 0x18004d530
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 0x18004d623