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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov rdi, r8
mov r9, rcx
movzx r8d, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov rsi, rdx
xor r8, rax
movzx eax, byte [rdi + 0x11]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x13]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x14]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x15]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x16]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x17]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r9 + 0x18]
and rdx, r8
shl rdx, 4
add rcx, rdx
cmp qword [rcx + 8], rdi
jne 0x14001ed07
cmp qword [rcx], rdi
jne 0x14001ecfd
mov rax, qword [r9 + 8]
mov qword [rcx], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x14001ed12
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x14001ed12
cmp qword [rcx], rdi
jne 0x14001ed17
mov rax, qword [rdi]
mov qword [rcx], rax
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi + 8]
lea rcx, [rdi + 0x18]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r9 + 0x10]
call fcn.14001c1a0
mov rcx, rdi
call fcn.140051ff8
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 0x14001f740
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400d9040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, qword [rsi + 8]
mov rbx, rax
mov rcx, rdi
call qword [fcn.1400072c0]
lea r8, [rsp + 0x30]
mov edx, 0x20
mov rcx, rbx
call rdi
test eax, eax
je 0x14001f82c
mov rbx, qword [rsi + 0x18]
xor eax, eax
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
call qword [fcn.1400072c0]
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call rbx
test eax, eax
je 0x14001f81c
mov rbx, qword [rsi + 0x20]
mov rcx, rbx
call qword [fcn.1400072c0]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov r9d, 0x10
mov qword [rsp + 0x28], 0
xor edx, edx
mov qword [rsp + 0x20], 0
call rbx
test eax, eax
je 0x14001f81c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
je 0x14001f81c
mov bl, 1
jmp 0x14001f81e
xor bl, bl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140051640
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14001f850
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x5c0
mov rax, qword [0x1400d9040]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov rbx, rdx
mov ebp, ecx
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x104
call fcn.1400581c0
mov r8d, 0x104
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
lea rcx, [rsp + 0x1b0]
mov r8d, 0x400
call fcn.1400581c0
xor edi, edi
mov esi, 1
cmp ebp, esi
jle 0x14001f927
add rbx, 8
nop dword [rax]
cmp edi, 0x400
jae 0x14001f927
mov rcx, qword [rbx]
cmp byte [rcx], 0x22
je 0x14001f8f6
mov edx, 0x20
call fcn.140057fc0
lea r8, str.___s_
test rax, rax
jne 0x14001f8fd
lea r8, [0x1400b691c]
mov r9, qword [rbx]
lea rcx, [rsp + 0x1b0]
movsxd rax, edi
mov edx, 0x400
sub rdx, rax
add rcx, rax
call fcn.14001f610
add edi, eax
inc esi
add rbx, 8
cmp esi, ebp
jl 0x14001f8d0
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x70]
call fcn.1400581c0
lea rax, str.runas
mov dword [rsp + 0x30], 0x70
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x60], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x14001f9d2
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14001f9d2
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x98]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
jmp 0x14001fad1
mov ecx, 2
call fcn.14005a190
mov rcx, rax
lea rdx, str.error:_failed_to_elevate_privilege
call fcn.140007160
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 8
jg 0x14001fa5b
cmp eax, 8
je 0x14001fa48
sub eax, 2
je 0x14001fa35
sub eax, 1
je 0x14001fa1f
cmp eax, 2
jne 0x14001fa6f
mov ecx, eax
call fcn.14005a190
lea rdx, str._access_denied_._n
jmp 0x14001fac4
mov ecx, 2
call fcn.14005a190
lea rdx, str._path_not_found_._n
jmp 0x14001fac4
mov ecx, 2
call fcn.14005a190
lea rdx, str._file_not_found_._n
jmp 0x14001fac4
mov ecx, 2
call fcn.14005a190
lea rdx, str._out_of_memory_._n
jmp 0x14001fac4
mov ecx, ebx
sub ecx, 0x20
je 0x14001fab3
sub ecx, 0x465
je 0x14001faa0
cmp ecx, 0x42
je 0x14001fa8d
mov ecx, 2
call fcn.14005a190
mov rcx, rax
lea rdx, str.__u_._n
mov r8d, ebx
call fcn.140007160
jmp 0x14001facc
mov ecx, 2
call fcn.14005a190
lea rdx, str._cancelled_._n
jmp 0x14001fac4
mov ecx, 2
call fcn.14005a190
lea rdx, str._dll_not_found_._n
jmp 0x14001fac4
mov ecx, 2
call fcn.14005a190
lea rdx, str._sharing_violation_._n
mov rcx, rax
call fcn.140007160
mov eax, 2
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.140051640
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400494f0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400d9040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r8d, 4
mov dword [0x1400e456c], 0xffffffff
lea rdx, str.FREQ
mov qword [rsp + 0x48], 0xf
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
call fcn.14000b500
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, str.Processor_Performance_PPM_Processor_0_Processor_Frequency
call fcn.14004c7d0
test al, al
je 0x140049582
call fcn.14004ca80
mov rax, qword [0x1400e72e0]
mov ecx, dword [rax + 8]
mov dword [0x1400e456c], ecx
call fcn.14004c990
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140051640
add rsp, 0x78
ret
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], 0x104
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x5c], 4
test eax, eax
jne 0x140049607
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rdx, str.MHz
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x1400e456c]
test eax, eax
cmove ecx, dword [rsp + 0x58]
mov dword [0x1400e456c], ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140051640
add rsp, 0x78
ret
Function at 0x14004e570
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x14004e633
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x14004e5a4
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14004e636
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x14004e5ef
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x14004e5f3
test rax, rax
je 0x14004e633
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x14004e624
cmp rdx, rax
jb 0x14004e610
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14004eed0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rax, qword [0x1400e1d10]
xor esi, esi
mov rbx, r8
mov r14, rdx
mov ebp, ecx
test rax, rax
jne 0x14004ef19
xor edx, edx
lea rcx, str.Setupapi.dll
call fcn.14004fb20
mov qword [0x1400e1d10], rax
test rax, rax
je 0x14004eff6
cmp qword [0x1400e1d18], rsi
jne 0x14004ef49
lea rdx, [0x1400b5ce0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e1d18], rax
test rax, rax
je 0x14004eff6
mov rax, qword [0x1400e1d10]
cmp qword [0x1400e1d20], rsi
jne 0x14004ef79
lea rdx, str.SetupDiEnumDeviceInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e1d20], rax
test rax, rax
je 0x14004eff6
mov rax, qword [0x1400e1d10]
cmp qword [0x1400e1e50], rsi
jne 0x14004efa5
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e1e50], rax
test rax, rax
je 0x14004eff6
mov rax, qword [0x1400e1d10]
cmp qword [0x1400e1d28], rsi
jne 0x14004efd1
lea rdx, [0x1400b5d10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e1d28], rax
test rax, rax
je 0x14004eff6
mov rax, qword [0x1400e1d10]
cmp qword [0x1400e17a8], rsi
jne 0x14004effd
lea rdx, [0x1400b5bd8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e17a8], rax
test rax, rax
jne 0x14004effd
xor eax, eax
jmp 0x14004f09d
mov r9d, 6
mov qword [rsp + 0x30], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [0x1400e1d18]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14004f096
xor eax, eax
mov r8, rbx
mov qword [rbx], rax
xor edx, edx
mov qword [rbx + 8], rax
mov rcx, rdi
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov dword [rbx], 0x20
call qword [0x1400e1d20]
test eax, eax
je 0x14004f08d
nop word [rax + rax]
mov r8, rbx
mov rdx, rdi
mov ecx, ebp
call fcn.14004f460
cmp eax, 1
je 0x14004f0b3
xor eax, eax
inc esi
mov qword [rbx], rax
mov r8, rbx
mov qword [rbx + 8], rax
mov edx, esi
mov qword [rbx + 0x10], rax
mov rcx, rdi
mov qword [rbx + 0x18], rax
mov dword [rbx], 0x20
call qword [0x1400e1d20]
test eax, eax
jne 0x14004f050
mov rcx, rdi
call qword [0x1400e17a8]
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [r14], rdi
mov eax, 1
jmp 0x14004f098
Function at 0x140050360
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
mov rbx, rcx
xor ebp, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x140050585
xor edx, edx
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], dx
jne 0x140050386
test rax, rax
je 0x1400503c4
xor ecx, ecx
nop word [rax + rax]
movzx r8d, word [rbx + rcx*2]
cmp r8w, 0x5c
je 0x140050585
cmp r8w, 0x2f
je 0x140050585
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x1400503a0
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call fcn.1400505a0
mov rsi, rax
test rax, rax
je 0x1400504b5
mov qword [rsp + 0x50], r14
call fcn.140050d30
mov r14, rax
test rax, rax
je 0x1400504a2
mov rcx, rsi
call fcn.14004e3d0
test eax, eax
je 0x14005048b
lea rax, str.system32_
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x20]
lea rax, str.SystemRoot_system32_
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov rdx, qword [rdi]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x140050437
mov r8, rbx
mov rcx, rsi
call fcn.140059d30
test eax, eax
je 0x14005045f
add rdi, 8
lea rax, [rsp + 0x30]
cmp rdi, rax
jb 0x140050430
jmp 0x14005046e
lea rdx, [rsi + rbx*2]
mov rcx, r14
call fcn.14004fd60
mov rbp, rax
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x140050499
mov rcx, rsi
call fcn.14004e370
test eax, eax
je 0x140050499
mov rbp, rsi
xor esi, esi
jmp 0x140050499
mov rdx, rsi
mov rcx, r14
call fcn.14004fd60
mov rbp, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x50]
jmp 0x140050551
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x14005055a
mov rcx, rbx
call fcn.14004e250
mov rdi, rax
test rax, rax
je 0x14005055a
mov ecx, 0x37e4
call fcn.14004f900
test eax, eax
je 0x1400504ef
xor ecx, ecx
call fcn.140050a70
jmp 0x1400504f4
call fcn.140050d30
mov rbx, rax
test rax, rax
je 0x140050548
mov rdx, rdi
mov rcx, rax
call fcn.14004fd60
mov rbp, rax
test rax, rax
je 0x14005053f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140050521
test al, 0x50
je 0x14005053f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140050534
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
je 0x14005055a
xor ecx, ecx
jmp 0x140050567
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14005056d
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x48]
mov rax, rbp
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rbp
ret
Function at 0x140050d30
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov ecx, 0x40
add rdx, rdx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140050d92
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140050d87
cmp edi, eax
jb 0x140050d87
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140061890
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140061723
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140061723
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140061723
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140061723
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140061723
cmp dword [rcx + 0x84], 0xe
jbe 0x140061723
cmp dword [rcx + 0xf8], 0
je 0x140061723
mov ecx, ebx
call fcn.1400617c4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400615b4
cmp dword [rbp + 0x20], 0
je 0x140061770
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140061778
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400616bc

Function at 0x14007de38
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14007de4b
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140088198
lea rdx, [0x1400d5de8]
lea rcx, [rsp + 0x20]
call fcn.140058ab8
int3

Function at 0x140088bcc
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400e3be8]
xor edx, edx
jmp fcn.14007de38

Function at 0x1400895ec
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400e3be8]
jmp fcn.14007de38
Function at 0x140023310
Capabilities:
Get file version info

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x1400c7368]
xor rax, rsp
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [str.Unknown]
mov rbp, rdx
mov r14, rcx
xorps xmm1, xmm1
xor edx, edx
movaps xmmword [rsp + 0x60], xmm0
mov rcx, rbp
movups xmmword [rsp + 0x70], xmm1
movzx r15d, r8b
movups xmmword [rsp + 0x80], xmm1
movups xmmword [rsp + 0x90], xmm1
movups xmmword [r11 - 0x78], xmm1
movups xmmword [r11 - 0x68], xmm1
movups xmmword [r11 - 0x58], xmm1
movups xmmword [r11 - 0x48], xmm1
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x140023464
mov ecx, esi
lea rdx, [0x1400a86a0]
call fcn.140036c04
mov rdi, rax
test rax, rax
je 0x140023464
lea rdx, [0x1400a86a0]
mov ecx, 4
call fcn.14003601c
mov rbx, rax
test rax, rax
je 0x14002345c
mov r9, rdi
mov dword [rax], 1
mov r8d, esi
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140023440
xor eax, eax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rax
lea rdx, [0x1400a6a1c]
mov dword [rsp + 0x50], eax
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140023440
mov rdx, qword [rsp + 0x58]
movzx ecx, word [rdx + 0xc]
movzx r8d, word [rdx + 0xe]
movzx eax, word [rdx + 8]
movzx r9d, word [rdx + 0xa]
mov edx, 0x40
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], r8d
lea r8, str._u._u._u._u
mov dword [rsp + 0x20], eax
call fcn.14000d510
sub dword [rbx], 1
jne 0x140023464
mov rcx, rdi
call fcn.140035d64
mov edx, 4
mov rcx, rbx
call fcn.140035d5c
jmp 0x140023464
mov rcx, rdi
call fcn.140035d64
call fcn.140016dd0
mov edx, 0x800
mov r8d, 1
mov rcx, rbp
mov rbx, rax
call fcn.140015200
mov rdi, rax
call fcn.140016dd0
mov rcx, qword [r14]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsNvcPluginLoadHelperWin32.cpp
mov rsi, rax
mov r9d, 3
lea rax, [rsp + 0x60]
sub esi, ebx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rax
lea r8d, [r9 + 0x4e]
lea rax, str.Secure_loading__ls____ls_at__p_took__lu_microseconds
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.14001c5e0
test rdi, rdi
je 0x1400234df
test r15b, r15b
je 0x1400234df
mov rax, qword [r14 + 0x10]
test rax, rax
je 0x1400234df
mov dword [rax + 0x40], esi
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140035e00
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140032770
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
mov qword [rsp], 0x1505
mov rax, qword [rsp + 8]
movsx rax, byte [rax]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
je 0x1400327c5
mov rax, qword [rsp]
shl rax, 5
add rax, qword [rsp]
add rax, qword [rsp + 0x10]
mov qword [rsp], rax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
jmp 0x14003278b
mov rax, qword [rsp]
add rsp, 0x28
ret
Function at 0x140002200
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x948
mov rax, qword [0x1400732e8]
xor rax, rsp
mov qword [rsp + 0x930], rax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
lea rcx, [0x140065d98]
call qword [sym.imp.ole32.dll_StringFromCLSID]
mov r8, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x80
call fcn.1400380a8
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea r9, [rsp + 0x30]
mov edx, 0x400
lea r8, str.CLSID_s
lea rcx, [rsp + 0x130]
call fcn.140002450
lea rdx, [rsp + 0x130]
mov rcx, 0xffffffff80000000
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rsp + 0x930]
xor rcx, rsp
call fcn.140015a80
add rsp, 0x948
ret

