joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180009470
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x5d0]
sub rsp, 0x6d0
mov rax, qword [0x180023250]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
mov rbx, rcx
lea rcx, [rbp + 0x3b0]
xor edx, edx
mov r8d, 0x208
call fcn.18000eb60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdi, [0x18001de68]
lea rdx, [rbp + 0x190]
movsxd rcx, eax
lea rax, [0x18001dc78]
mov r8, rbx
cmp word [rbx + rcx*2 - 2], 0x5c
lea rcx, [rbp + 0x3b0]
mov dword [rbp + 0x190], 0x730025
cmove rdi, rax
mov dword [rbp + 0x194], 0x730025
mov dword [rbp + 0x198], 0x2e002a
mov r9, rdi
mov dword [rbp + 0x19c], 0x2a
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000953f
xor al, al
jmp 0x1800095fc
xor eax, eax
mov dword [rbp + 0x180], 0x730025
mov dword [rbp + 0x184], 0x730025
mov word [rbp + 0x18c], ax
mov dword [rbp + 0x188], 0x730025
cmp word [rsp + 0x5c], 0x2e
je 0x1800095d3
test byte [rsp + 0x30], 0x10
lea rax, [rsp + 0x5c]
mov r9, rdi
mov r8, rbx
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
je 0x1800095a7
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x1a0]
call fcn.180009470
jmp 0x1800095d3
call qword [sym.imp.USER32.dll_wsprintfW]
test byte [rsp + 0x30], 1
je 0x1800095c6
lea rcx, [rbp + 0x1a0]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180009566
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.18000b7a0
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x18000a720
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
dec edx
jne 0x18000a784
cmp qword [0x1800605d0], 0
jne 0x18000a784
lea rcx, str.0:db0:lk0:hs1:ld0:ll0:hb0:pj9_.01.3202:zb0.1:bb
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jle 0x18000a784
call fcn.180008760
cmp dword [0x18005fbc0], 0
je 0x18000a784
xor eax, eax
lea r8, [0x18000a450]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
mov qword [0x1800605d0], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add rsp, 0x38
ret

Function at 0x18000a790
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp qword [0x1800605d0], 0
jne 0x18000a7e4
call fcn.180008760
xor r11d, r11d
lea r8, [0x18000a450]
mov qword [rsp + 0x28], r11
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r11d
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
mov qword [0x1800605d0], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1800605d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x38
ret

Function at 0x18000a7f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [0x1800605d0], 0
mov rbx, rcx
jne 0x18000a865
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, str.0:db0:lk0:hs1:ld0:ll0:hb0:pj9_.01.3202:zb0.1:bb
mov rdx, rbx
lea eax, [rax + rax + 2]
movsxd r8, eax
call fcn.18000b7d0
call fcn.180008760
xor r11d, r11d
mov qword [rsp + 0x28], r11
lea r8, [0x18000a450]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r11d
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
mov qword [0x1800605d0], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1800605d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x30
pop rbx
ret

Function at 0x18000a870
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x18000a450]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
mov qword [0x1800605d0], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
add rsp, 0x38
ret
Function at 0x18000d067
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180023250]
jne 0x18000b7ba
rol rcx, 0x10
test cx, 0xffff
jne 0x18000b7b6
repz ret
ror rcx, 0x10
jmp 0x18000cfc0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18005d430]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18005d528]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18000d045
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18005d430]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x18000d067
mov rax, qword [rsp + 0x88]
mov qword [0x18005d528], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18005d4c8], rax
mov rax, qword [0x18005d528]
mov qword [0x18005d3a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18005d4b0], rax
mov dword [0x18005d390], 0xc0000409
mov dword [0x18005d394], 1
mov rax, qword [0x180023250]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180023258]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18005d428], eax
mov ecx, 1
call fcn.1800118f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18001b840]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18005d428], 0
jne 0x18000d0ee
mov ecx, 1
call fcn.1800118f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180011d34
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x180023250]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18000ec4c
xor ebx, ebx
cmp qword [0x18005e3d0], rbx
mov rdi, rax
jne 0x180011e47
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180011f1e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180011f1e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18005e3d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18005e3d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x18001d290]
mov rcx, rsi
mov qword [0x18005e3e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18005e3f0], rax
test rax, rax
je 0x180011e3e
lea rdx, [0x18001d278]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x18005e3e8], rax
jmp 0x180011e4e
mov rax, qword [0x18005e3e8]
jmp 0x180011e55
mov rax, qword [0x18005e3e8]
mov r11, qword [0x18005e3f0]
cmp rax, rdi
je 0x180011ebc
cmp r11, rdi
je 0x180011ebc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18005e3f0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180011ebc
test rax, rax
je 0x180011ebc
call rsi
test rax, rax
je 0x180011eb6
lea rcx, [rsp + 0x30]
mov r9d, recv
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180011eb6
test byte [rsp + 0x40], 1
jne 0x180011ebc
bts ebp, 0x15
jmp 0x180011efc
mov rcx, qword [0x18005e3d8]
cmp rcx, rdi
je 0x180011efc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180011efc
call rax
mov rbx, rax
test rax, rax
je 0x180011efc
mov rcx, qword [0x18005e3e0]
cmp rcx, rdi
je 0x180011efc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180011efc
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18005e3d0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180011f1e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180011f20
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18000b7a0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000e8e0
Capabilities:
Query environment variable

