joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180028110
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push r14
sub rsp, 0x58
mov r14, rcx
test rdx, rdx
je 0x180028138
or r9d, 0x20006
mov r8d, r9d
call fcn.180026a60
mov rbx, rax
jmp 0x18002813b
mov rbx, rcx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], r15
test rbx, rbx
je 0x180028294
mov rsi, qword [rsp + 0x90]
xor r12d, r12d
mov r15d, 1
mov edi, r12d
cmp dword [rsi + 8], r12d
jle 0x1800281ac
nop word [rax + rax]
lea rdx, [rsp + 0x78]
mov r8d, edi
mov rcx, rsi
call fcn.180027a80
mov rcx, qword [rax]
mov eax, dword [rcx - 8]
lea rcx, [rsp + 0x78]
lea r15d, [r15 + rax + 1]
call fcn.18001d340
inc edi
cmp edi, dword [rsi + 8]
jl 0x180028180
mov ecx, r15d
mov edi, r15d
call fcn.18003783c
mov rbp, rax
test rax, rax
je 0x180028294
mov r8d, edi
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], r13
call fcn.1800369b0
mov r13, rbp
cmp dword [rsi + 8], r12d
jle 0x180028236
nop
lea rdx, [rsp + 0x78]
mov r8d, r12d
mov rcx, rsi
call fcn.180027a80
mov rdx, r13
mov rcx, qword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
inc rdx
inc rcx
mov byte [rdx - 1], al
test al, al
jne 0x180028200
lea rcx, [rsp + 0x78]
call fcn.18001d340
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
inc r12d
repne scasb al, byte [rdi]
not rcx
mov eax, ecx
add r13, rax
cmp r12d, dword [rsi + 8]
jl 0x1800281e0
mov rdx, qword [rsp + 0x80]
mov r9d, 7
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov r13, qword [rsp + 0x38]
test eax, eax
jne 0x18002827f
cmp rbx, r14
je 0x180028270
mov rcx, rbx
call fcn.180026ab0
mov rcx, rbp
call fcn.180038270
mov eax, 1
jmp 0x180028296
mov rcx, rbp
call fcn.180038270
cmp rbx, r14
je 0x180028294
mov rcx, rbx
call fcn.180026ab0
xor eax, eax
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x70]
add rsp, 0x58
pop r14
pop rbx
ret
Function at 0x180028690
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x1800286b5
or r8d, 0x20019
call fcn.180026a30
mov rdi, rax
jmp 0x1800286b8
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa0], rbp
call fcn.1800223e0
test rdi, rdi
je 0x1800287f1
xor ebx, ebx
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x98], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1800287e4
cmp dword [rsp + 0x60], ebx
jbe 0x1800287e4
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x98], eax
lea ecx, [rax + 1]
call fcn.18003783c
mov rbp, rax
test rax, rax
je 0x1800287e4
cmp dword [rsp + 0x60], ebx
jbe 0x1800287c8
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
call fcn.1800369b0
mov r9d, dword [rsp + 0x98]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x1800287c0
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800225e0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x180028780
mov rcx, rbp
call fcn.180038270
cmp rdi, r12
je 0x1800287dd
mov rcx, rdi
call fcn.180026ab0
mov eax, 1
jmp 0x1800287f3
cmp rdi, r12
je 0x1800287f1
mov rcx, rdi
call fcn.180026ab0
xor eax, eax
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180028690
Function at 0x180028810
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x180028835
or r8d, 0x20019
call fcn.180026a30
mov rdi, rax
jmp 0x180028838
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], r13
call fcn.1800223e0
test rdi, rdi
je 0x1800289a7
xor r13d, r13d
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x98], r13d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x18002899a
cmp dword [rsp + 0x60], r13d
jbe 0x18002899a
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
add eax, eax
cmp eax, ecx
cmova ecx, eax
mov dword [rsp + 0x98], ecx
inc ecx
call fcn.18003783c
mov rbp, rax
test rax, rax
je 0x18002899a
mov qword [rsp + 0x90], rbx
mov ebx, r13d
cmp dword [rsp + 0x60], ebx
jbe 0x180028976
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
call fcn.1800369b0
mov r11d, dword [rsp + 0x98]
mov qword [rsp + 0x38], r13
inc r11d
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x64]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x64], r11d
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x18002896e
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800225e0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x180028910
mov rcx, rbp
call fcn.180038270
mov rbx, qword [rsp + 0x90]
cmp rdi, r12
je 0x180028993
mov rcx, rdi
call fcn.180026ab0
mov eax, 1
jmp 0x1800289a9
cmp rdi, r12
je 0x1800289a7
mov rcx, rdi
call fcn.180026ab0
xor eax, eax
mov r13, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180028810
mov r8, rdx
xor edx, edx
jmp 0x180029020
Function at 0x180029000
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x1800286b5
or r8d, 0x20019
call fcn.180026a30
mov rdi, rax
jmp 0x1800286b8
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa0], rbp
call fcn.1800223e0
test rdi, rdi
je 0x1800287f1
xor ebx, ebx
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x98], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1800287e4
cmp dword [rsp + 0x60], ebx
jbe 0x1800287e4
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x98], eax
lea ecx, [rax + 1]
call fcn.18003783c
mov rbp, rax
test rax, rax
je 0x1800287e4
cmp dword [rsp + 0x60], ebx
jbe 0x1800287c8
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
call fcn.1800369b0
mov r9d, dword [rsp + 0x98]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x1800287c0
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800225e0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x180028780
mov rcx, rbp
call fcn.180038270
cmp rdi, r12
je 0x1800287dd
mov rcx, rdi
call fcn.180026ab0
mov eax, 1
jmp 0x1800287f3
cmp rdi, r12
je 0x1800287f1
mov rcx, rdi
call fcn.180026ab0
xor eax, eax
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180028690

Function at 0x180029010
Capabilities:
Query or enumerate registry key

Disassembly:
mov r8, rdx
xor edx, edx
jmp fcn.180029000
Function at 0x180029030
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x180028835
or r8d, 0x20019
call fcn.180026a30
mov rdi, rax
jmp 0x180028838
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], r13
call fcn.1800223e0
test rdi, rdi
je 0x1800289a7
xor r13d, r13d
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x98], r13d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x18002899a
cmp dword [rsp + 0x60], r13d
jbe 0x18002899a
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
add eax, eax
cmp eax, ecx
cmova ecx, eax
mov dword [rsp + 0x98], ecx
inc ecx
call fcn.18003783c
mov rbp, rax
test rax, rax
je 0x18002899a
mov qword [rsp + 0x90], rbx
mov ebx, r13d
cmp dword [rsp + 0x60], ebx
jbe 0x180028976
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
call fcn.1800369b0
mov r11d, dword [rsp + 0x98]
mov qword [rsp + 0x38], r13
inc r11d
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x64]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x64], r11d
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x18002896e
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800225e0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x180028910
mov rcx, rbp
call fcn.180038270
mov rbx, qword [rsp + 0x90]
cmp rdi, r12
je 0x180028993
mov rcx, rdi
call fcn.180026ab0
mov eax, 1
jmp 0x1800289a9
cmp rdi, r12
je 0x1800289a7
mov rcx, rdi
call fcn.180026ab0
xor eax, eax
mov r13, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180028810
mov r8, rdx
xor edx, edx
jmp 0x180029020

Function at 0x180029040
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
xor edx, edx
jmp fcn.180027990
Function at 0x180029210
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x180029228
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rbx + 0x28]
mov r9d, dword [rbx + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 0x10]
lea rdx, [rsp + 0x20]
lea ecx, [r8 + 2]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [rbx + 0x34]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18002927a
mov rcx, qword [rbx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [rbx + 0x18], 0
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x1800294d0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x180029580
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, dword [rcx + 0x38]
mov esi, 4
test edi, edi
je 0x18002951e
call fcn.18002c3e0
test eax, eax
je 0x18002951e
mov rcx, rbx
call fcn.180029440
lea ecx, [rdi - 0x2000]
cmp eax, ecx
jbe 0x180029517
add edi, eax
mov esi, 0x10004
jmp 0x180029520
xor edi, edi
lea rax, [rbx + 8]
lea r8, [0x1800293a0]
mov edx, edi
mov qword [rsp + 0x28], rax
mov r9, rbx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x180029580
mov edx, dword [rbx + 0x3c]
mov dword [rbx + 0x18], 1
test edx, edx
je 0x18002956b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x18002baa0
Capabilities:
Get common file path
Get file version info

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov eax, dword [0x18012146c]
test eax, eax
jne 0x18002bbc8
mov byte [rsp + 0x150], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x151]
call fcn.1800369b0
mov edx, 0x104
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x18002bbc2
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.1800369b0
lea r9, str.user32.dll
lea r8, [rsp + 0x150]
lea rdx, [0x1800c1ec8]
lea rcx, [rsp + 0x40]
call fcn.18003756c
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x24], eax
mov ecx, eax
call fcn.18003783c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18002bbc2
mov r9, rax
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x18002bbba
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x18002bbba
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov dword [0x18012146c], ecx
jmp 0x18002bbba
mov rcx, rbx
call fcn.180038270
mov eax, dword [0x18012146c]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180036980
add rsp, 0x270
pop rbx
ret

Function at 0x18002c140
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [0x180121470], 0
jne 0x18002c25f
lea rcx, [0x1801212f0]
mov edi, 1
mov dword [0x1801212f0], 0x94
mov dword [0x180121470], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor r11d, r11d
cmp dword [0x180121300], 2
sete r11b
mov dword [0x1800fff54], r11d
test r11d, r11d
je 0x18002c23f
lea rcx, [0x180121390]
mov qword [rsp + 0x30], rbx
mov dword [0x180121390], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProductInfo
mov rcx, rbx
mov qword [0x1801212e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x30]
mov qword [0x180121460], rax
mov rax, qword [0x1801212e8]
lea rcx, [0x180121430]
test rax, rax
je 0x18002c209
call rax
jmp 0x18002c20f
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x180121394]
cmp eax, 6
jae 0x18002c228
cmp eax, 5
jne 0x18002c23f
cmp dword [0x180121398], 2
jb 0x18002c23f
mov ecx, dword [0x1801212e0]
cmp word [0x180121430], 9
cmove ecx, edi
mov dword [0x1801212e0], ecx
lea rdx, [0x1801212f8]
lea rcx, [0x1801212f4]
call fcn.18002c000
call fcn.18002bd90
mov eax, edi
add rsp, 0x20
pop rdi
ret
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x18002d9a0
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov rsi, r8
mov edi, edx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.1800369b0
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x18002da04
lea r8, [rsp + 0x20]
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.18002d6d0
jmp 0x18002da0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x180121474], eax
test eax, eax
je 0x18002da1e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180036980
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
jmp 0x18002d9a0

Function at 0x18002daf0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x148
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.1800369b0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180036980
add rsp, 0x148
ret

Function at 0x18002db50
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x248
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], ax
call fcn.1800369b0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180036980
add rsp, 0x248
ret

Function at 0x18002dbb0
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov rsi, r8
mov edi, edx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.1800369b0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x18002dc2b
lea rcx, [rsp + 0x20]
mov edx, 0x5c
call fcn.180038b64
test rax, rax
je 0x18002dc17
mov byte [rax], 0
lea r8, [rsp + 0x20]
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.18002d6d0
jmp 0x18002dc31
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x180121474], eax
test eax, eax
je 0x18002dc45
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180036980
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
Function at 0x18002dc70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov rbp, r8
mov esi, edx
lea rcx, [rsp + 0x22]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], di
call fcn.1800369b0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x18002dcef
lea edx, [rdi + 0x5c]
lea rcx, [rsp + 0x20]
call fcn.180036878
test rax, rax
je 0x18002dcdb
mov word [rax], di
lea r8, [rsp + 0x20]
mov r9, rbp
mov edx, esi
mov rcx, rbx
call fcn.18002d770
jmp 0x18002dcf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x180121474], eax
test eax, eax
je 0x18002dd0b
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180036980
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret

Function at 0x18002dd40
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov rsi, r8
mov edi, edx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.1800369b0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x18002dda4
lea r8, [rsp + 0x20]
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.18002d6d0
jmp 0x18002ddaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x180121474], eax
test eax, eax
je 0x18002ddbe
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180036980
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret

Function at 0x18002dde0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov rbp, r8
mov esi, edx
lea rcx, [rsp + 0x22]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], di
call fcn.1800369b0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x18002de4a
lea r8, [rsp + 0x20]
mov r9, rbp
mov edx, esi
mov rcx, rbx
call fcn.18002d770
jmp 0x18002de50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x180121474], eax
test eax, eax
je 0x18002de66
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180036980
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002de90
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, r8
mov edi, edx
mov rbx, rcx
call fcn.18002c2b0
test eax, eax
je 0x18002decd
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.18002dd40
jmp 0x18002df44
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.1800369b0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x18002df23
lea rdx, [0x1800c1b30]
lea rcx, [rsp + 0x20]
mov r8d, 0x103
call fcn.18003e5d0
lea r8, [rsp + 0x20]
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.18002d6d0
jmp 0x18002df29
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x180121474], eax
test eax, eax
je 0x18002df3d
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180036980
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
jmp 0x18002de90

Function at 0x18002e1e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x170
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, rcx
mov r12, r8
mov ebp, edx
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], 0
call fcn.1800369b0
xor ebx, ebx
lea r8, [rsp + 0x38]
lea rdx, [0x1800c1c88]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x18002e2be
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, [0x1800c1c78]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x18002e2be
xor eax, eax
or rcx, 0xffffffffffffffff
mov byte [rsp + 0x153], bl
lea rdi, [rsp + 0x50]
repne scasb al, byte [rdi]
not rcx
sub ecx, 2
movsxd rdx, ecx
movzx eax, byte [rsp + rdx + 0x50]
cmp byte [rsp + rdx + 0x50], 0x5c
cmove eax, ebx
mov byte [rsp + rdx + 0x50], al
jmp 0x18002e309
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.1800369b0
mov eax, dword [0x1800cce10]
movups xmm0, xmmword [0x1800ccdf8]
movsd xmm1, qword [0x1800cce08]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1800cce14]
movaps xmmword [rsp + 0x50], xmm0
movsd qword [rsp + 0x60], xmm1
mov word [rsp + 0x6c], ax
call fcn.18002daf0
mov byte [rsp + 0x50], al
lea r8, [rsp + 0x50]
mov r9, r12
mov edx, ebp
mov rcx, rsi
call fcn.18002d6d0
mov edi, eax
mov dword [0x180121474], eax
test eax, eax
je 0x18002e32f
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180036980
add rsp, 0x170
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret