joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002dc0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14000d030]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov edx, 1
lea rcx, [0x140001100]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, [0x14000dcd8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [0x14000dce0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.1400059e0
lea rcx, [rsp + 0x30]
call fcn.1400058e0
xor eax, eax
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x1400011b0]
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x7530
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x30]
call fcn.140005890
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
call fcn.140005930
call fcn.140005c00
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400089f0
add rsp, 0x40
pop rbx
ret

Function at 0x1400059e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14000d030]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp qword [0x14000d3c0], 0
jne 0x140005b10
xor ebx, ebx
lea rcx, [rsp + 0x30]
mov edx, 0x208
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140005abf
lea r8, [0x14000a3bc]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscat_s
mov r8, qword [str.FvSDK_x64.dll]
lea rcx, [rsp + 0x30]
mov edx, 0x104
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscat_s
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140008400
test eax, eax
je 0x140005abf
cmp dword [rsp + 0x20], ebx
je 0x140005abf
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14000d3c0], rax
test rax, rax
jne 0x140005a93
lea eax, [rbx + 6]
jmp 0x140005b12
lea rdx, str.fv_QueryInterface
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000d3c8], rax
mov rsi, rax
test rax, rax
jne 0x140005ac4
mov rcx, qword [0x14000d3c0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
jmp 0x140005b12
lea rdi, [0x14000d3d0]
nop dword [rax + rax]
mov rcx, rsi
call qword [fcn.140009420]
mov ecx, ebx
call rsi
mov qword [rdi], rax
test rax, rax
je 0x140005ab2
inc ebx
add rdi, 8
cmp ebx, 0xc
jae 0x140005af9
mov rsi, qword [0x14000d3c8]
jmp 0x140005ad0
mov rbx, qword [0x14000d408]
test rbx, rbx
je 0x140005b10
mov rcx, rbx
call qword [fcn.140009420]
call rbx
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400089f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140005db0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x140005e73
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x140005de4
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x140005e76
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x140005e2f
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x140005e33
test rax, rax
je 0x140005e73
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x140005e64
cmp rdx, rax
jb 0x140005e50
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180004400
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x530
mov rax, qword [0x18012c100]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov r14, rdx
mov r15, rcx
mov bpl, 1
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov rbx, r12
nop word [rax + rax]
mov qword [rsp + 0x30], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ntdll.dll_NtGetNextThread]
mov edi, eax
test rbx, rbx
je 0x18000448f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x180004553
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x180004450
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x180004450
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x180004450
test eax, eax
je 0x1800044da
test bpl, bpl
jne 0x1800044da
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180004450
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.180094120
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x80], 0x10000b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180004450
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x18000453e
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x38]
mov dword [rsp + 0x48], edi
lea r8, [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
inc esi
jmp 0x180004450
xor bpl, bpl
test esi, esi
jne 0x180004440
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x18000456d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, r12
mov qword [rsp + 0x30], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ntdll.dll_NtGetNextThread]
mov edi, eax
test rbx, rbx
je 0x1800045af
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x1800045dc
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x180004570
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x180004570
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180004570
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.180068380
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180004610
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18012c100]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, r8
mov qword [rsp + 0x40], rcx
mov rdi, rdx
lea r9, [rsp + 0x40]
mov rbx, rcx
xor ebp, ebp
mov rdx, rsi
mov dword [rsp + 0x40], ebp
mov rcx, rdi
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180004660
mov byte [rbx + 0x18], bpl
jmp 0x1800046a8
mov r8d, dword [rsp + 0x40]
lea rax, [rsp + 0x28]
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov dword [rbx + 0x10], ebp
cmp rbx, rax
je 0x18000468a
mov qword [rbx], rdi
mov qword [rbx + 8], rsi
mov dword [rbx + 0x10], r8d
mov byte [rbx + 0x18], 1
jmp 0x1800046a8
mov byte [rbx + 0x18], 1
test rdi, rdi
je 0x1800046a8
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], ebp
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180068380
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x180008800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
movzx ebp, r8b
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
jns 0x1800088f9
mov rdx, qword [rcx + 0x18]
lea rax, [rdx + 1]
cmp rax, qword [rcx + 0x20]
jbe 0x180008845
mov eax, 0x80100009
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 0x38]
movzx eax, word [0x18010fee4]
mov qword [rsp + 0x40], rsi
mov rsi, qword [rsp + 0x60]
mov word [rdx + rcx - 1], ax
inc qword [rbx + 0x18]
mov rcx, qword [rbx + 0x18]
test rsi, rsi
je 0x1800088c5
mov r8, qword [rsi + 0x18]
lea rax, [r8 - 1]
add rax, rcx
cmp rax, qword [rbx + 0x20]
jbe 0x180008897
mov eax, 0x80100009
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rbx + 0x38]
dec r8
mov rdx, qword [rsi + 0x38]
dec rax
add rcx, rax
call fcn.1800939e0
mov rax, qword [rsi + 0x18]
dec rax
add qword [rbx + 0x18], rax
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x38]
mov byte [rax + rcx - 1], 0
movabs rdx, 0x8000000000000000
cmp rdi, rdx
je 0x1800088de
mov rdx, rdi
neg rdx
cmovs rdx, rdi
mov rax, qword [rsp + 0x68]
xor r9d, r9d
movzx r8d, bpl
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.18000dff0
jmp 0x180008882
test r9b, r9b
je 0x180008924
mov rdx, qword [rcx + 0x18]
lea rax, [rdx + 1]
cmp rax, qword [rcx + 0x20]
ja 0x180008830
movzx eax, word [0x18010fee0]
mov rcx, qword [rcx + 0x38]
mov word [rcx + rdx - 1], ax
inc qword [rbx + 0x18]
mov rax, qword [rsp + 0x68]
mov rdx, rdi
mov r9, qword [rsp + 0x60]
mov rcx, rbx
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.18000dff0
Function at 0x180013ed0
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 [0x18012c100]
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 0x180013f1b
test sil, sil
je 0x180014007
movups xmm0, xmmword [r9]
add rcx, 8
cmp qword [rbx + 0x20], 0xf
movups xmmword [rsp + 0x48], xmm0
jbe 0x180013f33
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 fcn.180045680
mov ecx, dword [0x1801322d0]
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, 0x148
mov rdx, qword [rax + rcx*8]
mov ecx, 0x144
mov eax, dword [rcx + rdx]
test al, 1
jne 0x180013fa8
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 0x180013fac
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.180015770
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180068380
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 0x180016870
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x18012c100]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x68]
call fcn.180022ae0
nop
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x180016903
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1800168f0
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0xf0]
call fcn.180030d20
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x180016929
mov rcx, qword [rdi + 0xf8]
lea r8, [rsp + 0x68]
cmp rcx, qword [rdi + 0xf8]
jne 0x180016a56
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0xf0]
call fcn.1800287a0
mov rdx, qword [rax]
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [rsi], 0
mov qword [rsi + 8], 0
mov qword [rdx + 0x30], rax
mov rbx, qword [rdx + 0x38]
mov qword [rdx + 0x38], rcx
mov edi, 0xffffffff
test rbx, rbx
je 0x1800169a5
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1800169a5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1800169a5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x1800169e1
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800169dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016a50
call fcn.180068874
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x180016a2b
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180016a2b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180016a2b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180068380
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.18006e874
nop
lea rcx, [rsp + 0x40]
call fcn.1800271e0
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180023cc0
mov rcx, rax
call fcn.180013350
int3
Function at 0x18001f820
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18001f882
xor eax, eax
mov qword [0x180133060], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x18001f6c0]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
mov qword [rsp + 0x30], rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x18001f873
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x38
ret
mov eax, 1
add rsp, 0x38
ret

Function at 0x18001fca0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x18001fcc4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x18001fd52
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18001fd20
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x18001fd20
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1800939e0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18001fd3d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18001fd45
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x18001fce1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x18001fe30
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x18001fd69
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18001fd6b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18001fd9d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1800939e0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18001fe2d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18001fdd8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x18001fe0e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.180078e08
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x18001fe2d
cmp rsi, rax
ja 0x18001fde1
test rsi, rsi
je 0x18001fe2d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180078e08
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x18002e730
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
ja 0x18002e8ac
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.1800237e0
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 0x18002e875
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
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 0x18002e7f3
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18002e864
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18002e82c
mov r10, qword [rdx]
cmp r10, rax
je 0x18002e826
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 0x18002e864
cmp r8, rdx
je 0x18002e840
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x18002e886
cmp r8, rdx
jne 0x18002e831
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 0x18002e7c1
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 0x18002e864
lea rcx, str.invalid_hash_bucket_count
call fcn.180044b00
int3
Function at 0x1800308f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x18012c100]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x180030ae8
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.1800446e0
test eax, eax
jne 0x180030b15
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180030b20
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
xor edx, edx
mov r8d, 0x120
lea rcx, [rsp + 0x50]
call fcn.180094120
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + 8]
cmp byte [rdi + 0x20], r14b
je 0x180030a7c
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x180030a7c
test r8, r8
je 0x1800309da
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x1800309fd
mov ebp, 7
jmp 0x180030a18
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov r8, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
cmp r8, rcx
jbe 0x180030a42
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsp + 0x60]
cmp r8, rcx
jbe 0x180030aa0
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x180030aa0
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x180030ae0
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180030ada
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180030b0f
call fcn.180068874
nop
mov rcx, rbx
call fcn.180044708
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180068380
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18006e874
nop
mov ecx, 5
call fcn.1800449f4
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1800449f4
int3