joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002950
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180128080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [rsp + 0xa0]
mov r14, r9
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp rsi, 6
jae 0x18000299f
mov byte [rsp + 0x20], 6
mov qword [rsp + 0x28], r8
movups xmm0, xmmword [rsp + 0x20]
mov byte [rcx + 0x10], 0
movups xmmword [rcx], xmm0
jmp 0x180002a2c
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180002a16
cmp rsi, 6
jbe 0x1800029d0
mov r8, rsi
mov edx, 0x90
mov rcx, rdi
call fcn.180091b20
mov qword [r14], rbp
mov eax, r14d
sub eax, edi
mov word [rsp + 0x34], 0x25ff
sub eax, 6
mov dword [rsp + 0x36], eax
mov eax, dword [rsp + 0x34]
mov dword [rdi], eax
movzx eax, word [rsp + 0x38]
mov word [rdi + 4], ax
mov byte [rbx + 0x10], 1
test rdi, rdi
je 0x180002a2c
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x34]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x180002a2c
mov byte [rsp + 0x20], 5
mov qword [rsp + 0x28], rdi
movups xmm0, xmmword [rsp + 0x20]
mov byte [rbx + 0x10], 0
movups xmmword [rbx], xmm0
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180064f40
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180002a50
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180128080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp r9, 5
jae 0x180002a98
mov byte [rsp + 0x20], 6
mov qword [rsp + 0x28], r8
movups xmm0, xmmword [rsp + 0x20]
mov byte [rcx + 0x10], 0
movups xmmword [rcx], xmm0
jmp 0x180002b1c
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180002b06
cmp rbp, 5
jbe 0x180002ac9
mov r8, rbp
mov edx, 0x90
mov rcx, rdi
call fcn.180091b20
sub esi, edi
mov byte [rsp + 0x34], 0xe9
sub esi, 5
mov dword [rsp + 0x35], esi
mov eax, dword [rsp + 0x34]
mov dword [rdi], eax
movzx eax, byte [rsp + 0x38]
mov byte [rdi + 4], al
mov byte [rbx + 0x10], 1
test rdi, rdi
je 0x180002b1c
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x34]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x180002b1c
mov byte [rsp + 0x20], 5
mov qword [rsp + 0x28], rdi
movups xmm0, xmmword [rsp + 0x20]
mov byte [rbx + 0x10], 0
movups xmmword [rbx], xmm0
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180064f40
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x180004350
Capabilities:
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 [0x180128080]
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 0x1800043df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x180004495
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x1800043a0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x1800043a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1800043a0
test eax, eax
je 0x18000442a
test bpl, bpl
jne 0x18000442a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1800043a0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.180091b20
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x80], 0x10000b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1800043a0
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x18000448e
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]
inc esi
jmp 0x1800043a0
xor bpl, bpl
test esi, esi
jne 0x180004390
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x1800044af
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 0x1800044f1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x18000451e
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x1800044b2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x1800044b2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1800044b2
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.180064f40
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 0x180004fe0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x180128080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rcx + 8]
lea r9, [rsp + 0x20]
mov rbp, rcx
mov r8d, 0x40
mov rbx, qword [rax + 0x38]
sub rbx, qword [rax + 0x30]
mov rdi, qword [rax]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180005069
mov r8, qword [rbp + 8]
mov qword [rsp + 0x68], rsi
mov esi, dword [rsp + 0x20]
mov rcx, qword [r8]
mov rdx, qword [r8 + 0x30]
mov r8, qword [r8 + 0x38]
sub r8, rdx
call fcn.1800913e0
test rdi, rdi
je 0x180005064
lea r9, [rsp + 0x20]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180064f40
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x180008680
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 0x180008779
mov rdx, qword [rcx + 0x18]
lea rax, [rdx + 1]
cmp rax, qword [rcx + 0x20]
jbe 0x1800086c5
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 [0x18010ce0c]
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 0x180008745
mov r8, qword [rsi + 0x18]
lea rax, [r8 - 1]
add rax, rcx
cmp rax, qword [rbx + 0x20]
jbe 0x180008717
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.1800913e0
mov rax, qword [rsi + 0x18]
dec rax
add qword [rbx + 0x18], rax
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x38]
mov byte [rcx + rax - 1], 0
movabs rdx, 0x8000000000000000
cmp rdi, rdx
je 0x18000875e
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.18000e3a0
jmp 0x180008702
test r9b, r9b
je 0x1800087a4
mov rdx, qword [rcx + 0x18]
lea rax, [rdx + 1]
cmp rax, qword [rcx + 0x20]
ja 0x1800086b0
movzx eax, word [0x18010ce08]
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.18000e3a0
Function at 0x180013750
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 [0x180128080]
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 0x18001379b
test sil, sil
je 0x180013887
movups xmm0, xmmword [r9]
add rcx, 8
cmp qword [rbx + 0x20], 0xf
movups xmmword [rsp + 0x48], xmm0
jbe 0x1800137b3
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.1800445b4
mov ecx, dword [0x18012df50]
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, 0x10
mov rdx, qword [rax + rcx*8]
mov ecx, 0xc
mov eax, dword [rcx + rdx]
test al, 1
jne 0x180013828
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 0x18001382c
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.1800150f0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180064f40
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 0x180015f50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x180128080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x20], rcx
call fcn.1800405e8
test eax, eax
jne 0x180016135
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180016125
mov r8, qword [rbx + 0x1d8]
test r8, r8
je 0x18001608a
add r8, 8
mov r9, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x180015fbf
mov rdx, qword [r8]
movabs rsi, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x180015ff3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor rsi, rax
imul rsi, r10
inc rcx
cmp rcx, r9
jb 0x180015fe0
mov r9, rsi
lea rdx, [rsp + 0x28]
lea rcx, [rbx + 0xf0]
call fcn.18002d320
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x18001608a
mov rcx, qword [rbx + 0x120]
and rcx, rsi
shl rcx, 4
mov rdx, qword [rbx + 0x108]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x180016050
cmp rax, rdi
jne 0x180016046
mov rax, qword [rbx + 0xf8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x18001605b
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x18001605b
cmp rax, rdi
jne 0x18001605b
mov rax, qword [rdi]
mov qword [rdx], rax
mov rcx, qword [rdi]
dec qword [rbx + 0x100]
mov rax, qword [rdi + 8]
mov qword [rax], rcx
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [rdi + 0x10]
call fcn.18002f9c0
mov edx, 0x40
mov rcx, rdi
call fcn.180065434
mov r8, qword [r14]
test r8, r8
je 0x1800160b6
lea rcx, [rbx + 0xf0]
add r8, 8
lea rdx, [rsp + 0x38]
call fcn.180024dc0
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, r14
call fcn.18001eaf0
mov rdx, r14
lea rcx, [rbx + 0x1d8]
call fcn.18001ea70
nop
mov rcx, rbx
call fcn.180040610
nop
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x180016104
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180016104
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180016104
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180064f40
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1800408fc
int3
mov ecx, 5
call fcn.1800408fc
int3
Function at 0x1800161d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x180128080]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, rdx
mov rsi, rcx
mov qword [r11 - 0x38], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [r11 - 0x30]
call fcn.18001fac0
nop
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0xf
cmova rdx, qword [rsp + 0x88]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x98]
test r8, r8
je 0x180016263
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180016250
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0xf0]
call fcn.18002d320
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x18001628c
mov rcx, qword [rsi + 0xf8]
lea r8, [rsp + 0x88]
cmp rcx, qword [rsi + 0xf8]
jne 0x180016381
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0xf0]
call fcn.180024dc0
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, rdi
call fcn.18001ea70
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x180016301
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800162fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001637b
call fcn.180065434
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0xf
mov byte [rsp + 0x88], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x180016356
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180016356
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180016356
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.180064f40
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.18006c14c
nop
lea rcx, [rsp + 0x60]
call fcn.180023e30
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180020b80
mov rcx, rax
call fcn.180012da0
int3
Function at 0x18001cb10
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18001cb72
xor eax, eax
mov qword [0x18012ecd0], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x18001c9b0]
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 0x18001cb63
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 0x18001cf80
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x18001cfa2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x18001d01c
mov rdi, r14
mov rcx, rbx
call fcn.1800204f0
test rax, rax
jle 0x18001cff4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1800913e0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18001d00c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18001d014
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18001cfb6
sub r14, rdi
jmp 0x18001d0ff
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18001d033
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18001d035
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18001d067
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1800913e0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18001d0fc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18001d0a2
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 rbp, 0xfff
jbe 0x18001d0dd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.180076708
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18001d0fc
cmp rbp, rax
ja 0x18001d0b0
test rbp, rbp
je 0x18001d0fc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.180076708
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x18002acf0
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 0x18002ae6b
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.1800206a0
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 0x18002ae34
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rbp
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x18002adb0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18002ae23
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18002ade9
mov r10, qword [rdx]
cmp r10, rax
je 0x18002ade3
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 0x18002ae23
cmp r8, rdx
je 0x18002adff
nop
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x18002ae45
cmp r8, rdx
jne 0x18002adf0
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 0x18002ad81
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 0x18002ae23
lea rcx, str.invalid_hash_bucket_count
call fcn.180040ac8
int3
Function at 0x18002cef0
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 [0x180128080]
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 0x18002d0e6
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.1800405e8
test eax, eax
jne 0x18002d113
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18002d11e
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.180091b20
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 0x18002d07a
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x18002d07a
test r8, r8
je 0x18002cfda
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 0x18002cffb
lea ebp, [rax + 7]
jmp 0x18002d016
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 0x18002d040
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 0x18002d09e
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 0x18002d09e
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 0x18002d0de
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d0d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002d10d
call fcn.180065434
nop
mov rcx, rbx
call fcn.180040610
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180064f40
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18006c14c
nop
mov ecx, 5
call fcn.1800408fc
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1800408fc
int3