joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001f4a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18001f67f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001f2e0
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 0x18001f644
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001f5bc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18001f633
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18001f5f9
mov r10, qword [rdx]
cmp r10, rax
je 0x18001f5f3
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 0x18001f633
cmp r9, rdx
je 0x18001f60f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18001f659
cmp r9, rdx
jne 0x18001f600
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 0x18001f540
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x18001f633
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x18001f720
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x48
mov rax, qword [0x18015c5c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor edx, edx
lea rcx, [0x18001f6e0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [0x18015d250]
test rcx, rcx
jne 0x18001f762
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800b5050
add rsp, 0x48
ret
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
mov dword [0x18015d258], eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
mov dword [0x18015d25c], eax
mov rax, qword [0x18015d250]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800b5050
add rsp, 0x48
ret

Function at 0x18001f7e0
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, qword [0x18015d250]
test rax, rax
je fcn.18001f720
ret

Function at 0x180020cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
mov rbx, qword [rsp + 0x60]
mov r12, r9
mov rcx, qword [rsp + 0x50]
mov r13, r8
mov rbp, qword [rsp + 0x58]
mov r15, rdx
mov qword [rsi], r8
mov qword [rbx], rcx
mov rax, qword [rsi]
cmp rax, r9
je 0x180020e55
cmp rcx, rbp
je 0x180020e55
mov r9d, 1
movzx edx, word [r15]
xor dil, dil
movzx ecx, word [rax]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp r9w, dx
jae 0x180020d5c
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x180020e7c
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x180020d73
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x180020d73
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x180020d86
movzx r8d, al
mov r10d, r14d
mov r11d, r14d
jmp 0x180020dd3
mov r8d, eax
cmp eax, 0x800
jae 0x180020da0
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x180020dd3
cmp eax, 0x10000
jae 0x180020dba
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x180020dd3
shr r8d, 0x12
mov r10d, 3
movzx r11d, dil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, rbp
sub rdx, qword [rbx]
mov ecx, r9d
cmp rdx, rcx
jl 0x180020e55
add qword [rsi], 2
test dil, dil
jne 0x180020df4
cmp r10d, 3
jae 0x180020e00
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jle 0x180020e2e
lea ecx, [r10 + r10*2]
add ecx, ecx
nop
sub ecx, 6
mov edx, eax
shr edx, cl
dec r9d
and dl, 0x3f
or dl, 0x80
mov byte [r8], dl
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jg 0x180020e10
shr eax, 0xa
mov r9d, 1
test dil, dil
mov ecx, r9d
cmovne ecx, eax
mov word [r15], cx
mov rax, qword [rsi]
cmp rax, r12
je 0x180020e55
cmp qword [rbx], rbp
jne 0x180020d1d
cmp r13, qword [rsi]
sete r14b
mov eax, r14d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x180020e5f
Function at 0x180021c00
Capabilities:
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [0x18015d4b8]
mov rdi, qword [rbx]
cmp rdi, rbx
je 0x180010a6e
nop dword [rax]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180010a5f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [rdi]
cmp rdi, rbx
jne 0x180010a50
mov rbx, qword [0x18015d4b8]
mov rcx, qword [0x18015d4c0]
test rcx, rcx
je 0x180010b29
mov rax, qword [0x18015d4e8]
shr rax, 3
cmp rax, rcx
jbe 0x180010aa5
mov rdx, qword [rbx]
lea rcx, [0x18015d4b0]
mov r8, rbx
call fcn.18001c250
jmp 0x180010b29
mov rax, qword [rbx + 8]
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rax], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x180010ad5
nop dword [rax + rax]
mov rdi, qword [rcx]
mov edx, 0x20
call fcn.1800b4a88
mov rcx, rdi
test rdi, rdi
jne 0x180010ac0
mov rax, qword [0x18015d4b8]
mov qword [rax], rax
mov rax, qword [0x18015d4b8]
mov qword [rax + 8], rax
mov rdi, qword [0x18015d4c8]
mov rcx, qword [0x18015d4d0]
sub rcx, rdi
mov qword [0x18015d4c0], rsi
add rcx, 7
shr rcx, 3
cmp rdi, qword [0x18015d4d0]
cmova rcx, rsi
mov rsi, qword [rsp + 0x30]
test rcx, rcx
je 0x180010b29
mov rax, qword [0x18015d4b8]
rep stosq qword [rdi], rax
call fcn.1800643d0
call fcn.180010a20
call fcn.1800658f0
call fcn.180065bd0
call fcn.1800660a0
call fcn.180066570
call fcn.180010a20
call fcn.180069870
call fcn.18006a4f0
call fcn.18006bac0
call fcn.18006bbd0
call fcn.18006bcd0
call fcn.18006be50
call fcn.18006d0c0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x18006d320
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x38], 0
mov rdi, rcx
jne 0x180021d23
cmp byte [rcx + 0x69], 0
je 0x180021d23
cmp byte [rcx + 0x68], 0
je 0x180021d23
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
call fcn.18001f720
call fcn.1800b1170
call fcn.1800b01e0
call fcn.18007ef00
call fcn.180077110
mov rcx, rdi
mov qword [0x18015d4a0], rax
call fcn.18001b890
movzx ebx, byte [rdi + 0x30]
call fcn.180077fc0
mov rsi, rax
call fcn.180077790
test bl, bl
mov ecx, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov ebp, 1
cmovne ecx, ebp
xorps xmm0, xmm0
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x18011a0c0]
mulss xmm1, dword [rax + 0x10]
addss xmm1, dword [rsi]
comiss xmm0, xmm1
ja 0x180021caf
movss xmm0, dword [0x1800bd738]
minss xmm0, xmm1
mov rcx, rdi
movss dword [rsi], xmm0
call fcn.180010b80
mov qword [0x18015d4a0], 0
lea r8, [rdi + 0x18]
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
mov edx, ebp
mov rax, qword [rcx]
call qword [rax + 0x108]
call fcn.180080e80
call fcn.1800773e0
mov rcx, rax
call fcn.1800b0220
cmp byte [0x18015d308], 0
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
je 0x180021d23
inc qword [rdi + 0x88]
cmp qword [rdi + 0x88], 0xa
jb 0x180021d23
mov rcx, rdi
mov byte [rdi + 0x68], 0
add rsp, 0x20
pop rdi
jmp 0x180010a30
add rsp, 0x20
pop rdi
ret
sub rsp, 0x28
mov rcx, qword [0x18015db30]
call fcn.18001ed00
mov rcx, qword [0x18015db38]
add rsp, 0x28
jmp fcn.18001ed00
Function at 0x1800223a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x18015c5c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r10, r9
mov rsi, r8
mov rdi, rcx
mov r14, r8
shr r14, 0x10
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov r15d, 0xf
mov qword [rbp - 0x18], r15
mov byte [rbp - 0x30], 0
cmp r8, 1
jne 0x180022446
mov qword [rbp - 0x20], 0xa
movsd xmm0, qword [0x18011a2b0]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x18011a2b8]
mov word [rbp - 0x28], ax
mov byte [rbp - 0x26], 0
lea rcx, [rbp - 0x30]
movzx eax, dl
imul rbx, rax, 0x118
mov rdx, qword [rdi]
add rdx, rbx
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx], al
lea rcx, [rcx + 1]
lea rdx, [rdx + 1]
test al, al
jne 0x180022430
jmp 0x180022551
cmp rsi, 2
jne 0x1800224a6
mov qword [rbp - 0x20], 0xb
movsd xmm0, qword [str.Right_Mouse]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x18011a2c8]
mov word [rbp - 0x28], ax
movzx eax, byte [0x18011a2ca]
mov byte [rbp - 0x26], al
mov byte [rbp - 0x25], 0
lea rcx, [rbp - 0x30]
movzx eax, dl
imul rbx, rax, 0x118
mov rdx, qword [rdi]
add rdx, rbx
nop
movzx eax, byte [rcx]
mov byte [rdx], al
lea rcx, [rcx + 1]
lea rdx, [rdx + 1]
test al, al
jne 0x180022490
jmp 0x180022551
movzx eax, dl
imul rbx, rax, 0x118
mov r9, qword [rcx]
movzx edx, r14w
sub edx, 1
je 0x180022513
cmp edx, 1
lea rdx, [r9 + rbx]
je 0x1800224d6
mov r8d, 0x100
mov ecx, r10d
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
jmp 0x180022551
mov qword [rbp - 0x20], 8
movabs r8, 0x3258206573756f4d
mov qword [rbp - 0x30], r8
mov byte [rbp - 0x28], 0
lea rcx, [rbp - 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
lea rcx, [rcx + 1]
lea rdx, [rdx + 1]
test al, al
jne 0x180022500
jmp 0x180022551
mov qword [rbp - 0x20], 8
movabs r8, 0x3158206573756f4d
mov qword [rbp - 0x30], r8
mov byte [rbp - 0x28], 0
lea rcx, [rbp - 0x30]
lea rdx, [r9 + rbx]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
lea rcx, [rcx + 1]
lea rdx, [rdx + 1]
test al, al
jne 0x180022540
movzx ecx, r14w
mov rax, qword [rdi]
mov dword [rax + rbx + 0x10c], ecx
mov rax, qword [rdi]
mov qword [rax + rbx + 0x100], rsi
mov rax, qword [rdi]
mov byte [rax + rbx + 0x10a], 1
mov qword [rdi + 0x18], 0xd
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800b5050
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180053410
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18015c5c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800534e3
cmp byte [rcx + 0x71], 0
je 0x1800534e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1800534df
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 0x1800534a4
sub eax, 1
je 0x1800534a8
cmp eax, 2
jne 0x1800534df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800b5050
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1800534d6
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 0x1800534df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18005348c
xor al, al
jmp 0x18005348c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800b5050
add rsp, 0x60
pop rbx
ret
Function at 0x180058960
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x18015c5c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x18005898d
xor eax, eax
jmp 0x180058af6
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1800589cd
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x1800589cd
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x180058aee
cmp qword [rdi + 0x80], 0
je 0x180058ae9
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x180058a07
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x180058a32
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x180058aee
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x180058aa1
sub eax, 1
je 0x180058aa1
cmp eax, 2
jne 0x180058ae9
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x180058aee
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x180058acf
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x180058ae9
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x180058aee
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800b5050
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18005c1c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x18005c1f1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x18005c20f
mov rbp, qword [rsp + 0x40]
mov rsi, 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__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x18005c259
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x18005c2d1
mov rcx, rbp
call fcn.180054860
cmp rbx, 0xfff
jbe 0x18005c2b1
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x18005c2f2
cmp rbx, rax
ja 0x18005c280
test rdi, rdi
je 0x18005c2d1
mov r9, qword [rbp + 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 rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x18005c2d4
Function at 0x18005c300
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x18005c328
add rsp, 0x20
pop r14
pop rdi
pop rbx
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x18005c39c
test rax, rax
jle 0x18005c37c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x18005c39c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18005c39c
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 + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x180061d50
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180061f2f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001f2e0
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 0x180061ef4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180061e69
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180061ee3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180061ea6
mov r10, qword [rdx]
cmp r10, rax
je 0x180061ea0
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 0x180061ee3
cmp r9, rdx
je 0x180061ebf
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180061f09
cmp r9, rdx
jne 0x180061eb0
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 0x180061df0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x180061ee3
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3