joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400136c4
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x1400f3080]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rdi, str.BlackBoneDrv7.sys
xor edx, edx
lea ecx, [rdx + 0xa]
xor r9d, r9d
call fcn.1400135d4
xor r14d, r14d
test al, al
je 0x140013722
lea rdi, str.BlackBoneDrv10.sys
mov ebx, 0x96
jmp 0x14001376a
mov edx, 3
lea esi, [rdx + 3]
mov ecx, esi
xor r9d, r9d
call fcn.1400135d4
test al, al
je 0x140013746
lea rdi, str.BlackBoneDrv81.sys
mov ebx, 0x95
jmp 0x14001376a
mov ebx, 0x8e
mov edx, 2
mov ecx, esi
xor r9d, r9d
call fcn.1400135d4
test al, al
je 0x14001376a
lea rdi, str.BlackBoneDrv8.sys
mov ebx, 0x93
lea r8, str.Driver
mov rdx, rbx
xor ecx, ecx
push rbx
call 0x14022bb65
mov rbx, rax
test rax, rax
je 0x1400138a5
mov rdx, rax
xor ecx, ecx
push rax
call 0x1403dfaa1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
lea rcx, [rbp + 0x27]
call fcn.140025590
nop
mov r8d, 1
lea rdx, [0x1400d4ed8]
mov rcx, rax
call fcn.140009530
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x1400137e9
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.140009530
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
lea rcx, [rbp - 0x19]
call fcn.140004c00
nop
lea rcx, [rbp + 7]
call fcn.140004c00
nop
lea rcx, [rbp + 0x27]
call fcn.140004c00
cmp rdi, 0xffffffffffffffff
je 0x1400138a5
mov dword [rbp - 0x29], r14d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x29]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14006bb00
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400138d0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400f3080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rsi, str.BlackBoneDrv7.sys
xor edx, edx
lea ecx, [rdx + 0xa]
xor r9d, r9d
call fcn.1400135d4
xor edi, edi
test al, al
je 0x140013924
lea rbx, str.BlackBoneDrv10.sys
jmp 0x14001395f
mov edx, 3
lea ebx, [rdx + 3]
mov ecx, ebx
xor r9d, r9d
call fcn.1400135d4
test al, al
je 0x140013943
lea rbx, str.BlackBoneDrv81.sys
jmp 0x14001395f
xor r9d, r9d
mov dx, 2
movzx ecx, bx
call fcn.1400135d4
lea rbx, str.BlackBoneDrv8.sys
test al, al
cmove rbx, rsi
lea rcx, [rbp + 0x2f]
call fcn.140025590
nop
mov r8d, 1
lea rdx, [0x1400d4ed8]
mov rcx, rax
call fcn.140009530
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], rdi
mov esi, 7
mov qword [rax + 0x18], rsi
mov word [rax], di
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], di
jne 0x1400139a9
mov rdx, rbx
lea rcx, [rbp + 0xf]
call fcn.140009530
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rsi
mov word [rax], di
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x11]
call fcn.140004c00
nop
lea rcx, [rbp + 0xf]
call fcn.140004c00
nop
lea rcx, [rbp + 0x2f]
call fcn.140004c00
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14006bb00
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400168d4
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov edx, 0x8b
call fcn.1400127cc
nop
lea rax, vtable.DlgWait.0
mov qword [rsi], rax
mov qword [rsi + 0x88], rbx
mov qword [rsi + 0x90], rdi
mov ecx, 0x10
call fcn.14006bb2c
mov qword [rax], rsi
lea rcx, [0x140016b08]
mov qword [rax + 8], rcx
mov qword [rsp + 0x58], rax
lea rbx, [rsi + 0xa0]
mov qword [rsp + 0x28], rbx
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140016b90]
xor edx, edx
xor ecx, ecx
call fcn.140096b54
mov qword [rsi + 0x98], rax
test rax, rax
je 0x1400169a5
mov dword [rsi + 0xa8], edi
lea rcx, [rsi + 0x70]
mov eax, 0x3fa
mov word [rsp + 0x58], ax
lea rdx, [rsp + 0x58]
call fcn.140015548
lea rcx, [0x14001688c]
mov qword [rax], rcx
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], edi
mov ecx, 6
call fcn.14006a62c
int3

Function at 0x140016c1c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
mov byte [0x1400f8b38], 1
xorps xmm0, xmm0
mov qword [0x1400f8b30], rbx
lea rdx, [0x1400cbc14]
mov qword [0x1400f8b3c], rbx
lea rcx, [0x1400f8b60]
mov qword [0x1400f8b48], rbx
movdqa xmmword [0x1400f8b50], xmm0
lea rdi, [0x1400f8b30]
mov qword [0x1400f8b70], rbx
mov word [0x1400f8b60], bx
mov qword [0x1400f8b78], 7
call fcn.140004c64
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov r9, rdi
mov qword [0x1400f8b50], rcx
lea r8, [0x140016d84]
mov qword [0x1400f8b80], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x48]
mov qword [0x1400f8b48], rax
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x140016dbc
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1400f3080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x38], xmm0
xor esi, esi
mov word [rsp + 0x28], si
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
lea r8, [r11 - 0x30]
lea rdx, [r11 - 0x50]
call fcn.140016f3c
mov eax, dword [rbx + 0xc]
test al, 2
je 0x140016e2e
lea r8d, [rsi + 0x47]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140016e78
mov eax, dword [rbx + 0xc]
test al, 1
je 0x140016e42
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140016e78
mov rdi, qword [rbx + 0x50]
test rdi, rdi
je 0x140016e65
lea rcx, [rsp + 0x28]
call fcn.14000424c
mov r9b, 1
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call rdi
mov qword [rbx + 0x18], rsi
mov ecx, 0x1337
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140016e78
Capabilities:
Create process memory minidump

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
cmp qword [rdx + 0x18], 8
mov esi, r8d
mov rax, rdx
mov rbx, rcx
jb 0x140016e9a
mov rax, qword [rdx]
and qword [rsp + 0x30], 0
xor r9d, r9d
and dword [rsp + 0x28], 0
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [rbx + 0x10]
mov rdi, rax
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x44], rcx
mov dword [rsp + 0x4c], 1
cmp rax, 0xffffffffffffffff
je 0x140016f29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
and qword [rsp + 0x28], 0
mov r9d, esi
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, rax
mov edx, ebx
call qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400196a8
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
xor eax, eax
mov rbx, rdx
mov edx, dword [rdx + 0xa4]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
mov rdi, rcx
movups xmmword [rsp + 0x50], xmm0
test edx, edx
jne 0x1400196ed
cmp dword [rbx + 0xc0], eax
jne 0x1400196ed
mov eax, dword [rbx + 0x98]
mov dword [rbx + 0xc0], eax
lea r10, [rbx + 0x78]
cmp qword [r10 + 0x18], 8
jb 0x1400196fb
mov r10, qword [r10]
lea r9, [rbx + 0x58]
cmp qword [r9 + 0x18], 8
jb 0x140019709
mov r9, qword [r9]
movzx eax, byte [rbx + 0xb4]
movzx ecx, byte [rbx + 0xb5]
movzx r8d, byte [rbx + 0xb6]
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x40], r9
mov r9d, dword [rbx + 0xc0]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 0x9c]
mov dword [rsp + 0x30], ecx
lea rcx, str.Injection_initiated._Mode:__d__process_type:__d__pid:__d__mmap_flags:_0x_X__erasePE:__d__unlink:__d__thread_hijack:__d__init_routine:__s__init_arg:__ls
mov dword [rsp + 0x28], r8d
mov r8d, dword [rbx + 0xa0]
mov dword [rsp + 0x20], eax
call fcn.140017c14
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.1400180a4
mov esi, eax
test eax, eax
jne 0x140019851
mov ecx, dword [rbx + 0xa8]
test ecx, ecx
je 0x140019784
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbp, qword [rbx + 0xd0]
mov r14, qword [rbx + 0xc8]
jmp 0x1400197b8
mov r8, qword [r14]
mov rdx, rbx
mov rcx, rdi
call fcn.140019868
mov ecx, dword [rbx + 0xac]
or esi, eax
test ecx, ecx
je 0x1400197b4
call qword [sym.imp.KERNEL32.dll_Sleep]
add r14, 0x10
cmp r14, rbp
jne 0x140019794
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400197dc
test esi, esi
jne 0x1400197d6
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400197ec
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x140019840
test byte [rbx + 0x9c], 0x10
je 0x140019840
mov eax, dword [rbx + 0xa4]
cmp eax, 1
je 0x140019809
cmp eax, 4
jne 0x140019840
mov rdx, qword [rdi + 0x368]
lea rcx, [rdi + 0x360]
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x98], eax
cmp rdx, qword [rdi + 0x370]
je 0x140019833
mov dword [rdx], eax
add qword [rcx + 8], 4
jmp 0x140019840
lea r8, [rsp + 0x98]
call fcn.14001b3e4
lea rcx, [rdi + 8]
cmp qword [rcx], 0
je 0x14001984f
call fcn.140031e50
mov eax, esi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14001d3f0
Capabilities:
Accept command line arguments
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x858]
sub rsp, 0x940
mov rax, qword [0x1400f3080]
xor rax, rsp
mov qword [rbp + 0x830], rax
call fcn.140016cc4
lea rcx, [rsp + 0x68]
mov rbx, rax
call fcn.140025590
xor r12d, r12d
cmp qword [rbx], r12
jne 0x14001d473
lea rcx, [rbx + 0x30]
mov dword [rbx + 0xc], 2
mov rdx, rax
mov qword [rbx + 0x28], r12
call fcn.14001725c
lea rax, [0x14001ccf8]
lea rcx, [0x140016d2c]
mov qword [rbx + 0x50], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov qword [rbx], rax
lea rcx, [rsp + 0x68]
call fcn.140004c00
call fcn.14001ce34
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
mov dword [rsp + 0x40], r12d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, 1
mov r15, rax
mov ebx, esi
cmp dword [rsp + 0x40], esi
jle 0x14001d50e
lea edi, [rsi + 1]
lea r14, [rax + 8]
mov rcx, qword [r14]
lea rdx, str.__load
call fcn.140096c74
test eax, eax
jne 0x14001d4e3
cmp edi, dword [rsp + 0x40]
jl 0x14001d5ba
mov rcx, qword [r14]
lea rdx, str.__run
call fcn.140096c74
test eax, eax
jne 0x14001d500
cmp edi, dword [rsp + 0x40]
jl 0x14001d5d1
add ebx, esi
add edi, esi
add r14, 8
cmp ebx, dword [rsp + 0x40]
jl 0x14001d4c6
mov esi, r12d
lea r8, [rsp + 0x48]
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.14001d95c
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x68], xmm0
lea r14, [0x1400cc0ec]
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x68], r12w
lea rbx, [0x1400cc10c]
cmovne rbx, r14
call fcn.1400134e8
movzx ecx, word [rdi + 0x120]
movzx r9d, byte [rdi + 0x123]
mov r8d, dword [rdi + 0x11c]
mov eax, dword [rax + 8]
mov edx, dword [rdi + 0x118]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ecx
lea rcx, str.Started_on_Windows__d._d._d._d__s._Driver_status:_0x_X
call fcn.140017c8c
lea rcx, [rbp - 0x60]
cmp esi, 2
je 0x14001d5ed
xor edx, edx
mov r8d, 0x8d
call fcn.140012998
mov rbx, rax
jmp 0x14001d602
movsxd rdx, ebx
lea rcx, [rsp + 0x48]
mov rdx, qword [r15 + rdx*8 + 8]
call fcn.140004c64
jmp 0x14001d511
movsxd rdx, ebx
lea rcx, [rsp + 0x48]
mov rdx, qword [r15 + rdx*8 + 8]
call fcn.140004c64
mov esi, 2
jmp 0x14001d511
lea rdx, [rbp + 0x30]
call fcn.140020464
lea rcx, [rbp - 0x60]
call fcn.140020b5c
mov ebx, r12d
lea rcx, [rbp - 0x60]
call fcn.14001de30
lea rcx, [rsp + 0x48]
call fcn.140004c00
mov eax, ebx
mov rcx, qword [rbp + 0x830]
xor rcx, rsp
call fcn.14006bb00
lea r11, [rsp + 0x940]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001eb84
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rdi, rcx
lea rbx, [rcx + 0x538]
mov qword [rsp + 0x70], rbx
mov rcx, rbx
call fcn.14006aa98
test eax, eax
jne 0x14001ec42
lea ecx, [rax + 0x10]
call fcn.14006bb2c
mov qword [rax], rdi
lea rcx, [fcn.140020b5c]
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140016b90]
xor edx, edx
xor ecx, ecx
call fcn.140096b54
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001ec4a
cmp dword [rsp + 0x58], 0
je 0x14001ec5a
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14006a730
test eax, eax
jne 0x14001ec65
mov rcx, rbx
call fcn.14006aabc
test eax, eax
jne 0x14001ec3a
mov eax, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov ecx, eax
call fcn.14006a5f0
nop
mov ecx, eax
call fcn.14006a5f0
nop
and dword [rsp + 0x58], 0
mov ecx, 6
call fcn.14006a62c
nop
mov ecx, 1
call fcn.14006a62c
int3
mov ecx, eax
call fcn.14006a5f0
int3

Function at 0x1400235f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, rdx
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
lea r14, [rcx + 8]
and qword [r14], 0
and qword [r14 + 8], 0
mov ecx, 0x48
call fcn.14006bb2c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r14], rax
lea rcx, [rsi + 0x18]
mov qword [rsp + 0x88], rax
mov rdx, qword [rdi + 0x20]
sub rdx, qword [rdi + 0x18]
sar rdx, 3
and qword [rcx], 0
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
lea r8, [rsp + 0x88]
call fcn.140023b38
nop
mov rax, qword [rdi + 0x30]
mov qword [rsi + 0x30], rax
mov rax, qword [rdi + 0x38]
mov qword [rsi + 0x38], rax
mov rdi, qword [rdi + 8]
mov rbx, qword [rdi]
jmp 0x140023706
lea r9, [rbx + 0x10]
mov qword [rsp + 0x38], r14
and qword [rsp + 0x40], 0
mov r10, qword [r9 + 0x10]
mov r8, r9
cmp qword [r9 + 0x18], 8
jb 0x1400236a6
mov r8, qword [r9]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r10, r10
je 0x1400236d5
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r11, 0x100000001b3
imul rcx, r11
inc rdx
cmp rdx, r10
jb 0x1400236b7
movsxd r8, dword [r9 + 0x20]
xor r8, rcx
mov qword [rsp + 0x28], r9
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.140023c88
nop
lea rcx, [rsp + 0x38]
call fcn.140023c0c
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140023686
mov rax, rsi
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
Function at 0x140023898
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [r8 + 0x18], 8
mov rsi, rdx
mov r11, qword [r8 + 0x10]
mov r10, r8
jb 0x1400238c5
mov r10, qword [r8]
xor r9d, r9d
movabs rdx, 0xcbf29ce484222325
add r11, r11
je 0x1400238f5
movzx eax, byte [r9 + r10]
movabs rbx, 0x100000001b3
xor rdx, rax
inc r9
imul rdx, rbx
cmp r9, r11
jb 0x1400238d7
movsxd r14, dword [r8 + 0x20]
mov rbp, qword [rcx + 0x18]
xor r14, rdx
and r14, qword [rcx + 0x30]
mov rbx, qword [rcx + 8]
add r14, r14
mov rdi, qword [rbp + r14*8]
mov qword [rsi], rdi
cmp rdi, rbx
je 0x140023939
jmp 0x140023927
cmp rdi, qword [rbp + r14*8 + 8]
je 0x140023936
mov rdi, qword [rdi]
mov qword [rsi], rdi
lea rdx, [rdi + 0x10]
call fcn.140023958
test al, al
jne 0x14002391a
jmp 0x140023939
mov qword [rsi], rbx
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400239d4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp rdx, r8
je 0x140023aa4
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea rbp, [rcx + 8]
lea r9, [rbx + 0x10]
mov qword [rsp + 0x38], rbp
and qword [rsp + 0x40], 0
mov r10, qword [r9 + 0x10]
mov r8, r9
cmp qword [r9 + 0x18], 8
jb 0x140023a26
mov r8, qword [r9]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r10, r10
je 0x140023a55
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r11, 0x100000001b3
imul rcx, r11
inc rdx
cmp rdx, r10
jb 0x140023a37
movsxd r8, dword [r9 + 0x20]
xor r8, rcx
mov qword [rsp + 0x28], r9
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.140023c88
nop
lea rcx, [rsp + 0x38]
call fcn.140023c0c
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140023a06
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140023f30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov r13, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x140024158
lea r12, [r13 + 0x18]
mov edi, 1
lea rax, [rdx - 1]
or rax, 1
bsr rcx, rax
mov rax, qword [r13 + 8]
mov qword [r11 + 8], rax
inc ecx
mov rax, qword [r12 + 0x10]
sub rax, qword [r12]
shl rdi, cl
sar rax, 3
lea rbx, [rdi + rdi]
cmp rbx, rax
jbe 0x140023fc4
movabs rax, 0x1fffffffffffffff
cmp rbx, rax
ja 0x140024152
mov rdx, rbx
mov rcx, r12
call fcn.140024468
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, r12
call fcn.1400241f8
mov rbp, qword [rsp + 0x50]
lea rax, [rdi - 1]
mov qword [r13 + 0x38], rdi
mov qword [r13 + 0x30], rax
mov rbx, qword [r13 + 8]
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rbp
je 0x140024103
mov rdi, qword [rdi]
lea rdx, [rbx + 0x10]
cmp qword [rdx + 0x18], 8
mov r9, rdx
mov r10, qword [rdx + 0x10]
jb 0x140024010
mov r9, qword [rdx]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x140024040
movzx eax, byte [r8 + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r11
cmp r8, r10
jb 0x140024022
movsxd r14, dword [rdx + 0x20]
mov r15, qword [r12]
xor r14, rcx
and r14, qword [r13 + 0x30]
add r14, r14
cmp qword [r15 + r14*8], rbp
jne 0x140024066
mov qword [r15 + r14*8], rbx
mov qword [r15 + r14*8 + 8], rbx
jmp 0x1400240f7
mov rsi, qword [r15 + r14*8 + 8]
lea r8, [rsi + 0x10]
call fcn.140023958
test al, al
jne 0x1400240c0
mov rax, qword [rsi]
cmp rax, rbx
je 0x14002405c
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rdx, qword [rax + 8]
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
mov qword [rbx + 8], rdx
jmp 0x14002405c
mov rsi, qword [rsi + 8]
lea r8, [rsi + 0x10]
call fcn.140023958
test al, al
je 0x140024120
cmp qword [r15 + r14*8], rsi
jne 0x1400240af
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rsi
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov rax, qword [rdi + 8]
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], rax
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
mov qword [rbx + 8], rcx
mov qword [r15 + r14*8], rbx
mov rbx, rdi
cmp rdi, rbp
jne 0x140023ff8
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rdx, qword [rsi]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rax, qword [rdi + 8]
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
mov qword [rbx + 8], rcx
jmp 0x1400240f7
call fcn.140009280
int3
lea rcx, str.invalid_hash_bucket_count
call fcn.1400695f8
int3
Function at 0x140025d30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x140025d3e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x140025e20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0x20
mov r12, qword [r8 + 0x18]
mov r14, r8
mov rbp, qword [r8 + 0x10]
mov r15, rdx
mov rsi, rcx
cmp r12, 0x10
jb 0x140025e4b
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test rbp, rbp
je 0x140025e84
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rbp
jb 0x140025e70
mov rcx, qword [rsi + 0x30]
mov rax, qword [rsi + 0x18]
and rcx, rdx
mov rsi, qword [rsi + 8]
add rcx, rcx
mov rbx, qword [rax + rcx*8]
cmp rbx, rsi
je 0x140025f08
mov qword [rsp + 0x50], rdi
mov rdi, qword [rax + rcx*8 + 8]
nop dword [rax]
lea rcx, [rbx + 0x10]
mov rdx, r14
cmp r12, 0x10
jb 0x140025ec0
mov rdx, qword [r14]
cmp qword [rcx + 0x18], 0x10
mov r8, qword [rcx + 0x10]
jb 0x140025ece
mov rcx, qword [rcx]
cmp r8, rbp
jne 0x140025edc
call fcn.14008a610
test eax, eax
je 0x140025ee6
cmp rbx, rdi
je 0x140025f03
mov rbx, qword [rbx]
jmp 0x140025eb0
mov qword [r15], rbx
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rax, r15
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
mov qword [r15], rsi
jmp 0x140025ee9
mov qword [r15], rbx
jmp 0x140025eee