joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003d290
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14003dc40
push rbx
sub rsp, 0x130
mov ebx, 0xffffffff
mov qword [rsp + 0x20], 0
cmp r8, rbx
lea r9, [rsp + 0x150]
cmova r8d, ebx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14003dc80
mov rax, 0xffffffffffffffff
add rsp, 0x130
pop rbx
ret
mov dword [rsp + 0x158], ebx
cmp dword [rsp + 0x150], ebx
jne 0x14003dcde
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call fcn.140039d90
test rax, rax
je 0x14003dcde
mov r9d, 0x65
mov qword [rsp + 0x20], rax
lea r8, str..._.._.._util_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::internal::NativeWriteFile_void__const_void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.14002a8e0
lea rcx, [rsp + 0x30]
call fcn.14002ab50
mov eax, dword [rsp + 0x150]
add rsp, 0x130
pop rbx
ret

Function at 0x14003d2f0
Capabilities:
Check os version
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
xor edi, edi
movzx esi, dl
mov rbx, rcx
test dl, dl
je 0x14003d33b
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x14003d33b
xor ecx, ecx
mov qword [rsp + 0x40], 0x18
mov dword [rsp + 0x54], edi
call fcn.14003d390
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x40]
mov dword [rsp + 0x50], 1
cmp qword [rbx + 0x18], 8
jb 0x14003d345
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov r9d, 2
mov edx, esi
mov dword [rsp + 0x30], 0
shl edx, 0x13
mov rcx, rbx
or edx, 3
mov dword [rsp + 0x28], 0x200
lea r8d, [r9 + 4]
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14003d600
Capabilities:
Read pipe
Write pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
xor r14d, r14d
nop
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14003d62d
mov rcx, qword [rdi]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x110000
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14003d697
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x14003d68e
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14003d676
mov rcx, qword [rdi]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x14003d620
lea rdi, str.WaitNamedPipe_failed:__d
jmp 0x14003d6fc
lea rdi, str.CreateFile_failed:__d
jmp 0x14003d6fc
xor r9d, r9d
mov dword [rsp + 0x78], 2
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x14003d6c0
lea rdi, str.SetNamedPipeHandleState_failed:__d
jmp 0x14003d6fc
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov r9, rsi
mov r8d, 0x224
mov dword [rsp + 0x20], 0xc
mov rdx, rbp
mov dword [rsp + 0x60], r14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x14003d716
lea rdi, str.TransactNamedPipe_failed:__d.
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
lea rcx, str.client
mov r8d, eax
call fcn.14002eef0
jmp 0x14003d73a
mov r9d, dword [rsp + 0x60]
cmp r9d, 0xc
je 0x14003d745
mov r8d, 0xc
lea rdx, str.TransactNamedPipe:_expected:__lld__observed__lld.
lea rcx, str.client
call fcn.14002eef0
xor dil, dil
cmp rbx, 0xffffffffffffffff
jne 0x14003d748
jmp 0x14003d750
mov dil, 1
mov rcx, rbx
call fcn.14003ce90
mov rbx, qword [rsp + 0x68]
movzx eax, dil
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x14003d890
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x140
xor edi, edi
lea r8, [0x14003d950]
mov rbx, rcx
mov qword [rsp + 0x28], rdi
mov r9, rcx
mov dword [rsp + 0x20], edi
xor edx, edx
mov dword [rsp + 0x150], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14003d92c
lea edi, [rax + 2]
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r9d, [rdi + 0x19]
lea r8, str..._.._.._util_thread_thread_win.cc
mov dword [rsp + 0x20], 4
lea rdx, str.void___cdecl_crashpad::Thread::Start_void_
lea rcx, [rsp + 0x30]
call fcn.14002aa60
mov rcx, rax
lea rdx, str.Check_failed:_platform_thread_
call fcn.140008bc0
mov rcx, rax
lea rdx, [0x1400d876c]
call fcn.140008bc0
mov rcx, rax
lea rdx, [0x1400da090]
call fcn.140008bc0
test dil, 2
je 0x14003d93c
lea rcx, [rsp + 0x30]
call fcn.14002ae10
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret
Function at 0x14003dbb0
Capabilities:
Clear file content

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea r8, [rsp + 0x38]
xor edx, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003dbea
cmp qword [rsp + 0x38], 0
jne 0x14003dbea
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14003dbea
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14003dc40
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14003dc40
push rbx
sub rsp, 0x130
mov ebx, 0xffffffff
mov qword [rsp + 0x20], 0
cmp r8, rbx
lea r9, [rsp + 0x150]
cmova r8d, ebx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14003dc80
mov rax, 0xffffffffffffffff
add rsp, 0x130
pop rbx
ret
mov dword [rsp + 0x158], ebx
cmp dword [rsp + 0x150], ebx
jne 0x14003dcde
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call fcn.140039d90
test rax, rax
je 0x14003dcde
mov r9d, 0x65
mov qword [rsp + 0x20], rax
lea r8, str..._.._.._util_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::internal::NativeWriteFile_void__const_void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.14002a8e0
lea rcx, [rsp + 0x30]
call fcn.14002ab50
mov eax, dword [rsp + 0x150]
add rsp, 0x130
pop rbx
ret

Function at 0x14003dcf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rdi, r8
lea r9, [rsp + 0x160]
mov ebp, 0xffffffff
mov rsi, rdx
cmp r8, rbp
mov rbx, rcx
cmova edi, ebp
xor r14d, r14d
mov r8d, edi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003dddf
nop word [rax + rax]
mov dword [rsp + 0x168], ebp
cmp dword [rsp + 0x160], ebp
je 0x14003dd55
mov rax, r14
jmp 0x14003dd71
lea r8, str.bytes_read___static_cast_DWORD___1_
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x160]
call fcn.140039d90
test rax, rax
je 0x14003dda3
mov r9d, 0x7e
mov qword [rsp + 0x20], rax
lea r8, str..._.._.._util_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::ReadFile_void__void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.14002a8e0
lea rcx, [rsp + 0x30]
call fcn.14002ab50
cmp dword [rsp + 0x160], r14d
jne 0x14003de05
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x14003de05
lea r9, [rsp + 0x160]
mov qword [rsp + 0x20], r14
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14003dd40
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x6d
neg eax
sbb rax, rax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov eax, dword [rsp + 0x160]
jmp 0x14003dded
Function at 0x14003f320
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x18], 8
mov rsi, rdx
mov rdi, rcx
jb 0x14003f338
mov rcx, qword [rcx]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
jne 0x14003f34d
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbp
mov qword [rsp + 0x60], rbx
call fcn.1400ce840
cmp qword [rdi + 0x18], 8
mov rbx, rax
jb 0x14003f367
mov rdi, qword [rdi]
mov r9, rbx
mov r8d, ebp
xor edx, edx
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14003f3c4
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x28]
lea rdx, [0x1400d9b24]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14003f3c4
mov rax, qword [rsp + 0x28]
mov dil, 1
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rsi + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [rsi + 0x30], eax
mov eax, dword [rsi + 0x18]
and dword [rsi + 0x1c], eax
jmp 0x14003f3c7
xor dil, dil
test rbx, rbx
je 0x14003f3d4
mov rcx, rbx
call fcn.1400ce80c
mov rbx, qword [rsp + 0x60]
movzx eax, dil
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x14003f3f0
Capabilities:
Copy file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400fe4a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov rsi, r8
lea rdx, [rsp + 0x40]
mov rdi, rcx
call fcn.1400295b0
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140029330
lea rcx, [rsp + 0x40]
call fcn.1400292c0
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
cmovae rdx, qword [rsp + 0x20]
cmp qword [rdi + 0x18], 8
jb 0x14003f44f
mov rdi, qword [rdi]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14003f483
lea rdx, str.Copied_dmp_file_to_target_directory.
lea rcx, str.server
call fcn.14002eef0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400292d0
mov bl, 1
jmp 0x14003f4a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_copy_dmp_file_to_target_directory_due_to__d.
lea rcx, str.server
call fcn.14002eef0
xor bl, bl
lea rcx, [rsp + 0x20]
call fcn.1400292c0
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ce8e0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140041870
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
mov r9d, 0x23456789
mov dword [rdx], 0x12345678
mov dword [rdx + 4], r9d
mov rbx, r8
mov dword [rdx + 8], 0x34567890
mov r10, rcx
movzx eax, byte [rcx]
test al, al
je 0x140041903
mov r8d, 0x12345678
mov r11d, 0x34567890
nop word [rax + rax]
mov rcx, r8
lea r10, [r10 + 1]
xor rcx, rax
movzx eax, cl
mov ecx, r8d
shr ecx, 8
xor ecx, dword [rbx + rax*4]
movzx eax, cl
mov r8d, ecx
add eax, r9d
mov dword [rdx], ecx
imul r9d, eax, 0x8088405
mov ecx, r11d
shr ecx, 8
inc r9d
mov dword [rdx + 4], r9d
mov eax, r9d
shr rax, 0x18
xor rax, r11
movzx eax, al
xor ecx, dword [rbx + rax*4]
mov dword [rdx + 8], ecx
mov r11d, ecx
movzx eax, byte [r10]
test al, al
jne 0x1400418b0
mov rbx, qword [rsp + 8]
ret

Function at 0x140041910
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x10108], 0
mov rbx, rcx
je 0x1400419d6
xor r11d, r11d
cmp dword [rcx + 0xd4], r11d
jbe 0x1400419d6
nop word [rax + rax]
movzx eax, byte [r11 + rbx + 0x100]
mov edx, dword [rbx + 0x10128]
mov ecx, edx
mov r8, qword [rbx + 0x10138]
xor rcx, rax
mov r10d, dword [rbx + 0x10130]
movzx eax, cl
and r10d, 0xfffd
mov ecx, dword [rbx + 0x10130]
or r10d, 2
shr edx, 8
xor edx, dword [r8 + rax*4]
mov dword [rbx + 0x10128], edx
movzx eax, dl
add eax, dword [rbx + 0x1012c]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 0x1012c], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [r8 + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 0x10130], ecx
imul eax, r10d
shr eax, 8
xor byte [r11 + rbx + 0x100], al
inc r11d
cmp r11d, dword [rbx + 0xd4]
jb 0x140041940
mov r9d, dword [rbx + 0xd4]
lea r8, [rbx + 0x100]
mov rdx, qword [rbx + 0x58]
mov rcx, qword [rbx + 0x38]
mov edi, dword [rbx + 0xd4]
call qword [rbx + 0x10]
xor edx, edx
mov dword [rbx + 0xd4], 0
cmp eax, edi
mov ecx, 0xffffffff
cmovne edx, ecx
mov ecx, dword [rbx + 0x84]
add qword [rbx + 0x10118], rdi
mov eax, edx
add qword [rbx + 0x10120], rcx
mov dword [rbx + 0x84], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14004b0b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400fe4a8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x70], rsi
cmp qword [rcx + 0x18], 8
mov rsi, qword [rcx + 0x10]
mov qword [rsp + 0x50], rdi
mov rdi, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
jb 0x14004b0ef
mov rdi, qword [rcx]
mov qword [rsp + 0x68], rbx
lea rcx, [rsp + 0x20]
cmp rsi, 8
jae 0x14004b112
movups xmm0, xmmword [rdi]
mov qword [rsp + 0x38], 7
movups xmmword [rsp + 0x20], xmm0
jmp 0x14004b15f
movabs rax, 0x7ffffffffffffffe
mov rbx, rsi
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.14001e0e0
lea r8, [rsi*2 + 2]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
cmp rbx, 8
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x70]
cmp eax, 0xffffffff
je 0x14004b181
test al, 0x10
je 0x14004b181
mov bl, 1
jmp 0x14004b183
xor bl, bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14004b1c8
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b1c3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b1c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce80c
movzx eax, bl
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400ce8e0
add rsp, 0x58
ret

Function at 0x14004b260
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov r8b, 1
movzx edx, r8b
jmp fcn.140034020
Function at 0x14004d100
Capabilities:
Delete file