Disassembly:
push r12
sub rsp, 0x150
xor r12d, r12d
mov rax, qword [0x14001b4b8]
mov edx, pe_nt_image_headers64
xor rax, rsp
pxor xmm0, xmm0
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x140], r12d
mov byte [rsp + 0x144], r12b
movaps xmmword [rsp + rdx + 0x30], xmm0
movaps xmmword [rsp + rdx + 0x20], xmm0
movaps xmmword [rsp + rdx + 0x10], xmm0
movaps xmmword [rsp + rdx], xmm0
sub rdx, 0x40
jne 0x14000e920
cmp qword [0x14001c060], 0
je 0x14000eb04
lea rcx, [0x14001c060]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x14001b4e0], 0xffffffffffffffff
je 0x14000eadb
lea rcx, str.SYSTEMROOT
lea rdx, [rsp + 0x40]
mov r8d, 0x105
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x14000e994
mov edx, 0x105
lea rcx, [rsp + 0x40]
lea r8, str._system32_
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov edx, 0x105
lea rcx, [rsp + 0x40]
lea r8, str.msvcrt.dll
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov ecx, 1
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
cmp qword [rsp + 0x38], 0
je 0x14000eab2
mov edx, 1
mov eax, 0x10
mov qword [rsp + 0x30], rbx
mov rbx, rax
mov qword [rsp + 0x28], rsi
lea rsi, [0x140000000]
mov qword [rsp + 0x20], rdi
mov rdi, rdx
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsi + rbx + 0x1b4e8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000ea62
mov qword [rsi + rbx + 0x1b4e0], rax
inc rdi
add rbx, 0x10
cmp rdi, 0x32
jl 0x14000e9f1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
lea rcx, [0x14001c060]
mov qword [0x14001b4e0], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14000f8a0
mov eax, r12d
add rsp, 0x150
pop r12
ret
mov rcx, qword [rsi + rbx + 0x1b4e0]
test rcx, rcx
je 0x14000ea8a
cmp rcx, rdi
jge 0x14000ea11
shl rcx, 4
mov rcx, qword [rsi + rcx + 0x1b4e0]
mov qword [rsi + rbx + 0x1b4e0], rcx
jmp 0x14000ea11
mov r8, qword [0x14001b4f0]
test r8, r8
je 0x14000ea11
lea rcx, str.Warning:_Missing__s_function_during_Intel_Library_Wrapper_initialization._n
mov rdx, qword [rsi + rbx + 0x1b4e8]
call r8
nop
jmp 0x14000ea11
xor edx, edx
lea rcx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000e9cb
mov r12d, 0xffffffff
jmp 0x14000ea2d
lea rcx, [0x14001c060]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14000f8a0
xor eax, eax
add rsp, 0x150
pop r12
ret
lea rcx, [0x14001c060]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
jmp 0x14000e947
Function at 0x180006bb0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x180006c61
mov rdi, qword [rcx + 0x80]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, rax
call fcn.180031978
test eax, eax
jne 0x180006d39
lea r8, [rdi + 0xa0]
mov edx, esi
call fcn.18001b510
movzx edi, al
mov rcx, rbx
call fcn.18003199c
test dil, dil
je 0x180006d24
mov rdi, qword [rbp + 0x80]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, rax
call fcn.180031978
test eax, eax
jne 0x180006d31
lea r8, [rdi + 0x220]
mov edx, esi
call fcn.1800184d0
mov rdi, rax
mov rcx, rbx
call fcn.18003199c
mov r8, qword [rdi]
test r8, r8
je 0x180006d24
lea rcx, [r8 + 0x10]
call fcn.180012f70
mov eax, esi
shr eax, 8
movzx edx, al
movzx eax, sil
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs r8, 0x100000001b3
imul rax, r8
xor rdx, rax
imul rdx, r8
mov eax, esi
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov rax, rsi
shr rax, 0x18
xor rdx, rax
imul rdx, r8
mov rcx, qword [rbp + 0x270]
and rcx, rdx
shl rcx, 4
add rcx, qword [rbp + 0x258]
mov rax, qword [rcx + 8]
mov rdx, qword [rbp + 0x248]
cmp rax, rdx
je 0x180006d03
mov rcx, qword [rcx]
cmp esi, dword [rax + 0x10]
je 0x180006cf0
cmp rax, rcx
je 0x180006d03
mov rax, qword [rax + 8]
cmp esi, dword [rax + 0x10]
jne 0x180006ce2
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x180006d03
mov dword [rax + 0x14], 0
mov r8, qword [0x1800a6f08]
test r8, r8
je 0x180006d24
add r8, 0xe8
mov edx, esi
mov rcx, qword [rbp + 0x80]
call fcn.180002970
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call fcn.180030b0c
int3
mov ecx, eax
call fcn.180030b0c
int3

