joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007100
Capabilities:
Query environment variable

Disassembly:
push rbx
mov eax, 0x4020
call fcn.14000e210
sub rsp, rax
xor r8d, r8d
mov rdx, rcx
xor ecx, ecx
lea rbx, [rsp + 0x20]
call fcn.140008360
mov r8d, 0x2000
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140007148
xor eax, eax
add rsp, 0x4020
pop rbx
ret
lea rdx, [rsp + 0x2020]
mov r8d, 0x2000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
xor r8d, r8d
mov rdx, rbx
call fcn.140008190
mov rcx, rax
test rax, rax
je 0x140007136
cmp byte [rax], 0
je 0x140007136
call sub.msvcrt.dll__strdup
add rsp, 0x4020
pop rbx
ret

Function at 0x1400071f0
Capabilities:
Set environment variable

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rdx, rcx
xor ecx, ecx
call fcn.140008360
xor edx, edx
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_free
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x140007230
Capabilities:
Create directory
Query environment variable

Disassembly:
push rbp
mov eax, 0x4028
push rdi
push rsi
push rbx
call fcn.14000e210
sub rsp, rax
xor r8d, r8d
mov rdx, rcx
xor ecx, ecx
call fcn.140008360
mov rbx, rax
test rax, rax
je 0x140007370
lea rdi, [rsp + 0x20]
mov rcx, rax
mov r8d, 0x1000
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_free
test esi, esi
je 0x140007350
mov rcx, rdi
call fcn.1400087a0
test eax, eax
jne 0x140007338
mov r8d, 0x1000
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__wfullpath]
mov rbp, rax
test rbp, rbp
je 0x140007380
lea rsi, [rsp + 0x2020]
xor eax, eax
mov ecx, 0x400
mov edx, 0x5c
mov rdi, rsi
rep stosq qword [rdi], rax
mov rcx, rbp
call sub.msvcrt.dll_wcschr
mov rdi, qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rbx, rax
test rax, rax
je 0x14000731d
nop dword [rax]
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
sub r8, rbp
sar r8, 1
add r8, 1
call sub.msvcrt.dll_wcsncpy
xor edx, edx
mov rcx, rsi
call rdi
lea rcx, [rbx + 2]
mov edx, 0x5c
call sub.msvcrt.dll_wcschr
mov rbx, rax
test rax, rax
jne 0x1400072e8
xor edx, edx
mov rcx, rbp
call rdi
mov rax, rbp
add rsp, 0x4028
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsdup_1]
mov rbp, rax
jmp 0x1400072a7
lea rcx, str.LOADER:_Failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
xor ebp, ebp
call fcn.140002e10
mov rax, rbp
add rsp, 0x4028
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, str.LOADER:_Failed_to_convert_runtime_tmpdir_to_a_wide_string._n
xor ebp, ebp
call fcn.140002e10
jmp 0x14000735e
lea rcx, str.LOADER:_Failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
xor ebp, ebp
call fcn.140002e10
jmp 0x14000735e
Function at 0x140007390
Capabilities:
Get common file path
Set environment variable

Disassembly:
push r15
mov eax, 0x2048
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14000e210
sub rsp, rax
mov r15, rcx
mov rdi, rdx
test rdx, rdx
je 0x1400073f9
lea rcx, [0x14001c573]
call fcn.140007100
mov rcx, rdi
mov r14, rax
call fcn.140007230
mov rbx, rax
test rax, rax
je 0x140007483
lea rcx, [0x14001c578]
mov rdx, rax
call qword [sym.imp.msvcrt.dll__wputenv_s]
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_free
test esi, esi
jne 0x1400074a0
lea r12, [rsp + 0x40]
mov ecx, 0x1000
lea rbp, [rsp + 0x20]
mov esi, 5
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.msvcrt.dll__getpid
lea r8, str._MEI_d
mov edx, 0x10
mov rcx, rbp
mov r9d, eax
call fcn.140006f90
mov r13, qword [sym.imp.msvcrt.dll__wtempnam]
mov rcx, r12
mov rdx, rbp
call r13
mov rcx, rax
mov rbx, rax
call fcn.140008590
test eax, eax
je 0x1400074b0
mov rcx, rbx
call sub.msvcrt.dll_free
sub esi, 1
jne 0x140007439
test rdi, rdi
je 0x140007483
test r14, r14
je 0x1400074f8
lea rcx, [0x14001c573]
mov rdx, r14
call fcn.140007190
mov rcx, r14
call sub.msvcrt.dll_free
xor eax, eax
add rsp, 0x2048
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.LOADER:_Failed_to_set_the_TMP_environment_variable._n
call fcn.140002e10
jmp 0x140007483
mov rcx, r15
mov r8d, 0x1000
mov rdx, rbx
call fcn.140008190
mov rcx, rbx
call sub.msvcrt.dll_free
test rdi, rdi
je 0x1400074ea
test r14, r14
je 0x140007524
lea rcx, [0x14001c573]
mov rdx, r14
call fcn.140007190
mov rcx, r14
call sub.msvcrt.dll_free
mov eax, 1
jmp 0x140007485
xor r8d, r8d
xor ecx, ecx
lea rdx, [0x14001c573]
call fcn.140008360
xor edx, edx
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call sub.msvcrt.dll_free
jmp 0x140007483
xor r8d, r8d
xor ecx, ecx
lea rdx, [0x14001c573]
call fcn.140008360
xor edx, edx
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call sub.msvcrt.dll_free
jmp 0x1400074ea
Function at 0x1400075b0
Capabilities:
Delete directory

Disassembly:
push r15
mov eax, 0x44b8
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14000e210
sub rsp, rax
mov r8d, 0x1000
lea rax, [rsp + 0x24a0]
mov rdx, rcx
lea r12, [rsp + 0x490]
mov rsi, rax
mov rcx, rax
mov qword [rsp + 0x28], rax
call fcn.140008360
mov rdx, rsi
mov rcx, r12
call sub.msvcrt.dll_wcscpy
mov rcx, r12
call sub.msvcrt.dll_wcslen
mov r13, rax
movzx eax, word [rsp + rax*2 + 0x48e]
cmp ax, 0x2f
je 0x14000761c
cmp ax, 0x5c
jne 0x140007670
lea rdx, [0x14001c600]
mov rcx, r12
lea rbx, [rsp + 0x260]
call sub.msvcrt.dll_wcscat
mov rdx, rbx
mov rcx, r12
call fcn.14000edf0
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140007688
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.msvcrt.dll__wrmdir]
nop
add rsp, 0x44b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [0x14001c5fc]
mov rcx, r12
add r13, 1
call sub.msvcrt.dll_wcscat
jmp 0x14000761c
lea rdi, [rsp + 0x30]
mov ecx, 0x46
mov rsi, rbx
mov rdx, r13
rep movsq qword [rdi], qword [rsi]
lea rbp, [rsp + 0x30]
mov rcx, r12
mov r8, rbp
mov r15, rbp
call fcn.1400076f0
jmp 0x1400076cf
mov rdi, rbp
mov ecx, 0x46
mov rsi, rbx
mov r8, r15
rep movsq qword [rdi], qword [rsi]
mov rdx, r13
mov rcx, r12
mov rbp, r15
call fcn.1400076f0
mov rdx, rbx
mov rcx, r14
call fcn.14000eed0
test eax, eax
je 0x1400076b0
mov rcx, r14
call qword [sym.imp.msvcrt.dll__findclose]
jmp 0x140007647

Function at 0x1400076f0
Capabilities:
Delete directory
Delete file