Disassembly:
mov rcx, qword [rcx + 0x58]
xor edx, edx
jmp 0x1400548c0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400fe4a8]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp qword [rcx + 0x20], 8
lea rbx, [rcx + 8]
movzx esi, dl
mov rdi, rcx
mov rax, rbx
jb 0x1400548fb
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
mov rax, qword [rbx + 0x10]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400290f0
mov rax, qword [rdi + 0x28]
mov rcx, rax
cmp rax, 0xffffffffffffffff
je 0x14005495a
test sil, sil
je 0x14005495a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x28], 0xffffffffffffffff
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140054950
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rdi + 0x28]
xor esi, esi
cmp rcx, 0xffffffffffffffff
jne 0x1400549a2
cmp qword [rbx + 0x18], 8
jb 0x14005496c
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 0x28], rax
mov rcx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400549a2
xor bl, bl
jmp 0x1400549d2
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x20], esi
movups xmmword [rsp + 0x50], xmm0
lea edx, [r9 + 3]
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_LockFileEx]
test eax, eax
setne bl
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x140054a15
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054a10
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054a10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce80c
movzx eax, bl
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400ce8e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14004f640
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
lea rdx, str.image_infos.dat
call fcn.140054e00
lea rcx, [rsp + 0x30]
mov rdi, rax
mov r15, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x34]
mov ecx, 0x3c048
cmp edx, dword [rsp + 0x58]
cmovb edx, dword [rsp + 0x58]
lea esi, [rdx + 0x3c047]
neg edx
and esi, edx
call fcn.140054bd0
mov rbx, rax
cmp r15, 0xffffffffffffffff
jne 0x14004f6b8
mov rcx, rax
mov dword [0x1401341d0], 0x1e
call fcn.140054b30
xor eax, eax
jmp 0x14004f81c
mov rcx, rdi
call fcn.140056750
cmp rax, 0xffffffffffffffff
jne 0x14004f6d5
mov dword [0x1401341d0], 0x1f
jmp 0x14004f7ca
movsxd rbp, esi
test rax, rax
je 0x14004f76f
cmp rax, rbp
jne 0x14004f76f
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov rcx, r15
mov dword [rsp + 0x20], esi
lea r8d, [r14 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r8, rbp
xor edx, edx
mov rcx, rax
mov r15, rax
call fcn.140054c70
mov rbp, rax
test rax, rax
je 0x14004f7c0
mov r8d, 0x3c048
mov rdx, rax
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rbx + 0x14]
mov qword [rbx], rdi
mov dword [rbx + 0x10], esi
mov qword [rbx + 0x18], rbp
mov qword [rbx + 8], r15
test eax, eax
js 0x14004f755
cmp eax, 0x300
jbe 0x14004f80f
lea rcx, [rbx + 0x48]
mov dword [rbx + 0x14], r14d
xor edx, edx
mov r8d, 0x3c000
call sub.VCRUNTIME140.dll_memset
jmp 0x14004f80f
mov rdx, rbp
mov rcx, rdi
call fcn.140056780
test al, al
jne 0x14004f78a
mov dword [0x1401341d0], 0x20
jmp 0x14004f7ca
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov rcx, r15
mov dword [rsp + 0x20], esi
lea r8d, [r14 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r8, rbp
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.140054c70
mov rbp, rax
test rax, rax
jne 0x14004f7eb
mov dword [0x1401341d0], 0x21
mov rcx, rdi
call fcn.140056720
mov edx, 8
mov rcx, rdi
call fcn.1400ce80c
mov rcx, rbx
call fcn.140054b30
xor eax, eax
jmp 0x14004f81c
xor eax, eax
lea rcx, [rbx + 0x20]
xor edx, edx
mov dword [rbx + 0x14], eax
mov r8d, 0x3c028
call sub.VCRUNTIME140.dll_memset
mov qword [rbx], rdi
mov dword [rbx + 0x10], esi
mov qword [rbx + 8], r14
mov qword [rbx + 0x18], rbp
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140052dd0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140052f81
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400121a0
mov rcx, qword [rsi + 8]
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140052f46
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140052ec0
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140052f35
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x140052efd
mov r8, qword [rax]
cmp r8, rcx
je 0x140052ef7
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 + 8], rcx
jmp 0x140052f35
cmp r9, rax
je 0x140052f11
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x140052f5b
cmp r9, rax
jne 0x140052f02
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x140052e70
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x140052f35
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x140052f90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14005316f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400121a0
mov rcx, qword [rsi + 8]
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140053134
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400530ac
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140053123
mov rax, qword [r11 + 8]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rax + 0x10]
jne 0x1400530e9
mov r8, qword [rax]
cmp r8, rcx
je 0x1400530e3
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 + 8], rcx
jmp 0x140053123
cmp r9, rax
je 0x1400530ff
nop
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
je 0x140053149
cmp r9, rax
jne 0x1400530f0
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x140053030
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x140053123
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3