Function at 0x180007580
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rdi, [0x1800a6fd8]
mov r8d, 0x32
mov rdx, rdi
lea rcx, str.USERNAME
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1800075e5
cmp byte [0x1800a6fd8], 0
je 0x1800075e5
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
inc r8
cmp byte [rdi + r8], 0
jne 0x1800075d6
mov rdx, rdi
jmp 0x180007605
mov qword [rbx + 0x10], 0
lea rdx, str.unknown_user
mov qword [rbx + 0x18], 0xf
mov r8d, 0xc
mov byte [rbx], 0
mov rcx, rbx
call fcn.18001e3a0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180007620
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rdi, [0x1800a6fd8]
mov r8d, 0x32
mov rdx, rdi
lea rcx, str.COMPUTERNAME
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x180007685
cmp byte [0x1800a6fd8], 0
je 0x180007685
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
inc r8
cmp byte [rdi + r8], 0
jne 0x180007676
mov rdx, rdi
jmp 0x1800076a5
mov qword [rbx + 0x10], 0
lea rdx, str.unknown_host
mov qword [rbx + 0x18], 0xf
mov r8d, 0xc
mov byte [rbx], 0
mov rcx, rbx
call fcn.18001e3a0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1800076c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1800a11a0]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rbx, [0x1800a6fd8]
mov r8d, 0x32
mov rdx, rbx
lea rcx, str.TERM
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x180007730
cmp byte [0x1800a6fd8], 0
je 0x180007730
mov qword [rsp + 0x30], 0
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
inc r8
cmp byte [rbx + r8], 0
jne 0x180007721
mov rdx, rbx
jmp 0x180007751
mov qword [rsp + 0x30], 0
lea rdx, [0x18008f025]
mov qword [rsp + 0x38], 0xf
xor r8d, r8d
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18001e3a0
mov rdi, qword [rsp + 0x38]
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rdi, 0x10
mov rdx, qword [rsp + 0x30]
cmovae rax, rbx
mov qword [rsp + 0x60], rsi
cmp rdx, 5
jne 0x180007794
cmp dword [rax], 0x72657478
jne 0x180007794
cmp byte [rax + 4], 0x6d
je 0x18000788c
cmp rdi, 0x10
lea rax, [rsp + 0x20]
cmovae rax, rbx
cmp rdx, 0xb
jne 0x1800077c8
movabs rcx, 0x6f632d6d72657478
cmp qword [rax], rcx
jne 0x1800077c8
cmp word [rax + 8], 0x6f6c
jne 0x1800077c8
cmp byte [rax + 0xa], 0x72
je 0x18000788c
cmp rdi, 0x10
lea rax, [rsp + 0x20]
cmovae rax, rbx
cmp rdx, 0xe
jne 0x1800077ff
movabs rcx, 0x35322d6d72657478
cmp qword [rax], rcx
jne 0x1800077ff
cmp dword [rax + 8], 0x6c6f6336
jne 0x1800077ff
cmp word [rax + 0xc], 0x726f
je 0x18000788c
cmp rdi, 0x10
lea rax, [rsp + 0x20]
cmovae rax, rbx
cmp rdx, 6
jne 0x180007822
cmp dword [rax], 0x65726373
jne 0x180007822
cmp word [rax + 4], 0x6e65
je 0x18000788c
cmp rdi, 0x10
lea rax, [rsp + 0x20]
cmovae rax, rbx
cmp rdx, 5
jne 0x180007843
cmp dword [rax], 0x756e696c
jne 0x180007843
cmp byte [rax + 4], 0x78
je 0x18000788c
cmp rdi, 0x10
lea rax, [rsp + 0x20]
cmovae rax, rbx
cmp rdx, 6
jne 0x180007866
cmp dword [rax], 0x77677963
jne 0x180007866
cmp word [rax + 4], 0x6e69
je 0x18000788c
cmp rdi, 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, rbx
cmp rdx, 0xf
jne 0x180007891
mov r8, rdx
lea rdx, str.screen_256color
call fcn.180051cf0
test eax, eax
jne 0x180007891
mov sil, 1
jmp 0x180007894
xor sil, sil
cmp rdi, 0x10
jb 0x1800078c7
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800078bf
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800078e8
mov rcx, rbx
call fcn.180032af0
movzx eax, sil
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180032aa0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.180056698
int3
Function at 0x18000d6c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x1800a11a0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rdx
mov rbp, rcx
lea rbx, [rcx + 0xa0]
mov qword [rsp + 0x58], rbx
mov rcx, rbx
call fcn.180031978
test eax, eax
jne 0x18000d906
mov rax, qword [rdi]
mov r14d, dword [rax]
mov rax, qword [rax + 0x58]
mov rsi, qword [rax + 0x80]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rdi, rax
mov qword [rsp + 0x20], rax
mov rcx, rax
call fcn.180031978
test eax, eax
jne 0x18000d90e
lea r8, [rsi + 0xe0]
mov edx, r14d
call fcn.1800184d0
mov rsi, rax
mov rcx, rdi
call fcn.18003199c
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.1800137c0
nop
lea rdx, [rsp + 0x70]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
cmp rsi, 0x10
cmovae rdx, rdi
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x80]
test r8, r8
je 0x18000d7b3
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18000d7a0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x60]
call fcn.180019510
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x18000d7d3
mov rcx, qword [rbp + 0x68]
cmp rcx, qword [rbp + 0x68]
jne 0x18000d89c
mov ecx, 0x50
call fcn.180032af8
mov rdi, rax
mov qword [rsp + 0x20], rax
mov edx, 0x102
mov rcx, rax
call fcn.180031948
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1800137c0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x50], rdi
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.1800186c0
nop
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x18000d851
mov rcx, rdi
call fcn.180031934
mov edx, 0x50
mov rcx, rdi
call fcn.180032af0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18000d88f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d889
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d916
call fcn.180032af0
nop
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x70]
cmp rsi, 0x10
jb 0x18000d8d0
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000d8c7
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d900
mov rcx, rdi
call fcn.180032af0
nop
mov rcx, rbx
call fcn.18003199c
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180032aa0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.180056698
nop
mov ecx, eax
call fcn.180030b0c
nop
mov ecx, eax
call fcn.180030b0c
nop
call fcn.180056698
int3
Function at 0x18000d9b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov r14, rdx
mov rbp, rcx
call fcn.18000d6c0
mov rax, qword [r14]
mov esi, dword [rax]
mov rax, qword [rax + 0x58]
mov rdi, qword [rax + 0x80]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, rax
call fcn.180031978
test eax, eax
jne 0x18000db2d
lea r8, [rdi + 0xe0]
mov edx, esi
call fcn.1800184d0
mov rdi, rax
mov rcx, rbx
call fcn.18003199c
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18000da24
mov r8, qword [rdi]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rdi + 0x10]
xor ecx, ecx
test rdx, rdx
je 0x18000da64
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x18000da50
mov r8, rdi
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x60]
call fcn.180019510
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x18000da82
mov rbx, qword [rbp + 0x68]
mov rbx, qword [rbx + 0x30]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.180031978
test eax, eax
jne 0x18000db35
mov qword [rbp + 0xf0], r14
mov r8, qword [r14]
mov rax, qword [r8 + 0x58]
mov rcx, qword [rax + 0x290]
mov rax, qword [rcx]
cmp dword [r14 + 8], 2
sete r9b
lea rdx, [rsp + 0x28]
call qword [rax + VariantCopy]
nop
mov rdx, rax
mov rcx, rbp
call fcn.18000db40
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18000db0b
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000db05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000db27
call fcn.180032af0
nop
mov rcx, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
jmp fcn.18003199c
call fcn.180056698
nop
mov ecx, eax
call fcn.180030b0c
int3
mov ecx, eax
call fcn.180030b0c
int3