Disassembly:
push rbp
mov eax, 0x1038
push rdi
push rsi
push rbx
call fcn.14000e210
sub rsp, rax
lea rsi, [r8 + 0x24]
mov rbp, rcx
mov rdi, rdx
mov rbx, r8
lea rdx, [0x14001c604]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140007730
add rsp, 0x1038
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdx, [0x14001c608]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x140007721
xor eax, eax
mov rcx, rbp
mov rdx, rsi
mov word [rbp + rdi*2], ax
call sub.msvcrt.dll_wcscat
mov rcx, rbp
test byte [rbx], 0x10
je 0x140007790
call fcn.140008730
test eax, eax
jne 0x1400077b8
lea rbx, [rsp + 0x20]
mov r8d, 0x1000
mov rdx, rbp
mov rcx, rbx
call fcn.140008190
mov rcx, rbx
call fcn.1400075b0
jmp 0x140007721
mov rbx, qword [sym.imp.msvcrt.dll__wremove]
call rbx
test eax, eax
je 0x140007721
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbp
call rbx
jmp 0x140007721
mov rcx, rbp
call qword [sym.imp.msvcrt.dll__wrmdir]
jmp 0x140007721
Function at 0x140007960
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rdi
mov eax, 0x1020
push rsi
push rbx
call fcn.14000e210
sub rsp, rax
mov rdi, r8
mov rsi, rdx
lea rdx, [0x14001c644]
call fcn.1400044f0
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call fcn.1400077d0
mov rdi, rax
test rbx, rbx
je 0x140007a59
test rax, rax
je 0x140007a4c
lea rsi, [rsp + 0x20]
nop word [rax + rax]
mov rcx, rbx
call sub.msvcrt.dll_feof
test eax, eax
jne 0x140007a48
mov r8d, 0x1000
mov r9, rbx
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fread
mov r8, rax
test rax, rax
jne 0x1400079f8
mov rcx, rbx
call sub.msvcrt.dll_ferror
test eax, eax
je 0x1400079b0
mov rcx, rbx
call sub.msvcrt.dll_clearerr
jmp 0x140007a21
mov r9, rdi
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fwrite
test rax, rax
je 0x140007a19
mov rcx, rdi
call sub.msvcrt.dll_ferror
test eax, eax
je 0x1400079b0
mov rcx, rdi
call sub.msvcrt.dll_clearerr
mov esi, 0xffffffff
mov rcx, rbx
call sub.msvcrt.dll_fclose
mov rcx, rdi
call sub.msvcrt.dll_fclose
mov eax, esi
add rsp, 0x1020
pop rbx
pop rsi
pop rdi
ret
xor esi, esi
jmp 0x140007a26
test rbx, rbx
je 0x140007a59
mov rcx, rbx
call sub.msvcrt.dll_fclose
test rdi, rdi
je 0x140007a66
mov rcx, rdi
call sub.msvcrt.dll_fclose
mov esi, 0xffffffff
jmp 0x140007a36
Function at 0x140007ae0
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
push rbp
mov eax, 0x2118
push rdi
push rsi
push rbx
call fcn.14000e210
sub rsp, rax
mov r8d, 0x1000
lea rdi, [rsp + 0x110]
mov rdx, rcx
mov dword [rsp + 0x5c], 0
lea rbp, [rsp + 0xa0]
mov rcx, rdi
call fcn.140008360
mov edx, 1
mov ecx, 0x16
call sub.msvcrt.dll_signal
mov edx, 1
mov ecx, 2
call sub.msvcrt.dll_signal
mov edx, 1
mov ecx, 0xf
call sub.msvcrt.dll_signal
mov edx, 1
mov ecx, 0x15
call sub.msvcrt.dll_signal
mov rcx, rbp
mov dword [rsp + 0x60], 0x18
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
pxor xmm0, xmm0
mov eax, 1
xor ecx, ecx
movups xmmword [rsp + 0xa8], xmm0
mov rsi, qword [fcn.140017cb0]
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xdc], 0x101
mov word [rsp + 0xe0], ax
call rsi
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov rbx, qword [sym.imp.msvcrt.dll__get_osfhandle]
mov ecx, eax
call rbx
mov ecx, 1
mov qword [rsp + 0xf0], rax
call rsi
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov ecx, eax
call rbx
mov ecx, 2
mov qword [rsp + 0xf8], rax
call rsi
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov ecx, eax
call rbx
mov qword [rsp + 0x100], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
mov qword [rsp + 0x40], rbp
mov rcx, rdi
mov rdx, rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140007c90
mov rcx, qword [rsp + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x5c]
add rsp, 0x2118
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdx, str.Error_creating_child_process__n
lea rcx, str.CreateProcessW
call fcn.140002ef0
mov eax, 0xffffffff
add rsp, 0x2118
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140007e80
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r12, rcx
mov ecx, 0x2000
mov rbp, rdx
mov rdi, r8
call sub.msvcrt.dll_malloc
mov rsi, rax
test rax, rax
je 0x140007f70
xor edx, edx
mov r8d, 2
mov rcx, r12
call fcn.14000f2a0
test eax, eax
js 0x140007f70
mov rcx, r12
call fcn.14000f390
movsxd rbx, eax
cmp rbx, rdi
jb 0x140007f70
mov r15d, 1
sub r15, rdi
mov qword [rsp + 0x28], r15
mov r13d, 0x2000
cmp rbx, r13
cmovae r13, rbx
lea r14, [r13 - 0x2000]
sub rbx, r14
cmp rbx, rdi
jb 0x140007f70
xor r8d, r8d
mov edx, r14d
mov rcx, r12
call fcn.14000f2a0
test eax, eax
js 0x140007f70
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fread
cmp rax, rbx
jne 0x140007f70
mov rdx, qword [rsp + 0x28]
lea rbx, [rdx + rax]
jmp 0x140007f5a
lea r15, [rbx - 1]
mov r8, rdi
mov rdx, rbp
lea rcx, [rsi + r15]
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140007f90
mov rbx, r15
test rbx, rbx
jne 0x140007f40
lea rbx, [r14 + rdi - 1]
test r14, r14
jne 0x140007ee9
nop dword [rax]
xor ebx, ebx
mov rcx, rsi
call sub.msvcrt.dll_free
mov rax, rbx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [r13 + rbx - 0x2001]
jmp 0x140007f72
Function at 0x140008590
Capabilities:
Create directory

Disassembly:
push r13
mov eax, 0x2068
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14000e210
sub rsp, rax
mov rsi, rcx
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x40], 0xffffffffffffffff
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140008690
xor ebx, ebx
lea rdi, [rsp + 0x60]
mov rcx, rbx
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x140008606
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
lea r9, str.S_1_3_4
mov edx, 0x1000
mov rcx, rdi
lea r8, str.D:_A__FA____s_
test rbx, rbx
cmovne r9, rbx
call qword [sym.imp.msvcrt.dll__snwprintf]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rcx, rdi
mov dword [rsp + 0x40], 0x18
mov edx, 1
mov dword [rsp + 0x50], 0
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x140008720
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
sbb eax, eax
add rsp, 0x2068
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea r12, [rsp + 0x3c]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], r12
mov rdi, qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edx, 1
call rdi
test eax, eax
jne 0x1400086c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400085e6
mov edx, dword [rsp + 0x3c]
mov ecx, 1
mov r13, rdx
call sub.msvcrt.dll_calloc
mov rcx, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x1400085e6
mov qword [rsp + 0x20], r12
mov r9d, r13d
mov r8, rax
mov edx, 1
call rdi
lea rdi, [rsp + 0x60]
test eax, eax
je 0x1400085ed
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
jmp 0x1400085ed
mov eax, 0xffffffff
jmp 0x140008676
Function at 0x14000cef0
Capabilities:
Write file on windows

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

Function at 0x14000dbc2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140033568]
test eax, eax
je 0x14000dc5a
lea rax, [0x140033540]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140033570]
mov qword [rbp - 8], rax
jmp 0x14000dc3e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14000dc32
cmp qword [rbp - 0x10], 0
je 0x14000dc32
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14000dbf8
lea rax, [0x140033540]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000dc5b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000dd60
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000de5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14000de51
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14000de51
mov rax, qword [rbp - 8]
jmp 0x14000de6f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14000de24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400275d0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002777b
lea rax, [rdx - 1]
mov qword [rsp + 0x60], rbx
mov rbx, qword [rsi + 0x10]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x20]
lea rdx, [rdi + rdi]
call fcn.140004330
lea rax, [rdi - 1]
mov qword [rsi + 0x48], rdi
mov qword [rsi + 0x40], rax
mov rax, qword [rsi + 0x10]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140027736
mov qword [rsp + 0x30], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x40]
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
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x28]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400276b0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140027725
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400276ed
mov r10, qword [rdx]
cmp r10, rax
je 0x1400276e7
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 0x140027725
cmp r9, rdx
je 0x140027701
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140027755
cmp r9, rdx
jne 0x1400276f2
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 0x140027660
mov rbp, qword [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
call fcn.140027830
mov rbx, qword [rsp + 0x60]
add rsp, 0x38
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 0x140027725
lea rcx, str.invalid_hash_bucket_count
call fcn.1400a3e80
int3
Function at 0x140027830
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, qword [rcx]
test rdi, rdi
je 0x1400278f1
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400278f1
mov rax, qword [rdi + 0x48]
shr rax, 3
cmp rax, rcx
jbe 0x140027873
mov rdx, qword [rdi + 0x10]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x140027900
lea rcx, [rdi + 8]
mov qword [rsp + 0x50], rsi
call fcn.140027a80
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400278ba
mov qword [rsp + 0x48], rbx
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.1400a77c0
mov rcx, rbx
test rbx, rbx
jne 0x1400278a0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 0x10]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 0x10]
mov qword [rax + 8], rax
mov qword [rdi + 0x18], 0
mov rax, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rdi + 0x28]
mov qword [rsp + 0x20], rax
call fcn.140005760
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
push rbx
push rbp
sub rsp, 0x28
mov rbx, r8
mov r11, rdx
mov rbp, rcx
cmp rdx, r8
je 0x140027a70
movzx eax, byte [r11 + 0x11]
mov r10, qword [rcx + 0x10]
mov r8, qword [r11]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov rdi, qword [rdx + 8]
movzx edx, byte [rdx + 0x10]
mov qword [rsp + 0x50], r12
movabs r12, 0xcbf29ce484222325
xor rdx, r12
mov qword [rsp + 0x58], r14
mov r14, qword [rcx + 0x28]
mov qword [rsp + 0x20], r15
movabs r15, 0x100000001b3
imul rdx, r15
xor rdx, rax
movzx eax, byte [r11 + 0x12]
imul rdx, r15
xor rdx, rax
movzx eax, byte [r11 + 0x13]
imul rdx, r15
xor rdx, rax
imul rdx, r15
and rdx, qword [rcx + 0x40]
shl rdx, 4
add rdx, r14
mov rcx, qword [rdx + 8]
mov r9, qword [rdx]
cmp r11, rcx
je 0x1400279b4
nop dword [rax + rax]
mov rax, r8
cmp r8, rbx
je 0x140027a3e
mov r8, qword [r8]
cmp rax, rcx
jne 0x1400279a0
cmp r9, r11
jne 0x1400279bf
mov qword [rdx], r10
mov rdi, r10
mov qword [rdx + 8], rdi
cmp r8, rbx
je 0x140027a4b
nop dword [rax]
movzx eax, byte [r8 + 0x11]
mov rdx, r8
movzx r9d, byte [r8 + 0x10]
xor r9, r12
imul r9, r15
xor r9, rax
movzx eax, byte [r8 + 0x12]
imul r9, r15
xor r9, rax
movzx eax, byte [r8 + 0x13]
mov r8, qword [r8]
imul r9, r15
xor r9, rax
imul r9, r15
and r9, qword [rbp + 0x40]
shl r9, 4
add r9, r14
mov rcx, qword [r9 + 8]
cmp rdx, rcx
je 0x140027a30
nop word [rax + rax]
mov rax, r8
cmp r8, rbx
je 0x140027a48
mov r8, qword [r8]
cmp rax, rcx
jne 0x140027a20
mov qword [r9], r10
mov qword [r9 + 8], r10
cmp r8, rbx
jne 0x1400279d0
jmp 0x140027a4b
cmp r9, r11
jne 0x140027a4b
mov qword [rdx], r8
jmp 0x140027a4b
mov qword [r9], r8
mov rdx, r11
lea rcx, [rbp + 8]
call fcn.140027b10
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
mov rax, rbx
add rsp, 0x28
pop rbp
pop rbx
ret