joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003cc0
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 0x180003e9f
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.180003b80
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 0x180003e64
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 0x180003ddc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180003e53
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180003e19
mov r10, qword [rdx]
cmp r10, rax
je 0x180003e13
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 0x180003e53
cmp r9, rdx
je 0x180003e2f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180003e79
cmp r9, rdx
jne 0x180003e20
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 0x180003d60
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 0x180003e53
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x180004b30
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180004b58
xor eax, eax
lea r8, [0x180004950]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180006370
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0xc50
mov rax, qword [0x18009a1c0]
xor rax, rsp
mov qword [rsp + 0xc40], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x440]
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [rbp + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1800064ae
mov qword [rsp + 0xc68], rbx
lea rdx, [rsp + 0x440]
mov r8d, 0x3ff
mov qword [rsp + 0xc70], rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
cmp qword [0x1800abfe8], 0xf
lea rcx, [0x1800abfd0]
cmova rcx, qword [0x1800abfd0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
xorps xmm0, xmm0
lea rsi, [0x1800aa730]
mov rbx, rax
lea r8, [0x180050ac4]
xor eax, eax
lea edx, [rbp + 0x45]
mov rcx, rsi
mov dword [0x1800aa770], eax
mov byte [0x1800aa774], al
movups xmmword [0x1800aa730], xmm0
movups xmmword [0x1800aa740], xmm0
movups xmmword [0x1800aa750], xmm0
movups xmmword [0x1800aa760], xmm0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rsp + 0x40]
mov rcx, rsi
lea edx, [rbp + 0x45]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov r8, rbx
lea edx, [rbp + 0x45]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov rbx, qword [rsp + 0xc68]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rbp
nop dword [rax]
inc r8
cmp byte [rsi + r8], bpl
jne 0x180006490
mov rdx, rsi
mov rcx, rdi
call fcn.180004ea0
mov rsi, qword [rsp + 0xc70]
jmp 0x1800064c3
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bpl
mov rax, rdi
mov rcx, qword [rsp + 0xc40]
xor rcx, rsp
call fcn.18004c430
mov rbp, qword [rsp + 0xc78]
add rsp, 0xc50
pop rdi
ret
Function at 0x18000e620
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
sub rsp, 0x88
test cl, cl
je 0x18000e853
mov qword [rax + 8], rbx
mov ecx, 0x20
mov qword [rax - 8], rdi
movaps xmmword [rax - 0x18], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movabs rdi, 0xd80958fc74e988a6
xorps xmm6, xmm6
test ax, ax
je 0x18000e6ca
mov rcx, rdi
call fcn.18001c0a0
call fcn.18001c030
movss xmm0, dword [0x1800525e4]
xorps xmm3, xmm3
mov dword [rsp + 0x68], 1
xorps xmm2, xmm2
mov dword [rsp + 0x60], 1
mov edx, 1
mov ecx, dword [rax]
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 1
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x28], xmm6
movss dword [rsp + 0x20], xmm0
call fcn.1800059e0
movabs rcx, 0xd24d37cc275948cc
call fcn.18001c0a0
lea rcx, str.GADGET_PARACHUTE
call fcn.18001c0c0
call fcn.18001c030
mov rcx, rdi
mov ebx, dword [rax]
call fcn.18001c0a0
call fcn.18001c030
mov r9d, 1
mov edx, ebx
mov r8d, r9d
mov ecx, dword [rax]
call fcn.1800092c0
mov rcx, rdi
call fcn.18001c0a0
call fcn.18001c030
movabs rcx, 0x886e37ec497200b6
mov ebx, dword [rax]
call fcn.18001c0a0
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x98], ebx
mov rcx, qword [rsp + 0x98]
call fcn.18001c0c0
call fcn.18001c030
cmp dword [rax], 0
je 0x18000e83e
mov rcx, rdi
call fcn.18001c0a0
call fcn.18001c030
movabs rcx, 0x47e4e977581c5b55
mov ebx, dword [rax]
call fcn.18001c0a0
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x98], ebx
mov rcx, qword [rsp + 0x98]
call fcn.18001c0c0
call fcn.18001c030
cmp dword [rax], 0
jne 0x18000e83e
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000e7d5
mov rcx, rdi
call fcn.18001c0a0
call fcn.18001c030
movss xmm1, dword [0x1800525c8]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov ecx, dword [rax]
call fcn.180005ba0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000e80c
mov rcx, rdi
call fcn.18001c0a0
call fcn.18001c030
movss xmm2, dword [0x1800525e0]
xorps xmm3, xmm3
movss xmm1, dword [0x1800525c8]
mov ecx, dword [rax]
call fcn.180005ba0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000e83e
mov rcx, rdi
call fcn.18001c0a0
call fcn.18001c030
movss xmm1, dword [0x1800525e0]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov ecx, dword [rax]
call fcn.180005ba0
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x180011ed0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
lea rdx, [0x1800534a4]
lea rcx, [rsp + 0xa0]
call fcn.180010b50
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.180006370
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18000fb50
nop
lea r8, [0x18009a0b0]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000fb80
nop
lea rcx, [rsp + 0x60]
call fcn.1800056e0
nop
lea rcx, [rsp + 0x80]
call fcn.1800056e0
nop
lea rcx, [rsp + 0xa0]
call fcn.1800056e0
lea rcx, [rsp + 0x40]
call fcn.180014c20
mov qword [rsp + 0xd0], rax
xor r8d, r8d
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.18000faf0
nop
lea rcx, [rsp + 0x20]
call fcn.180014db0
movzx ebx, al
lea rcx, [rsp + 0x20]
call fcn.180011c90
test bl, bl
je 0x180011fa9
lea rcx, [rsp + 0x40]
call fcn.180014c20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x1800aa9f0]
call fcn.1800157d0
lea rcx, str.Cleaning_up_hooks
call fcn.180018320
lea rcx, [0x1800aa8e8]
call fcn.180014c10
mov rsi, rax
lea rcx, [0x1800aa8e8]
call fcn.180014c00
mov rbx, rax
cmp rax, rsi
je 0x180012023
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.180002128
test eax, eax
jne 0x180012001
lea rcx, str.Successfully_disabled_hooks
call fcn.180018320
jmp 0x18001201a
mov ecx, eax
call fcn.180002130
mov r8, rax
mov rdx, rdi
lea rcx, str.Failed_to_disable_hookS__p___s_
call fcn.180018320
add rbx, 8
cmp rbx, rsi
jne 0x180011fe4
mov dword [rsp + 0xd0], 0x32
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.1800042f0
mov rcx, rax
call fcn.180004300
lea rcx, [0x1800aa8e8]
call fcn.180014c10
mov rsi, rax
lea rcx, [0x1800aa8e8]
call fcn.180014c00
mov rbx, rax
cmp rax, rsi
je 0x1800120bb
nop
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.180001f74
test eax, eax
jne 0x180012099
lea rcx, str.Successfully_Cleaning_up_hooks
call fcn.180018320
lea rcx, str.Blade_Successfully_____unloaded.
call fcn.180018320
jmp 0x1800120b2
mov ecx, eax
call fcn.180002130
mov r8, rax
mov rdx, rdi
lea rcx, str.Failed_to_unhook__p___s_
call fcn.180018320
add rbx, 8
cmp rbx, rsi
jne 0x180012070
mov dword [rsp + 0xd0], 0x190
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.1800042f0
mov rcx, rax
call fcn.180004300
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor edx, edx
mov rcx, qword [0x1800aa818]
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0x180015d70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x18009a1c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x180015d9d
xor eax, eax
jmp 0x180015f06
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 0x180015ddd
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 0x180015ddd
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 0x180015efe
cmp qword [rdi + 0x80], 0
je 0x180015ef9
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 0x180015e17
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 0x180015e42
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 0x180015efe
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 0x180015eb1
sub eax, 1
je 0x180015eb1
cmp eax, 2
jne 0x180015ef9
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 0x180015efe
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x180015edf
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 0x180015ef9
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x180015efe
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18004c430
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1800163c0
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 0x1800163f1
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 0x18001640f
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 0x180016459
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 0x1800164d1
mov rcx, rbp
call fcn.180018550
cmp rbx, 0xfff
jbe 0x1800164b1
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 0x1800164f2
cmp rbx, rax
ja 0x180016480
test rdi, rdi
je 0x1800164d1
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 0x1800164d4
Function at 0x180016500
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 0x180016528
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 0x18001659c
test rax, rax
jle 0x18001657c
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 0x18001659c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18001659c
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 0x180018360
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18009a1c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180018433
cmp byte [rcx + 0x71], 0
je 0x180018433
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18001842f
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 0x1800183f4
sub eax, 1
je 0x1800183f8
cmp eax, 2
jne 0x18001842f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18004c430
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180018426
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 0x18001842f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800183dc
xor al, al
jmp 0x1800183dc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18004c430
add rsp, 0x60
pop rbx
ret
Function at 0x180018d80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18009a1c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rcx, [rsp + 0x20]
call fcn.180004ea0
nop
movabs r9, 0xcbf29ce484222325
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rax, qword [rsp + 0x20]
lea rdx, [rsp + 0x20]
cmova rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
add r8, rdx
cmp rax, r8
je 0x180018e13
movabs rdx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
imul r9, rdx
movsx rcx, byte [rax]
xor r9, rcx
inc rax
cmp rax, r8
jne 0x180018e00
mov qword [rsi + 0x40], r9
mov byte [rsi + 0x68], 0
lea r8, [rsi + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.180018f80
mov rax, qword [rsi + 0x30]
mov qword [rsi + 0x48], rax
mov rbx, qword [0x1800abca8]
mov rax, qword [rbx + 8]
mov rcx, rax
mov rdi, rbx
cmp byte [rax + 0x19], 0
jne 0x180018e78
mov r8, qword [rsi + 0x40]
nop
mov rdx, qword [rcx + 0x20]
cmp rdx, r8
jae 0x180018e5f
mov rcx, qword [rcx + 0x10]
jmp 0x180018e72
cmp byte [rdi + 0x19], 0
je 0x180018e6c
cmp r8, rdx
cmovb rdi, rcx
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x180018e50
cmp byte [rdi + 0x19], 0
jne 0x180018e81
mov rax, qword [rdi]
cmp byte [rax + 0x19], 0
jne 0x180018ea8
mov rcx, qword [rsi + 0x40]
nop dword [rax + rax]
cmp rcx, qword [rax + 0x20]
jae 0x180018e9e
mov rdi, rax
mov rax, qword [rax]
jmp 0x180018ea2
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x180018e90
cmp rbx, rdi
je 0x180018f29
nop dword [rax]
mov rdx, qword [rbx + 0x28]
mov rcx, rsi
call fcn.180018bd0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x180018ee8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180018ee3
cmp rbx, qword [rax + 0x10]
jne 0x180018ee3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180018ed0
mov rbx, rax
jmp 0x180018f0f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x180018f0f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180018f00
cmp rbx, rdi
jne 0x180018eb0
mov rax, qword [rsi + 0x58]
sub rax, qword [rsi + 0x50]
sar rax, 3
test rax, rax
je 0x180018f29
mov byte [rsi + 0x68], 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180018f69
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018f64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180018f64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004bff8
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18004c430
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x18004b420
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 r14
push r15
sub rsp, 0x50
mov rsi, rdx
mov r15, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
movsxd r8, dword [rax + 0x3c]
mov r14d, dword [r8 + rax + 0x50]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor ebp, ebp
mov r11d, ebp
mov qword [rsp + 0x40], rbp
lea r12, [0x1800613f0]
mov r9, qword [rsp + 0x38]
nop word [rax + rax]
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], rbp
mov rdi, rbp
movzx edx, byte [rsi]
inc rsi
test dl, dl
je 0x18004b537
nop dword [rax + rax]
movzx eax, dil
shl al, 2
not al
and al, 4
movzx ecx, dl
movzx r8d, byte [rcx + r12]
cmp r8b, 0xff
je 0x18004b4d7
mov rdx, rdi
shr rdx, 1
movzx ecx, al
mov eax, 0xf
shl al, cl
or byte [rsp + rdx + 0x28], al
shl r8b, cl
or byte [rsp + rdx + 0x20], r8b
jmp 0x18004b4e0
cmp dl, 0x3f
je 0x18004b4e0
test al, al
jne 0x18004b4e9
inc rdi
cmp rdi, 0x10
je 0x18004b4f3
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x18004b4a0
test rdi, rdi
je 0x18004b52d
cmp r9, r11
je 0x18004b511
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [r9], xmm0
add r9, 0x10
mov qword [rsp + 0x38], r9
jmp 0x18004b52d
lea r8, [rsp + 0x20]
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.18004aff0
mov r11, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
cmp rdi, 0x10
jae 0x18004b480
lea rax, [r14 + rbx]
mov r10, qword [rsp + 0x30]
cmp rbx, rax
jae 0x18004b588
sub r9, r10
sar r9, 4
mov rdx, rbp
test r9, r9
je 0x18004b58b
mov r8, r10
nop word [rax + rax]
mov rcx, qword [rbx + rdx*8]
xor rcx, qword [r8]
test qword [r8 + 8], rcx
jne 0x18004b57b
inc rdx
add r8, 0x10
cmp rdx, r9
jb 0x18004b560
jmp 0x18004b58b
inc rbx
cmp rbx, rax
jae 0x18004b588
mov rdx, rbp
jmp 0x18004b554
mov rbx, rbp
test r10, r10
je 0x18004b5ca
sub r11, r10
and r11, 0xfffffffffffffff0
mov rax, r10
cmp r11, 0x1000
jb 0x18004b5bf
add r11, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004b5bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r11
mov rcx, r10
call fcn.18004bff8
mov rax, r15
test rbx, rbx
je 0x18004b5d7
mov qword [r15], rbx
jmp 0x18004b5da
mov qword [r15], rbp
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret