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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rbx, rcx
mov r9, qword [rdx + 0x10]
mov r8, rdx
jae 0x140041fba
xor ecx, ecx
movabs rdi, 0xcbf29ce484222325
add r9, r9
je 0x1400044be
movzx eax, byte [rcx + r8]
movabs r10, 0x100000001b3
xor rdi, rax
inc rcx
imul rdi, r10
cmp rcx, r9
jb 0x1400044a0
mov r8, rdx
mov r9, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001e314
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140004526
mov rax, qword [rbx + 0x30]
mov r8, qword [rbx + 0x18]
and rax, rdi
add rax, rax
cmp qword [r8 + rax*8 + 8], rdx
jne 0x140041fc2
cmp qword [r8 + rax*8], rdx
jne 0x140004520
mov rcx, qword [rbx + 8]
mov qword [r8 + rax*8], rcx
mov qword [r8 + rax*8 + 8], rcx
lea rcx, [rbx + 8]
call fcn.140004530
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rdx + 8]
jmp 0x140004501
xor eax, eax
jmp 0x140004514
mov r8, qword [rdx]
jmp 0x14000448f
cmp qword [r8 + rax*8], rdx
jne 0x140004506
mov rcx, qword [rdx]
mov qword [r8 + rax*8], rcx
jmp 0x140004506

Function at 0x140007ed4
Capabilities:
Delete registry key

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r8
mov rbx, rdx
mov rdi, qword [rcx + 0xb0]
cmp r8, 0xffffffffffffffff
je 0x140044c58
lea r9, [rsp + 0x30]
mov r8, rdx
mov rdx, rdi
call fcn.140025578
lea rdx, [rsp + 0x30]
test al, al
cmove rdx, rbx
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyTransactedW]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140036b80
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret
mov rcx, rdi
call fcn.14006c120
nop
jmp 0x140007f44
Function at 0x140007f68
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor r15d, r15d
mov qword [rsp + 0x68], 0x41
lea rax, [rsp + 0x70]
mov word [rsp + 0x70], r15w
mov qword [rsp + 0x60], rax
mov rdi, r8
lea rax, [0x1400a2bc8]
mov dword [rbp - 8], r15d
mov r9, r8
mov qword [rsp + 0x58], rax
mov r14, rdx
mov qword [rbp], r15
mov r8, rdx
lea rax, [0x1400a2b08]
mov rdx, qword [rcx + 0xb0]
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.140007dfc
mov ebx, eax
test eax, eax
jne 0x14000804a
mov rcx, qword [rbp]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r15
lea r8, [rbp + 0x10]
mov qword [rsp + 0x28], r15
xor edx, edx
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov r8, rdi
test eax, eax
je 0x140044c66
mov rdx, r14
mov rcx, rsi
call fcn.140007ed4
mov ebx, eax
lea rcx, [rsp + 0x50]
call fcn.140014d5c
mov eax, ebx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140036b80
mov rbx, qword [rsp + 0x368]
add rsp, 0x320
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140007f68
nop
jmp 0x140007ff0

Function at 0x140008184
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
je 0x140047ea6
mov r9d, 4
lea rax, [r11 + 0x18]
mov dword [r11 - 0x10], r9d
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140047ead
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, 1
add rsp, 0x38
ret
mov ecx, 6
jmp 0x140047eaf
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400081db

Function at 0x1400081e8
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx + 0xb0]
xor ebx, ebx
test rcx, rcx
je 0x140047efc
or rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], bx
jne 0x140008204
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140047f03
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, 1
add rsp, 0x30
pop rbx
ret
mov ecx, 6
jmp 0x140047f05
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14000824e
Function at 0x14000a148
Capabilities:
Get common file path
Set environment variable

Disassembly:
sub rsp, 0x258
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp byte [0x1400d1ed8], 0
je 0x14000a185
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140036b80
add rsp, 0x258
ret
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x801c
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
nop dword [rax + rax]
test eax, eax
jne 0x14000a16c
lea rdx, [rsp + 0x30]
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetEnvironmentVariableW]
nop dword [rax + rax]
test eax, eax
je 0x140049cfc
mov byte [0x1400d1ed8], 1
jmp 0x14000a16a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14000a16c
movzx eax, ax
or eax, 0x80070000
jmp 0x14000a16c
Function at 0x14000d130
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, rcx
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0x41
xor r15d, r15d
mov word [rbp - 0x30], r15w
lea rax, [0x1400a2bc8]
mov qword [rbp - 0x48], rax
lea rax, [0x1400a2b08]
mov qword [rbp - 0x50], rax
mov dword [rbp + 0x58], r15d
mov qword [rbp + 0x60], r15
mov qword [rsp + 0x20], r15
mov r9d, 0x2001f
lea r8, str.SOFTWAREMicrosoftWindows_SearchCrawlScopeManager_
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x50]
call fcn.140013564
lea r8, [rsp + 0x30]
lea rdx, str.SQMFullDriveIndexingSent
lea rcx, [rbp - 0x50]
call fcn.14001a0e0
test eax, eax
jne 0x14000d2ae
mov rcx, qword [rsi + 0xa8]
mov rdx, qword [rcx]
call fcn.1400222ec
mov rdi, rax
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400ac118]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x14000d2ae
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140016b70
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.14001a8f8
nop
mov r14d, r15d
jmp 0x14000d272
cmp qword [rbx + 8], 2
jne 0x14000d272
xor edx, edx
mov rcx, rbx
call fcn.14001a818
lea rdx, str.file:
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14004f7a6
test rdi, rdi
je 0x14000d294
mov rbx, rdi
mov rdx, rdi
mov rcx, qword [rsi + 0xa8]
call fcn.140020410
mov rdi, rax
cmp dword [rbx + 0x50], r15d
je 0x14000d272
jmp 0x14000d243
lea rcx, [rsp + 0x40]
call fcn.140016c90
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
lea rcx, [rbp - 0x50]
call fcn.140014d5c
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140036b80
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov edx, 1
mov rcx, rbx
call fcn.14001a818
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14001a8f8
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140016fe0
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.140016c90
neg ebx
sbb eax, eax
add eax, 2
or eax, r14d
mov r14d, eax
mov r8d, eax
lea rdx, str.SQMFullDriveIndexingSent
lea rcx, [rbp - 0x50]
call fcn.140008184
nop
jmp 0x14000d272
Function at 0x14001195c
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [r14 + 0xb0]
test rcx, rcx
je 0x140011aec
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
mov ecx, 0xea
test eax, eax
jne 0x140011a86
mov edx, dword [rsp + 0x34]
lea eax, [rdx - 1]
cmp eax, 1
ja 0x140043d7c
cmp dword [rsp + 0x34], 2
je 0x140011aa0
cmp ebx, ecx
mov rcx, rdi
je 0x140043dc8
mov edx, dword [rsp + 0x30]
mov esi, edx
shr edx, 1
call fcn.140011b30
lea r8, [rsp + 0x40]
mov edx, esi
mov rcx, rax
call fcn.140011b68
mov rcx, qword [rsp + 0x278]
test eax, eax
js 0x140043e07
test ebx, ebx
jne 0x140043e1b
mov ecx, dword [rsp + 0x30]
shr ecx, 1
mov dword [rsp + 0x30], ecx
lea eax, [rcx - 1]
neg ecx
sbb edx, edx
and edx, eax
mov rcx, rdi
call fcn.140011b00
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140036b80
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop r14
pop rdi
pop rsi
ret
cmp ebx, ecx
je 0x1400119e7
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x140011a61
cmp ebx, ecx
je 0x140043d8a
mov esi, 0x104
mov edx, esi
mov rcx, rdi
call fcn.140011b30
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140043da9
add eax, eax
mov dword [rsp + 0x30], eax
jmp 0x140011a39
mov ecx, 6
jmp 0x140011a90
cmp edx, 7
je 0x1400119f7
jmp 0x140011a8e
mov rcx, qword [rsp + 0x278]
mov r9d, 0xce
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x2f4
call fcn.14005c5e0
mov rcx, qword [rsp + 0x278]
mov r9d, 0xce
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x2fa
call fcn.14005c5e0
mov edx, dword [rsp + 0x30]
shr edx, 1
call fcn.140011b30
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [r14 + 0xb0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
jmp 0x140011a39
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x309
call fcn.140068a64
mov rcx, qword [rsp + 0x278]
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x30e
call fcn.14005c5e0
int3
Function at 0x140012370
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov r14, rcx
lea rax, [rbp + 0x60]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0x41
xor edi, edi
mov word [rbp + 0x60], di
lea r12, [0x1400a2bc8]
mov qword [rbp + 0x48], r12
lea r13, [0x1400a2b08]
mov qword [rbp + 0x40], r13
mov dword [rbp + 0xe8], edi
mov qword [rbp + 0xf0], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xf003f
mov r8, qword [0x1400d25f8]
lea rcx, [rbp + 0x40]
call fcn.140013564
test eax, eax
js 0x140043ff2
mov esi, edi
mov dword [rsp + 0x30], 0x100
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x100]
mov edx, esi
lea rcx, [rbp + 0x40]
call fcn.1400136a4
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x103
je 0x1400124fe
test ebx, ebx
je 0x140044008
lea rax, [rbp - 0x60]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x41
mov word [rbp - 0x60], di
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x80], r13
mov dword [rbp + 0x28], edi
mov qword [rbp + 0x30], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xf003f
lea r8, [rbp + 0x100]
mov rdx, qword [rbp + 0xf0]
lea rcx, [rbp - 0x80]
call fcn.140013564
test eax, eax
js 0x140044013
lea rcx, [rsp + 0x40]
call fcn.14001a83c
nop
lea rdx, [0x1400d2518]
lea rcx, [rsp + 0x38]
call fcn.14001a960
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.14001c650
mov rbx, qword [rsp + 0x38]
test eax, eax
js 0x1400124d9
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, r14
call fcn.14001b9f8
inc esi
lea rcx, [rbx - 0x18]
call fcn.1400182a0
nop
lea rcx, [rsp + 0x40]
call fcn.140016a00
nop
lea rcx, [rbp - 0x80]
call fcn.140014d5c
jmp 0x140012403
lea rcx, [rbp + 0x40]
call fcn.140014d5c
mov eax, edi
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.140036b80
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
nop
cmp eax, 2
je 0x1400124fe
test eax, eax
jg 0x14004403f
mov edi, eax
jmp 0x1400124fe
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x140044027
mov edi, eax
jmp 0x140044030
movzx edi, ax
or edi, 0x80070000
lea rcx, [rbp - 0x80]
call fcn.140014d5c
nop
jmp 0x1400124fe
movzx edi, ax
or edi, 0x80070000
jmp 0x1400124fe
Function at 0x140013748
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov r14, rcx
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], 0x41
xor ebx, ebx
mov word [rbp + 0xa0], bx
lea r12, [0x1400a2bc8]
mov qword [rbp + 0x88], r12
lea r13, [0x1400a2b08]
mov qword [rbp + 0x80], r13
mov dword [rbp + 0x128], ebx
mov qword [rbp + 0x130], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 0xf003f
mov r8, qword [r8]
lea rcx, [rbp + 0x80]
call fcn.140013564
test eax, eax
js 0x1400449d4
mov edi, ebx
mov dword [rsp + 0x30], 0x100
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x140]
mov edx, edi
lea rcx, [rbp + 0x80]
call fcn.1400136a4
mov esi, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x103
je 0x1400138ff
test esi, esi
je 0x1400449ea
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0x41
mov word [rbp - 0x20], bx
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x40], r13
mov dword [rbp + 0x68], ebx
mov qword [rbp + 0x70], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 0xf003f
lea r8, [rbp + 0x140]
mov rdx, qword [rbp + 0x130]
lea rcx, [rbp - 0x40]
call fcn.140013564
test eax, eax
js 0x1400449f5
lea rax, [0x1400a2d18]
mov qword [rsp + 0x40], rax
lea rdx, [0x1400d2518]
lea rcx, [rsp + 0x48]
call fcn.14001a960
nop
lea rdx, [0x1400d2518]
lea rcx, [rsp + 0x50]
call fcn.14001a960
nop
mov byte [rsp + 0x78], bl
lea rcx, [rbp - 0x80]
call fcn.14001a8ac
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.140019f00
test eax, eax
js 0x1400138da
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140019ca8
inc edi
lea rcx, [rbp - 0x80]
call fcn.140016c90
nop
lea rcx, [rsp + 0x40]
call fcn.140019208
nop
lea rcx, [rbp - 0x40]
call fcn.140014d5c
jmp 0x1400137e5
lea rcx, [rbp + 0x80]
call fcn.140014d5c
mov eax, ebx
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140036b80
add rsp, 0x450
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
nop
cmp eax, 2
je 0x1400138ff
test eax, eax
jg 0x140044a21
mov ebx, eax
jmp 0x1400138ff
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x140044a09
mov ebx, eax
jmp 0x140044a12
movzx ebx, ax
or ebx, 0x80070000
lea rcx, [rbp - 0x40]
call fcn.140014d5c
nop
jmp 0x1400138ff
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400138ff
Function at 0x140019f00
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov r15, r8
mov rdi, rdx
mov r12, rcx
and qword [rsp + 0x60], 0
lea r8, [rsp + 0x60]
mov rcx, qword [rdx + 0xb0]
call fcn.14001a9a4
mov ebx, eax
test eax, eax
js 0x14001a0a4
lea r8, [rsp + 0x58]
lea rdx, str.Include
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x140047cd4
lea r8, [rsp + 0x54]
lea rdx, str.Suppress
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x140047cd4
lea r8, [rsp + 0x50]
lea rdx, str.Default
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x140047cd4
lea r8, [rsp + 0xa8]
lea rdx, str.Policy
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x140047cf8
mov esi, dword [rsp + 0xa8]
and dword [rsp + 0xb8], 0
lea r8, [rsp + 0xb8]
lea rdx, str.NoContent
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x140047d1b
and dword [rsp + 0xa8], 0
lea r8, [rsp + 0xa8]
lea rdx, [0x1400aa3a0]
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x140047d33
cmp dword [rsp + 0xa8], 0
setne r14b
mov rdi, qword [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0xa8]
call fcn.140016b70
nop
mov byte [rsp + 0x48], r14b
mov ecx, dword [rsp + 0xb8]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], esi
mov edx, 1
mov dword [rsp + 0x30], edx
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x58]
mov rdx, rax
mov rcx, r12
call fcn.140013938
nop
mov rcx, qword [rsp + 0xa8]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
mov rdx, rdi
lea rcx, [rsp + 0xa8]
call fcn.140016b70
nop
mov rdx, rax
mov rcx, r15
call fcn.140017380
nop
mov rcx, qword [rsp + 0xa8]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14001a0b6
mov rcx, rdi
call fcn.14003729c
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14001a0a4
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14001a0a4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x140047d10
xor esi, esi
jmp 0x140019fb5
test eax, eax
jg 0x140047cea
mov ebx, eax
jmp 0x14001a0a4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x140047d10
jmp 0x140019fdc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x140047d10
jmp 0x14001a003
Function at 0x14001a0e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rdi, r8
xor ecx, ecx
mov rsi, rdx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rbx + 0xb0]
mov dword [rsp + 0x50], 4
test rcx, rcx
je 0x14001a17e
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x30]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001a16c
cmp dword [rsp + 0x68], 4
jne 0x14001a16c
mov eax, dword [rsp + 0x30]
mov dword [rdi], eax
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14001a15b
mov ecx, 6
jmp 0x14001a16e

Function at 0x14001a9a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
xor ebp, ebp
lea rax, [r11 + 0x10]
mov qword [r8], rbp
lea rdx, [0x1400aa418]
mov rsi, r8
mov qword [r11 - 0x10], rax
xor r8d, r8d
mov qword [r11 - 0x18], rbp
xor r9d, r9d
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140047ec2
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140047ed5
shr eax, 1
lea ecx, [rax + 1]
lea eax, [rbp + 2]
mul rcx
lea rcx, [rbp - 1]
lea rdx, [0x1400aa420]
cmovo rax, rcx
mov rcx, rax
call fcn.14003726c
mov rdi, rax
test rax, rax
je 0x14001aa85
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1400aa418]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140047edf
mov eax, dword [rsp + 0x48]
shr rax, 1
mov word [rdi + rax*2], bp
xor eax, eax
mov qword [rsi], rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov eax, 0x8007000e
jmp 0x14001aa6f
jle 0x14001aa6f
movzx eax, ax
or eax, 0x80070000
jmp 0x14001aa6f
mov eax, 0x8000ffff
jmp 0x14001aa6f
mov rcx, rdi
call fcn.14003729c
test ebx, ebx
jle 0x140047ef4
movzx ebx, bx
or ebx, 0x80070000
mov eax, ebx
jmp 0x14001aa6f