joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001d80
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140001da2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001db1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140001dd4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001dd6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001e12
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140001eae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001e4d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140001e8e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140001eae
cmp rbx, rax
ja 0x140001e60
test rbx, rbx
je 0x140001eae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140002310
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000233d
xor eax, eax
jmp 0x1400024a9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002377
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002377
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400024a9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000249c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400023ba
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400023e5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400024a1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002454
sub eax, 1
je 0x140002454
cmp eax, 2
jne 0x14000249c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400024a1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002482
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000249c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400024a1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002f60
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002810
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400028e3
cmp byte [rcx + 0x71], 0
je 0x1400028e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400028df
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400028a4
sub eax, 1
je 0x1400028a8
cmp eax, 2
jne 0x1400028df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002f60
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400028d6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400028df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000288c
xor al, al
jmp 0x14000288c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002f60
add rsp, 0x60
pop rbx
ret

Function at 0x1400038e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000392a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000392a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000392a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000392a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000392a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000392c
xor al, al
add rsp, 0x28
ret
Function at 0x14075b4a0
Capabilities:
Terminate process

Disassembly:
xchg dword [rdx + rsi*2], ebx
mov dh, 0xc6
xchg dword [rdx + rsi*2], ebx
enter 0xffffffffffffc6c6, 0xffffffffffffffc6
invalid
cld
pop r11
jmp 0x14075b4ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14075b4bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14075b4a5
lea eax, [rcx + 1]
jmp 0x14075b4cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14075b4de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14075b4c4
sub eax, 3
jb 0x14075b4fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14075b54d
sar eax, 1
movsxd rbp, eax
jb 0x14075b534
jmp 0x14075b50c
add ebx, ebx
jne 0x14075b50a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14075b534
inc ecx
add ebx, ebx
jne 0x14075b51a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14075b534
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14075b52d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14075b51c
add ecx, 2
jmp 0x14075b539
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14075b462
jmp 0x14075b4ad
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x758000]
mov eax, dword [rdi]
or eax, eax
je 0x14075b5b9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x75b1e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14075b55d
jns 0x14075b592
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14075b59c
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14075b5b3
mov qword [rbx], rax
add rbx, 8
jmp 0x14075b57d
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14075b5fd
cmp al, 0xef
ja 0x14075b5e5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14075b5c5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14075b5d4
mov eax, dword [rdi]
add rdi, 4
jmp 0x14075b5d4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x24f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14075b651
sub rsp, 0xffffffffffffff80
jmp 0x1406f0dfc
Function at 0x140004230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400042a5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400042a5
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140004295
nop
cmp rbx, rcx
jae 0x1400042a5
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140004280
cmp rbx, rcx
jae 0x1400042a5
cmp word [rbx], 0
je 0x1400042a5
mov rax, rbx
jmp 0x1400042a7
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140013290
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x140098010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp - 0x70], eax
mov r9, 0xffffffffffffffff
lea r8, str.bd::process_broker::client::this_process_should_be_started_by_broker
mov edx, 0x102
lea rcx, [rbp - 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1400802d4]
mov edx, 0x104
lea rcx, [rbp - 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.bd::process_broker::client::this_process_should_be_started_by_broker
mov edx, 0x104
lea rcx, [rbp + 0x19c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x14009c6fc]
mov eax, dword [0x14009c6f8]
xor ebx, ebx
add ecx, eax
je 0x1400133ca
mov dword [rsp + 0x68], ebx
call fcn.140002930
mov qword [rsp + 0x60], rax
lock inc dword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x140013354
call fcn.140002930
mov qword [rsp + 0x60], rax
lock inc dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x70], 0x20
mov edx, 1
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x19c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x70]
movsx edx, dx
call fcn.140001eb0
mov qword [rsp + 0x60], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x68], eax
cmp eax, 1
js 0x1400133c5
call fcn.140002cc0
mov eax, 0xffffffff
lock xadd dword [rsp + 0x68], eax
cmp eax, 1
jns 0x1400133b0
lock inc dword [rsp + 0x68]
call fcn.140012b40
test al, al
je 0x140013473
mov dword [rbp - 0x7c], ebx
mov word [rbp - 0x78], 0x500
mov qword [rsp + 0x78], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp - 0x7c]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140013453
mov dword [rbp - 0x80], ebx
lea r8, [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rbp - 0x80]
test eax, eax
cmove ecx, ebx
mov dword [rbp - 0x80], ecx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp - 0x80], 1
je 0x140013473
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.140010d70
test al, al
sete bl
lea rcx, [rbp - 0x70]
call fcn.140001f10
movzx eax, bl
jmp 0x14001347e
lea rcx, [rbp - 0x70]
call fcn.140001f10
xor al, al
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14003edb0
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4c0
pop rbp
ret
Function at 0x14001bf10
Capabilities:
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r10, rcx
mov rdx, qword [rdx + 0x10]
mov r8d, 0x1505
mov r9, qword [rdx + 0x10]
movzx eax, word [r9]
test ax, ax
je 0x14001bf57
nop dword [rax]
nop word [rax + rax]
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x14001bf40
mov rcx, qword [rcx + 0x38]
and rcx, r8
mov r8, qword [r10 + 0x20]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x14001bfb0
cmp rax, rdx
jne 0x14001bf95
mov rax, qword [r10 + 0x10]
lea rcx, [r10 + 0x10]
mov qword [r8], rax
mov qword [r8 + 8], rax
call fcn.1400216c0
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret
mov rax, qword [rdx + 8]
lea rcx, [r10 + 0x10]
mov qword [r8 + 8], rax
call fcn.1400216c0
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret
cmp rax, rdx
jne 0x14001bfbb
mov rax, qword [rdx]
mov qword [r8], rax
lea rcx, [r10 + 0x10]
call fcn.1400216c0
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret

Function at 0x14001bfd0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rdi, [rcx + 8]
mov ebx, 0x1505
mov rcx, qword [rdx]
movzx eax, word [rcx]
test ax, ax
je 0x14001c016
nop dword [rax]
nop word [rax + rax]
imul rbx, rbx, 0x21
movzx eax, ax
lea rcx, [rcx + 2]
add rbx, rax
movzx eax, word [rcx]
test ax, ax
jne 0x14001c000
mov r8, rdx
mov r9, rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140027b40
xor esi, esi
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14001c0a2
mov rcx, qword [rdi + 0x30]
mov r8, qword [rdi + 0x18]
and rcx, rbx
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x14001c087
cmp rax, rdx
jne 0x14001c06f
mov rax, qword [rdi + 8]
mov qword [r8], rax
mov qword [r8 + 8], rax
lea rcx, [rdi + 8]
call fcn.1400216c0
mov ecx, 1
jmp 0x14001c0a5
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
lea rcx, [rdi + 8]
call fcn.1400216c0
mov ecx, 1
jmp 0x14001c0a5
cmp rax, rdx
jne 0x14001c092
mov rax, qword [rdx]
mov qword [r8], rax
lea rcx, [rdi + 8]
call fcn.1400216c0
mov ecx, 1
jmp 0x14001c0a5
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
test rcx, rcx
mov eax, 0x490
cmovne eax, esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14001c0c0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov r8, rdx
mov rdi, rcx
mov rdx, qword [rdx]
mov r9d, 0x1505
movzx eax, word [rdx]
test ax, ax
je 0x14001c0f7
imul r9, r9, 0x21
movzx eax, ax
lea rdx, [rdx + 2]
add r9, rax
movzx eax, word [rdx]
test ax, ax
jne 0x14001c0e1
lea rdx, [rsp + 0x20]
add rcx, 8
call fcn.140027b40
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14001c112
mov rcx, qword [rdi + 0x10]
mov rbx, qword [rsp + 0x50]
lea rax, [rcx + 0x18]
xor edx, edx
cmp qword [rdi + 0x10], rcx
cmove rax, rdx
add rsp, 0x30
pop rdi
ret
Function at 0x14001c130
Capabilities:
Hash data using djb2

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, rcx
mov r8, rdx
mov r9d, 0x1505
mov rdx, qword [rdx]
movzx eax, word [rdx]
test ax, ax
je 0x14001c168
imul r9, r9, 0x21
movzx eax, ax
lea rdx, [rdx + 2]
add r9, rax
movzx eax, word [rdx]
test ax, ax
jne 0x14001c152
lea rdx, [rsp + 0x20]
add rcx, 8
call fcn.140027b40
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14001c183
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 0x10], rcx
jne 0x14001c196
mov eax, 0x490
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rcx + 0x18]
xor eax, eax
mov qword [rsi], rcx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001c440
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [rdx]
mov r10d, 0x1505
mov rdx, rdi
movzx eax, word [rdi]
test ax, ax
je 0x14001c486
nop word [rax + rax]
imul r10, r10, 0x21
movzx eax, ax
lea rdx, [rdx + 2]
add r10, rax
movzx eax, word [rdx]
test ax, ax
jne 0x14001c470
and r10, qword [rcx + 0x38]
lea rsi, [rcx + 0x10]
mov rbp, qword [rcx + 0x20]
mov rax, r10
mov rbx, qword [rsi]
add rax, rax
xor r15d, r15d
mov qword [rsp + 0x40], r14
mov r8, qword [rbp + rax*8 + 8]
cmp r8, rbx
je 0x14001c552
mov r11, qword [rbp + rax*8]
lea r14, [0x140080468]
nop dword [rax]
mov rax, qword [r8 + 0x10]
mov r9, r14
test rax, rax
cmovne r9, rax
test rdi, rdi
mov rax, r14
cmovne rax, rdi
sub r9, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r9]
sub edx, ecx
jne 0x14001c4f4
add rax, 2
test ecx, ecx
jne 0x14001c4e0
test edx, edx
je 0x14001c503
cmp r8, r11
je 0x14001c552
mov r8, qword [r8 + 8]
jmp 0x14001c4c0
test r8, r8
je 0x14001c552
add r10, r10
mov rax, qword [rbp + r10*8]
cmp qword [rbp + r10*8 + 8], r8
jne 0x14001c533
cmp rax, r8
jne 0x14001c528
mov qword [rbp + r10*8], rbx
mov qword [rbp + r10*8 + 8], rbx
jmp 0x14001c540
mov rbx, qword [r8 + 8]
mov qword [rbp + r10*8 + 8], rbx
jmp 0x14001c540
cmp rax, r8
jne 0x14001c540
mov rax, qword [r8]
mov qword [rbp + r10*8], rax
mov rdx, r8
mov rcx, rsi
call fcn.1400216c0
mov ecx, 1
jmp 0x14001c555
mov rcx, r15
mov r14, qword [rsp + 0x40]
test rcx, rcx
mov rbx, qword [rsp + 0x48]
mov eax, 0x490
mov rbp, qword [rsp + 0x50]
cmovne eax, r15d
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret

Function at 0x14001c580
Capabilities:
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov r9, qword [rdx]
mov rbx, rcx
add rcx, 8
mov r8d, 0x1505
movzx eax, word [r9]
test ax, ax
je 0x14001c5b7
nop
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x14001c5a0
call fcn.14002df20
cmp qword [rbx + 0x10], rax
je 0x14001c5cc
add rax, 0x18
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14001c5e0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rdx]
mov rdi, rcx
add rcx, 8
mov rbx, r8
mov r8d, 0x1505
movzx eax, word [r9]
test ax, ax
je 0x14001c627
nop word [rax + rax]
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x14001c610
call fcn.14002df20
cmp qword [rdi + 0x10], rax
jne 0x14001c642
mov eax, 0x490
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rax + 0x18]
xor eax, eax
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001c830
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rdx + 0x10]
mov rsi, rdx
mov r10, rcx
mov r8d, 0x1505
mov r9, qword [rbx + 0x10]
movzx eax, word [r9]
test ax, ax
je 0x14001c877
nop dword [rax]
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x14001c860
mov rcx, qword [rcx + 0x38]
mov rdx, qword [r10 + 0x20]
and rcx, r8
shl rcx, 4
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14001c8ae
cmp rax, rbx
jne 0x14001c8a4
mov rax, qword [r10 + 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14001c8b9
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x14001c8b9
cmp rax, rbx
jne 0x14001c8b9
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdi, qword [rbx]
lea rdx, [rbx + 0x10]
dec qword [r10 + 0x18]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
call fcn.14002e870
mov edx, 0x20
mov rcx, rbx
call fcn.14003edd0
mov rbx, qword [rsp + 0x40]
mov qword [rsi + 0x10], rdi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001c900
Capabilities:
Hash data using djb2

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [rdx]
mov rsi, rcx
mov r9d, 0x1505
mov rdx, rdi
movzx eax, word [rdi]
test ax, ax
je 0x14001c938
imul r9, r9, 0x21
movzx eax, ax
lea rdx, [rdx + 2]
add r9, rax
movzx eax, word [rdx]
test ax, ax
jne 0x14001c922
and r9, qword [rcx + 0x38]
xor r15d, r15d
mov rbp, qword [rcx + 0x20]
mov rax, r9
mov r11, qword [rcx + 0x10]
add rax, rax
mov qword [rsp + 0x60], r14
mov rbx, qword [rbp + rax*8 + 8]
cmp rbx, r11
je 0x14001ca23
mov r10, qword [rbp + rax*8]
lea r14, [0x140080468]
nop dword [rax]
mov rax, qword [rbx + 0x10]
mov r8, r14
test rax, rax
cmovne r8, rax
test rdi, rdi
mov rax, r14
cmovne rax, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001c9a4
add rax, 2
test ecx, ecx
jne 0x14001c990
test edx, edx
je 0x14001c9b3
cmp rbx, r10
je 0x14001ca23
mov rbx, qword [rbx + 8]
jmp 0x14001c970
test rbx, rbx
je 0x14001ca23
add r9, r9
mov rax, qword [rbp + r9*8]
cmp qword [rbp + r9*8 + 8], rbx
jne 0x14001c9e3
cmp rax, rbx
jne 0x14001c9d8
mov qword [rbp + r9*8], r11
mov qword [rbp + r9*8 + 8], r11
jmp 0x14001c9f0
mov r11, qword [rbx + 8]
mov qword [rbp + r9*8 + 8], r11
jmp 0x14001c9f0
cmp rax, rbx
jne 0x14001c9f0
mov rax, qword [rbx]
mov qword [rbp + r9*8], rax
mov rdx, qword [rbx]
dec qword [rsi + 0x18]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
lea rdx, [rbx + 0x10]
call fcn.14002e870
mov edx, 0x20
mov rcx, rbx
call fcn.14003edd0
mov ecx, 1
jmp 0x14001ca26
mov rcx, r15
mov r14, qword [rsp + 0x60]
test rcx, rcx
mov eax, 0x490
cmovne eax, r15d
add rsp, 0x20
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14001ca50
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rdx]
mov rdi, rcx
add rcx, 8
mov rbx, r8
mov r8d, 0x1505
movzx eax, word [r9]
test ax, ax
je 0x14001ca97
nop word [rax + rax]
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x14001ca80
call fcn.14002df20
cmp qword [rdi + 0x10], rax
jne 0x14001cab2
mov eax, 0x490
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea rdx, [rax + 0x18]
mov rcx, rbx
call fcn.140025c50
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x14001cf70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x14001cfa0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14001cfc8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001cfca
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14001d023
test ecx, ecx
jle 0x14001d003
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14001d023
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001d023
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret