joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180163740
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180203760]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1801637a4
mov eax, 0xa
jmp 0x180163833
test esi, esi
je 0x1801637c6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1801637e9
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1801637e9
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1801637e2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1801637e9
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180163850
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1801f6340]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18016397a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180163971
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180163954
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180163954
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180163954
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180163912
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1801fea20]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180163971
jmp 0x180163947
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180163947
mov rcx, qword [0x1801fea20]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180163971
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1801638c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1801639d3
cmp dword [rbx + 0xc], esi
jbe 0x1801639d3
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1801639cc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180163d40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180163990
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180164e70
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180163ef0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x180163f5f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x180163f48
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180163f3c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180163f10
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1801fea20]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180164020
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x180164060
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180203750]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18016409e
cmp rsi, r14
jb 0x180164096
cmp rsi, r15
jae 0x180164096
cmp qword [rsi + 8], 0
jne 0x180164267
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180164081
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180164132
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180164129
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180164129
cmp dword [rsp + 0x70], 0x10000
je 0x1801641ab
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180164129
sub rbx, rbp
cmp rbx, r14
jae 0x1801640f0
test rsi, rsi
jne 0x180164210
cmp rdi, r15
ja 0x18016424f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18016424f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18016424f
cmp dword [rsp + 0x70], 0x10000
je 0x1801641e1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180164162
jmp 0x18016424f
test rbx, rbx
je 0x180164129
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180164210
cmp rbx, r14
jae 0x1801640d0
jmp 0x180164132
test rdi, rdi
je 0x18016424f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180164210
cmp rdi, r15
jbe 0x180164140
jmp 0x18016424f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180164220
mov rax, qword [0x180203750]
mov qword [rsi], rax
mov qword [0x180203750], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1801666d8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180166712
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180166717
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180166760
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x180166760
dec r8
sub rdx, 1
jne 0x180166746
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140028974
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c284
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c284
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028ac4
cmp rax, 0xffffffffffffffff
je 0x140028ac4
xor edi, edi
test rbp, rbp
jle 0x140028a6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb98
mov rbx, rax
test rax, rax
jne 0x1400289fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028a65
mov edx, 0x8000
mov ecx, r14d
call fcn.140019be8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001cf60
cmp eax, 0xffffffff
je 0x140028a45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a0c
mov edx, r15d
mov ecx, r14d
call fcn.140019be8
jmp 0x140028a65
cmp byte [rsi + 0x38], dil
je 0x140028a5c
cmp dword [rsi + 0x34], 5
jne 0x140028a5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028a65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a948
jmp 0x140028ad8
jns 0x140028ad8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c284
cmp rax, 0xffffffffffffffff
jne 0x140028a90
cmp byte [rsi + 0x30], dil
je 0x140028ad8
mov edi, dword [rsi + 0x2c]
jmp 0x140028ad8
mov ecx, r14d
call fcn.14001871c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028ad8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028ad8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028ad1
mov eax, dword [rsi + 0x2c]
jmp 0x140028ad6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c284
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029bd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029bf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029bf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x100411cb0
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140009430
Capabilities:
Hash data using fnv

Disassembly:
movzx r8d, byte [rdx]
movabs r9, 0x100000001b3
movzx ecx, byte [rdx + 6]
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, r9
xor rax, r8
imul rax, r9
xor rax, rcx
movzx ecx, byte [rdx + 7]
imul rax, r9
xor rax, rcx
imul rax, r9
ret
Function at 0x14000a770
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x14000a7a3
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x14000a790
mov rax, r9
ret

Function at 0x14000abb8
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.140009b30
and dword [rsp + 0x38], 0
lea r8, [rdi + 0x64]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov qword [rsp + 0x28], r8
xor edx, edx
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
jne 0x14000ac72
call fcn.14001279c
mov rbx, rax
cmp dword [rax], 3
jbe 0x14000ac72
mov rcx, rsi
call fcn.140009b30
mov qword [rsp + 0x68], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14000ac35
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x60], eax
lea rdx, [0x14005d32d]
lea rax, str.GetVolumeInformation_failed
mov rcx, rbx
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.14000d108
mov rdx, rsi
mov rcx, rdi
call fcn.14000acb4
mov rcx, rsi
call fcn.140009b30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp al, 2
mov byte [rdi + 0x60], al
sete al
or byte [rdi + 0x170], al
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000b5bc
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14006cfc0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movdqa xmm1, xmmword [0x14004bc00]
movdqu xmmword [rbp + 0x17], xmm1
xor esi, esi
mov word [rbp + 7], si
mov dword [rbp - 0x49], esi
lea rdx, [rbp - 0x49]
xor ecx, ecx
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rsi
mov edx, dword [rbp - 0x49]
lea rcx, [rbp - 0x39]
call fcn.140014ce0
lea rdx, [rbp - 0x49]
mov rdi, qword [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x14000b6c8
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov r8d, dword [rbp - 0x49]
dec r8d
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.1400135a8
lea r8, [0x14004bc88]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call fcn.14000b938
lea r8, str.MicrosoftWindows_Defender_Advanced_Threat_Protection_
mov rdx, rax
mov rcx, rbx
call fcn.14000b938
lea rcx, [rbp + 0x27]
call fcn.140013e34
lea rcx, [rbp - 0x19]
call fcn.140013e34
test rdi, rdi
je 0x14000b727
mov rdx, qword [rbp - 0x29]
sub rdx, rdi
sar rdx, 1
add rdx, rdx
mov rcx, rdi
call fcn.140008710
jmp 0x14000b727
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call fcn.14001279c
cmp dword [rax], 2
jbe 0x14000b70f
lea rcx, str.GetAllUsersProfileDirectory_failed
mov qword [rbp - 0x41], rcx
mov dword [rbp - 0x45], edi
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x45]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14005cf99]
mov rcx, rax
call fcn.140001ef0
lea rdx, str.MicrosoftWindows_Defender_Advanced_Threat_Protection_
mov rcx, rbx
call fcn.14001356c
lea rcx, [rbp - 0x39]
call fcn.140013e88
lea rcx, [rbp + 7]
call fcn.140013e34
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400165f0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000ee60
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rdi + 0x7c]
cmp ecx, 0xffffffff
je 0x14000f012
cmp ecx, 0x7c
je 0x14000f012
cmp ecx, 0x29
jne 0x14000eeac
cmp dword [rdi + 0x1c], 0
jne 0x14000f012
test dword [rdi + 0x80], 0x10000000
jne 0x14000efc7
lea edx, [rcx - 0x24]
call fcn.14001391c
int3
cmp ecx, 0x2e
jne 0x14000eec4
lea rcx, [rdi + 0x40]
mov edx, 5
call fcn.14000edb4
jmp 0x14000efe5
cmp ecx, 0x5c
jne 0x14000ef28
mov rcx, rdi
call fcn.14000f024
test byte [rdi + 0x80], 0x80
je 0x14000ef1b
cmp word [rdi + 0x78], 0x62
jne 0x14000eefc
mov edx, 4
lea rcx, [rdi + 0x40]
call fcn.14000edb4
mov rcx, rdi
call fcn.14000f024
jmp 0x14000eff5
cmp word [rdi + 0x78], 0x42
jne 0x14000ef1b
lea rcx, [rdi + 0x40]
mov edx, 4
call fcn.14000edb4
mov rax, qword [rdi + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14000eeef
mov rcx, rdi
call fcn.140013660
jmp 0x14000efed
cmp ecx, 0x5b
jne 0x14000ef53
mov rcx, rdi
call fcn.14000f024
mov rcx, rdi
call fcn.140015a70
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.1400161f8
jmp 0x14000efed
cmp ecx, 0x28
jne 0x14000ef81
mov rcx, rdi
call fcn.14000f024
mov rcx, rdi
call fcn.14002785c
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.1400161f8
test bl, bl
jne 0x14000efed
jmp 0x14000eff5
cmp ecx, 0x5e
jne 0x14000ef8e
lea edx, [rcx - 0x5c]
jmp 0x14000eee6
cmp ecx, 0x24
jne 0x14000ef9b
lea edx, [rcx - 0x21]
jmp 0x14000eee6
cmp ecx, 0x3f
je 0x14000f007
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14000f007
cmp ecx, 0x7b
je 0x14000f007
cmp ecx, 0x7d
jne 0x14000efc7
test dword [rdi + 0x80], 0x10000000
jne 0x14000efd8
lea edx, [rcx - 0x77]
call fcn.14001391c
int3
cmp ecx, 0x5d
jne 0x14000efd8
test dword [rdi + 0x80], 0x10000000
je 0x14000effc
movzx edx, word [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.140015158
mov rcx, rdi
call fcn.14000f024
mov rcx, rdi
call fcn.140027204
mov al, 1
jmp 0x14000ee6f
mov edx, 4
call fcn.14001391c
int3
mov edx, 0xa
call fcn.14001391c
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f5b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov rax, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
mov rdi, qword [rbp + 0x50]
mov byte [rdi], 1
xor ebx, ebx
mov r13, qword [rbp + 0x58]
mov dword [r13], ebx
mov qword [rbp + 0x50], rbx
mov dword [rbp + 0x68], ebx
mov dword [rbp + 0x60], ebx
lea rcx, [rbp + 0x60]
mov qword [r11 - 0x60], rcx
lea rcx, [rbp + 0x68]
mov qword [r11 - 0x68], rcx
lea r9d, [rbx + 2]
mov r8, rax
lea rcx, [rbp + 0x50]
call fcn.140011918
mov r12d, eax
mov dword [r13], eax
test eax, eax
je 0x14000f66f
mov rcx, r15
call fcn.140009b30
mov rdi, rax
mov rcx, r14
call fcn.140009b30
mov rbx, rax
mov rcx, qword [rbp + 0x48]
call fcn.140009b30
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, rax
mov edx, r12d
call fcn.14003c420
mov rdx, r15
mov rcx, rsi
call fcn.140014214
jmp 0x14000f729
mov r12d, dword [rbp + 0x60]
mov edx, r12d
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14000f3d4
mov rcx, r14
call fcn.140009b30
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rbp - 0x18]
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x20], 0
mov r9d, 2
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov dword [rbp + 0x60], eax
mov dword [r13], eax
xor edx, edx
test eax, eax
je 0x14000f70a
mov rcx, r15
call fcn.140009b30
mov rdi, rax
mov rcx, r14
call fcn.140009b30
mov rbx, rax
mov rcx, qword [rbp + 0x48]
call fcn.140009b30
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, rax
mov edx, dword [rbp + 0x60]
call fcn.14003c420
mov rdx, r15
mov rcx, rsi
call fcn.140014214
jmp 0x14000f720
mov byte [rdi], dl
lea eax, [r12 - 1]
mov word [rbx + rax*2], dx
mov rdx, rbx
mov rcx, rsi
call fcn.14001356c
lea rcx, [rbp - 0x18]
call fcn.140013e88
lea rcx, [rbp + 0x50]
call fcn.1400158b4
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

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

Disassembly:
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 2
jb 0x14000f985
mov rax, rcx
ret
Function at 0x140010480
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14006cfc0]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov r8d, 0x104
lea rdx, [0x14006ea90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140010555
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.14001279c
cmp dword [rax], 2
jbe 0x140010541
mov dword [rsp + 0x40], ebx
lea rcx, str.GetModuleFileName_failed
mov qword [rsp + 0x48], rcx
test ebx, ebx
jle 0x140010510
movzx ebx, bx
or ebx, 0x80070000
mov dword [rsp + 0x44], ebx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14005d00c]
mov rcx, rax
call fcn.140001f94
lea rdx, [0x14004c86c]
mov rcx, rdi
call fcn.14001356c
jmp 0x140010669
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x14004bc00]
movdqu xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x80], si
movups xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], si
movups xmmword [rbp - 0x20], xmm0
movdqu xmmword [rbp - 0x10], xmm1
mov word [rbp - 0x20], si
movups xmmword [rbp - 0x40], xmm0
movdqu xmmword [rbp - 0x30], xmm1
mov word [rbp - 0x40], si
mov r8d, eax
lea rdx, [0x14006ea90]
lea rcx, [rbp - 0x60]
call fcn.14001353c
nop
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x20]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14002b80c
mov bl, al
lea rcx, [rbp - 0x60]
call fcn.140013e34
test bl, bl
jne 0x1400105e9
lea rdx, [0x14004c86c]
mov rcx, rdi
call fcn.14001356c
jmp 0x140010641
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x14004bc00]
movdqu xmmword [rbp - 0x50], xmm1
mov word [rbp - 0x60], si
movups xmmword [rbp], xmm0
movdqu xmmword [rbp + 0x10], xmm1
mov word [rbp], si
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14002b648
nop
lea rcx, [rbp]
call fcn.140013e34
nop
lea rcx, [rbp - 0x60]
call fcn.140013e34
nop
lea rcx, [rbp - 0x40]
call fcn.140013e34
nop
lea rcx, [rbp - 0x20]
call fcn.140013e34
nop
lea rcx, [rsp + 0x60]
call fcn.140013e34
nop
lea rcx, [rbp - 0x80]
call fcn.140013e34
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400165f0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret