joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140057eb0
Capabilities:
Check if file exists

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r10, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
lea rax, str.allow_oa_disable.tmp
lea rdx, str.allow_oa_enable.tmp
test r8d, r8d
cmove rdx, rax
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x140057f00
movabs rax, 0x7ffffffffffffffe
sub rax, r8
cmp rax, rcx
jb 0x1400580f1
lfence
mov r9, r10
cmp qword [r10 + 0x18], 8
jb 0x140057f30
mov r9, qword [r10]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
mov r8, r10
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x240]
call fcn.140041c20
lea rcx, [rsp + 0x240]
cmp qword [rsp + 0x258], 8
cmovae rcx, qword [rsp + 0x240]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000100
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov rdx, qword [rsp + 0x258]
cmp rdx, 8
jb 0x140057fe4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057fdf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057fdf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
cmp rbx, 0xffffffffffffffff
jne 0x1400580d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea r8, str.on_access_state_setter::common::create_allow_file
cmp eax, 2
jne 0x140058050
lea edx, [rbx + 0x11]
lea rcx, [rsp + 0x50]
call fcn.140005190
nop
cmp byte [rax + 0x80], 0
je 0x140058029
lea rdx, str.Allow_file_not_found.
mov rcx, rax
call fcn.140006540
nop
lea rcx, [rsp + 0xe8]
call fcn.140004f20
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov qword [rdi], 0xffffffffffffffff
jmp 0x1400580d3
mov edx, 4
lea rcx, [rsp + 0x148]
call fcn.140005190
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x1400580ac
lea rdx, str.Could_not_create_the_allow_file._Error:
mov rcx, rbx
call fcn.140006540
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400580ac
mov edx, esi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
cmp byte [rbx + 0x80], 0
je 0x1400580ac
mov edx, 0x2e
mov rcx, rbx
call fcn.140030d30
nop
lea rcx, [rsp + 0x1e0]
call fcn.140004f20
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov qword [rdi], 0xffffffffffffffff
jmp 0x1400580d3
mov qword [rdi], rbx
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
call fcn.140002820
int3
Function at 0x14005d610
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x1401b8010]
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, [0x1401815c4]
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 [0x1401c1658]
mov eax, dword [0x1401c165c]
xor ebx, ebx
add ecx, eax
je 0x14005d74a
mov dword [rsp + 0x70], ebx
call fcn.140005ad0
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x14005d6d4
call fcn.140005ad0
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x78], 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 + 0x78]
movsx edx, dx
call fcn.140004c90
mov qword [rsp + 0x68], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
js 0x14005d745
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
jns 0x14005d730
lock inc dword [rsp + 0x70]
call fcn.14002ca70
test al, al
je 0x14005d7f4
mov dword [rbp - 0x78], ebx
mov word [rbp - 0x74], 0x500
mov qword [rbp - 0x80], rbx
lea rax, [rbp - 0x80]
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 - 0x78]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14005d7d4
mov dword [rsp + 0x60], ebx
lea r8, [rsp + 0x60]
mov rdx, qword [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x60], 1
je 0x14005d7f4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.14005bda0
test al, al
sete bl
lea rcx, [rbp - 0x70]
call fcn.140004e30
movzx eax, bl
jmp 0x14005d7ff
lea rcx, [rbp - 0x70]
call fcn.140004e30
xor al, al
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14007e250
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4c0
pop rbp
ret
Function at 0x1400638e0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov dword [rsp + 0x70], 0
lea rax, [rsp + 0x68]
mov word [rsp + 0x74], 0x500
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140063981
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
mov dword [rsp + 0x60], ebx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x60], 1
sete al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x80
pop rbx
ret
Function at 0x140068e50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 0x10
mov r10, rcx
mov r9, qword [rdx + 0x10]
jb 0x140068e61
mov rdx, qword [rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x140068e94
movabs r11, 0x100000001b3
nop dword [rax]
movzx ecx, byte [r8 + rdx]
inc r8
xor rax, rcx
imul rax, r11
cmp r8, r9
jb 0x140068e80
movabs rdx, 0xc6a4a7935bd1e995
imul rax, rdx
mov rcx, rax
shr rcx, 0x2f
xor rcx, rax
mov eax, 0xe6546b64
imul rcx, rdx
xor rcx, r10
imul rcx, rdx
add rax, rcx
ret

Function at 0x14006b670
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov r9, rax
test rax, rax
je 0x14006b6ab
mov rax, qword [rdi]
mov qword [r9], rax
movups xmm0, xmmword [rsi]
movups xmmword [r9 + 8], xmm0
jmp 0x14006b6ae
xor r9d, r9d
mov qword [rsp + 0x40], r9
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x140076670]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14006b6f0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140079080
Capabilities:
Extract resource via kernel32 functions
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov dword [rcx + 0x474], r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r8, str.debug
lea rax, [rsp + 0x70]
mov dword [rsp + 0x30], 4
mov rbp, r9
mov qword [rsp + 0x20], rax
mov r14, rdx
mov dword [rsp + 0x70], 0
mov rbx, rcx
mov dword [rsp + 0x60], 4
lea r9, [rsp + 0x30]
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareBitdefender_bdhtml
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [rsp + 0x70], 1
jne 0x1400790f7
mov byte [rbx + 0x479], 1
movzx edx, word [rbx + 0x474]
mov r8d, 0x17
mov rcx, qword [rbx + 0x248]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x140079135
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x260], eax
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rbx + 0x248]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140079119
mov rcx, rax
mov qword [rsp + 0x68], rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140079176
mov rcx, qword [rbx + 0x248]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
jne 0x140079189
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x260], eax
xor eax, eax
jmp 0x140079259
lea eax, [rdi + 2]
mov qword [rbx + 0x10], r14
mov ecx, eax
mov dword [rbx + 0x30], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rbx + 0x30]
xor edx, edx
mov rcx, rax
mov qword [rbx + 0x28], rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 0x28]
mov r8, rdi
mov eax, dword [rbx + 0x30]
test rcx, rcx
jne 0x1400791ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
jmp 0x1400791f2
cmp rax, r8
jb 0x1400791dc
lfence
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400791f8
mov r8, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
add dword [rbx + 0x30], 0xfffffffe
test rbp, rbp
je 0x14007920a
lea rcx, [rbx + 0x34]
mov r8, rbp
jmp 0x140079245
cmp word [0x1401c0de0], 0
jne 0x140079219
call fcn.14007a540
lea rcx, [rbx + 0x34]
test rcx, rcx
je 0x140079250
lea r8, [0x1401c0de0]
mov rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], 0
jne 0x140079230
cmp eax, 0x104
jge 0x140079250
lfence
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbx - 0x28]
call fcn.140079270
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x140079880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp method.bdHtmlDlgEx.1.virtual_392
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
je 0x140079a1a
cmp word [r8], 0
je 0x140079a1a
lea rdx, str.sciter:
mov rcx, r8
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
cmp rax, rsi
je 0x140079a16
mov edx, 0x2f
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdi, rax
test rax, rax
je 0x140079a1a
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea r8, [rdi + 2]
mov edx, 0x104
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov edx, 0x2e
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdi, rax
test rax, rax
je 0x1400799a0
xor eax, eax
mov word [rdi], ax
add rdi, 2
je 0x1400799a0
lea rdx, str.HTML
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400799a0
lea rdx, [0x140189680]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rdx, [rsp + 0x30]
test eax, eax
jne 0x14007999b
mov rcx, qword [rbx + 0x278]
lea r8, [0x140189680]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140079992
mov rbx, qword [rbx + 0x278]
jmp 0x1400799c7
lea r8, [0x140189680]
jmp 0x1400799a6
mov r8, rdi
jmp 0x1400799ab
mov r8d, 0x17
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0x270]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140079a16
mov rbx, qword [rbx + 0x270]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140079a1a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x140079a1a
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test eax, eax
je 0x140079a1a
call fcn.140008c80
mov r9d, ebx
mov r8, rbp
mov rdx, rsi
mov rcx, r14
mov rax, qword [rax + 0x18]
call qword [case.0x140077645.0]
xor eax, eax
jmp 0x140079a1f
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14007ad50
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
lea rdx, str..DEFAULTSoftwareSetId
xorps xmm0, xmm0
mov qword [r11 - 0x40], rax
movups xmmword [rsp + 0x40], xmm0
mov rbx, rcx
mov r9d, 0x20019
movups xmmword [rsp + 0x50], xmm0
mov qword [r11 - 0x18], rax
xor r8d, r8d
lea rax, [r11 - 0x40]
mov rcx, 0xffffffff80000003
mov qword [r11 - 0x58], rax
xor sil, sil
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov ebp, 1
test eax, eax
jne 0x14007adfc
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x34], ebp
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.wslibsite_lang
mov dword [rsp + 0x30], 0x26
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14007ae0c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x14007ae40
cmp qword [rbx + 0x18], 8
jb 0x14007ae1a
mov rbx, qword [rbx]
lea rdx, [rsp + 0x40]
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x14007ae35
add rbx, 2
test eax, eax
jne 0x14007ae22
test ecx, ecx
movzx eax, sil
cmove eax, ebp
jmp 0x14007ae44
movzx eax, sil
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14007e250
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140080a00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r9d, dword [0x1401bfd94]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0x10
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x1401c0680], eax
jg 0x140080ae9
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x140080a67
mov rcx, rbx
call fcn.140091620
test al, al
jne 0x140080a42
jmp 0x140080ace
mov edi, 1
test ebp, ebp
je 0x140080a83
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140080a92
mov r8, r14
lea rdx, [0x14014351c]
call fcn.1400a1130
cmp qword [0x1401c0678], 0
jl 0x140080aaf
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x1401c0678]
setge sil
lock xadd dword [rbx + 0x40], edi
inc edi
cmp edi, 1
jne 0x140080aca
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, [0x1401c0680]
call fcn.14007e5c0
cmp dword [0x1401c0680], 0xffffffff
jne 0x140080a50
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x1401c0678], rcx
lea rcx, [0x1401c0680]
call fcn.14007e560
jmp 0x140080a50
Function at 0x140080b30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r9d, dword [0x1401bfd94]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0x10
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x1401c0690], eax
jg 0x140080c1c
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x140080b97
mov rcx, rbx
call fcn.140091620
test al, al
jne 0x140080b72
jmp 0x140080c01
test ebp, ebp
je 0x140080bb1
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140080bc0
mov r8, r14
lea rdx, [0x1401815f8]
call fcn.1400a1180
cmp qword [0x1401c0688], 0
jl 0x140080bdd
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x1401c0688]
setge sil
mov ecx, 1
lock xadd dword [rbx + 0x40], ecx
inc ecx
cmp ecx, 1
jne 0x140080bfd
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, [0x1401c0690]
call fcn.14007e5c0
cmp dword [0x1401c0690], 0xffffffff
jne 0x140080b80
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x1401c0688], rcx
lea rcx, [0x1401c0690]
call fcn.14007e560
jmp 0x140080b80
Function at 0x1400834d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400834fe
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
add r8, r8
je 0x140083533
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140083520
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140047ad0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14008355c
mov qword [rsi], rax
mov byte [rsi + 8], r13b
jmp 0x1400836a3
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x1400836be
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov ecx, 0x30
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x10], r13
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
movups xmm0, xmmword [r14]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x20], xmm1
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400835d4
cvtsi2ss xmm0, rcx
jmp 0x1400835e9
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400835fc
cvtsi2ss xmm1, rcx
jmp 0x140083611
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x140083648
mov rcx, rbp
call fcn.140075e90
mov r9, rbx
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140047ad0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x140083685
mov qword [rcx + rax*8], rdi
jmp 0x140083697
cmp r9, rdx
jne 0x140083690
mov qword [rcx + rax*8], rdi
jmp 0x14008369c
cmp qword [rcx + rax*8 + 8], r8
jne 0x14008369c
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1400886d0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov r11, rsp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [r9]
mov rdi, r8
mov dword [rcx], eax
mov rsi, rcx
mov eax, dword [r9 + 4]
mov dword [rcx + 4], eax
mov eax, dword [r9]
mov dword [rcx + 8], eax
mov eax, dword [r9 + 4]
mov dword [rcx + 0xc], eax
cmp r8, 1
jb 0x140088894
mov eax, 0x38
mov qword [r11 - 0x18], rbx
cmp r8, rax
mov qword [r11 - 0x20], rbp
lea rcx, [r11 - 0x70]
mov qword [r11 - 0x28], r14
cmova rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movaps xmm0, xmmword [0x1401b8050]
lea rbx, [rsi + 0x10]
movups xmmword [rbx], xmm0
lea rbp, [rsi + 0x58]
mov r8d, 0x1000
movaps xmm1, xmmword [0x1401b8060]
lea rdx, [0x1401b80a0]
movups xmmword [rbx + 0x10], xmm1
mov rcx, rbp
movaps xmm0, xmmword [0x1401b8070]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x1401b8080]
movups xmmword [rbx + 0x30], xmm1
movsd xmm0, qword [0x1401b8090]
movsd qword [rbx + 0x40], xmm0
call sub.VCRUNTIME140.dll_memcpy
xor r8d, r8d
lea r9, [rsp + 0x28]
mov r14d, 4
lea r11d, [r8 + 0x12]
nop
xor edx, edx
mov r10d, r14d
nop word [rax + rax]
movzx eax, byte [r9]
lea ecx, [r8 + 1]
inc r9
shl edx, 8
or edx, eax
lea rax, [rsp + 0x28]
cmp ecx, edi
cmovne rax, r9
xor r8d, r8d
cmp ecx, edi
mov r9, rax
cmovne r8d, ecx
sub r10d, 1
jne 0x1400887b0
xor dword [rbx], edx
add rbx, r14
sub r11, 1
jne 0x1400887a0
mov qword [rsp + 0x20], r11
xor ebx, ebx
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14008cab0
mov eax, dword [rsp + 0x20]
mov dword [rsi + rbx*4 + 0x10], eax
inc ebx
mov eax, dword [rsp + 0x24]
mov dword [rsi + rbx*4 + 0x10], eax
inc ebx
cmp ebx, 0x12
jb 0x1400887f0
nop word [rax + rax]
xor edi, edi
mov rbx, rbp
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14008cab0
mov eax, dword [rsp + 0x20]
add rdi, 2
mov ecx, dword [rsp + 0x24]
mov dword [rbx], eax
mov dword [rbx + 4], ecx
lea rbx, [rbx + 8]
cmp rdi, 0x100
jl 0x140088830
add rbp, 0x400
sub r14, 1
jne 0x140088820
mov r14, qword [rsp + 0x70]
mov rax, rsi
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x88
pop rdi
pop rsi
ret
lea rax, str.Incorrect_key_length
lea rdx, [0x1401b1b08]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3