Function at 0x1400023a0
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x840
mov rax, qword [0x1400732e8]
xor rax, rsp
mov qword [rsp + 0x830], rax
lea rbx, str.FormatFactoryShell
mov edx, 0x400
lea r9, [0x140065ed4]
mov qword [rsp + 0x20], rbx
lea r8, str._s_shellexContextMenuHandlers_s
lea rcx, [rsp + 0x30]
call fcn.140002450
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000000
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea r9, [0x140065ed8]
mov qword [rsp + 0x20], rbx
lea r8, str._s_shellexContextMenuHandlers_s
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.140002450
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000000
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140015a80
add rsp, 0x840
pop rbx
ret

Function at 0x140009df0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov ebx, ecx
mov edi, edx
lea rcx, [rsp + 0x50]
call fcn.140009da0
mov eax, dword [0x140075924]
lea r14, [0x140073050]
mov r11d, dword [0x140075928]
xor edx, edx
mov r9, qword [rsp + 0x50]
cmp eax, 0x218
movabs r15, 0xf2b9d6480f2b9d65
lea ecx, [rax + 1]
cmovae ecx, edx
lea esi, [r11 + 1]
mov dword [0x140075924], ecx
lea ebp, [rdx + 8]
mov r10d, dword [rcx + r14]
add r10d, r9d
nop word [rax + rax]
lea ecx, [rsi - 1]
mov rax, r15
mul rcx
mov r8d, r11d
shr rdx, 9
imul rax, rdx, 0x21c
sub rcx, rax
mov rax, r15
xor r10d, dword [r14 + rcx*4]
sub r8d, r10d
mov ecx, esi
mul rcx
add r8d, r9d
mov r9d, r11d
shr rdx, 9
xor r8d, r11d
imul rax, rdx, 0x21c
sub rcx, rax
mov rax, r15
xor r10d, dword [r14 + rcx*4]
lea ecx, [rsi + 1]
mul rcx
sub r9d, r10d
add r9d, r8d
shr rdx, 9
imul rax, rdx, 0x21c
xor r9d, r11d
mov r8d, r11d
sub rcx, rax
mov rax, r15
xor r10d, dword [r14 + rcx*4]
lea ecx, [rsi + 2]
mul rcx
sub r8d, r10d
add esi, 4
add r8d, r9d
shr rdx, 9
imul rax, rdx, 0x21c
xor r8d, r11d
sub rcx, rax
mov eax, r11d
xor r10d, dword [r14 + rcx*4]
sub eax, r10d
add eax, r8d
xor eax, r11d
mov r9d, eax
sub rbp, 1
jne 0x140009e60
mov dword [0x140075928], eax
cmp edi, ebx
jae 0x140009f19
mov eax, ebx
jmp 0x140009f2d
je 0x140009f15
sub edi, ebx
add edi, 1
je 0x140009f29
xor edx, edx
div edi
mov r9d, edx
lea eax, [r9 + rbx]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret