joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000588c
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 [0x1400dc7a8]
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, [0x1400ab888]
mov qword [rbp - 0x48], rax
lea rax, [0x1400ab7e8]
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.140010e54
lea r8, [rsp + 0x30]
lea rdx, str.SQMFullDriveIndexingSent
lea rcx, [rbp - 0x50]
call fcn.1400117c0
test eax, eax
jne 0x140005a0a
mov rcx, qword [rsi + 0xa8]
mov rdx, qword [rcx]
call fcn.14000bfa8
mov rdi, rax
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400b40a8]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x140005a0a
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140013000
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.140019a04
nop
mov r14d, r15d
jmp 0x1400059ce
cmp qword [rbx + 8], 2
jne 0x1400059ce
xor edx, edx
mov rcx, rbx
call fcn.14001c1e0
lea rdx, [0x1400b3488]
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 0x140034842
test rdi, rdi
je 0x1400059f0
mov rbx, rdi
mov rdx, rdi
mov rcx, qword [rsi + 0xa8]
call fcn.14000b6c0
mov rdi, rax
cmp dword [rbx + 0x50], r15d
je 0x1400059ce
jmp 0x14000599f
lea rcx, [rsp + 0x40]
call fcn.1400159b0
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
call fcn.140016150
nop
lea rcx, [rbp - 0x50]
call fcn.140012244
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140024b20
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.14001c1e0
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140019a04
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140013610
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.1400159b0
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.1400065a4
nop
jmp 0x1400059ce
Function at 0x1400065a4
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 0x140034e1c
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 0x140034e23
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 0x140034e25
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 0x1400065fb

Function at 0x140006608
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx + 0xb0]
xor ebx, ebx
test rcx, rcx
je 0x140034e38
or rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], bx
jne 0x140006624
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 0x140034e3f
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 0x140034e41
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 0x14000666e
Function at 0x140006e34
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor esi, esi
mov qword [rsp + 0x68], 0x41
lea rax, [rsp + 0x70]
mov word [rsp + 0x70], si
mov qword [rsp + 0x60], rax
mov rdi, r8
lea rax, [0x1400ab888]
mov dword [rbp - 8], esi
mov r9, r8
mov qword [rsp + 0x58], rax
mov r8, qword [rdx]
lea rax, [0x1400ab7e8]
mov rdx, qword [rcx + 0xb0]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov qword [rbp], rsi
call fcn.140006f9c
mov ebx, eax
test eax, eax
jne 0x14003531a
xor ecx, ecx
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rbp]
test rcx, rcx
je 0x14003532e
lea rax, [rsp + 0x48]
xor edx, edx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
lea r8, [rbp + 0x10]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140006f48
lea ebx, [rax + 1]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x103
je 0x140006f5a
test ebx, ebx
je 0x140006f8d
mov r8, rdi
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140007574
test eax, eax
je 0x140006eb9
jmp 0x140035338
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov ebx, esi
jmp 0x140006f13
mov eax, esi
mov ebx, eax
lea rcx, [rsp + 0x50]
call fcn.140012244
mov eax, ebx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140024b20
mov rbx, qword [rsp + 0x358]
add rsp, 0x320
pop rdi
pop rsi
pop rbp
ret
test eax, eax
jmp 0x140035338
jle 0x140006f5e
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140006f5e
mov ecx, 6
jmp 0x140006f4a
jle 0x140006f5c
movzx eax, ax
or eax, 0x80070000
jmp 0x140006f5c
Function at 0x140007574
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov rsi, r8
mov rdi, rdx
mov r14, rcx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x41
xor r15d, r15d
mov word [rbp - 0x80], r15w
lea r13, [0x1400ab888]
mov qword [rsp + 0x68], r13
mov dword [rbp + 8], r15d
mov qword [rbp + 0x10], r15
lea rax, [0x1400ab7e8]
mov qword [rsp + 0x60], rax
mov r9, r8
mov r8, rdx
mov rdx, qword [rcx + 0xb0]
lea rcx, [rsp + 0x60]
call fcn.140006f9c
test eax, eax
mov ebx, eax
jne 0x140035c38
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x40], 0x100
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x20]
xor edx, edx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140035c48
mov rbx, qword [r14 + 0xb0]
cmp rsi, 0xffffffffffffffff
je 0x140035cb1
cmp rbx, 0xffffffff80000002
je 0x140035c5f
mov al, r15b
lea rdx, [rbp + 0x220]
test al, al
cmove rdx, rdi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyTransactedW]
nop dword [rax + rax]
mov ebx, eax
lea rax, [0x1400ab7e8]
mov qword [rsp + 0x60], rax
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400076bd
cmp dword [rbp + 8], r15d
je 0x1400076bd
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea rax, [0x1400ab838]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400076e5
lea rax, [rbp - 0x80]
cmp rcx, rax
jne 0x140035cc2
mov eax, ebx
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.140024b20
add rsp, 0x540
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x60]
call fcn.140012244
nop
jmp 0x1400076e5
mov r8, rsi
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140007574
nop
jmp 0x1400075f9
test rdi, rdi
je 0x140007665
call qword [sym.imp.ntdll.dll_RtlIsStateSeparationEnabled]
nop dword [rax + rax]
test al, al
je 0x140007665
lea rdx, [rsp + 0x50]
call fcn.14006b010
test al, al
je 0x140007665
lea r8, [rbp + 0x220]
mov rdx, rdi
mov rcx, qword [rsp + 0x50]
call fcn.14006b160
test eax, eax
mov al, 1
jns 0x140007668
jmp 0x140007665
mov rdx, rdi
mov rcx, rbx
call fcn.14006b300
nop
jmp 0x140007694
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
nop
jmp 0x1400076e5
Function at 0x14000963c
Capabilities:
Get common file path
Set environment variable

Disassembly:
sub rsp, 0x258
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp byte [0x1400dd118], 0
je 0x140009679
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140024b20
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 0x140009660
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 0x14003b312
mov byte [0x1400dd118], 1
jmp 0x14000965e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140009660
movzx eax, ax
or eax, 0x80070000
jmp 0x140009660
Function at 0x140010898
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov r15, rcx
lea rax, [rbp - 0x60]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x41
xor edi, edi
mov word [rbp - 0x60], di
lea r13, [0x1400ab888]
mov qword [rbp - 0x78], r13
lea rax, [0x1400ab7e8]
mov qword [rbp - 0x80], rax
mov dword [rbp + 0x28], edi
mov qword [rbp + 0x30], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xf003f
mov r8, qword [0x1400ddb48]
lea rcx, [rbp - 0x80]
call fcn.140010e54
test eax, eax
js 0x140034a30
mov esi, edi
mov dword [rsp + 0x30], 0x100
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x100]
mov edx, esi
lea rcx, [rbp - 0x80]
call fcn.140010f90
mov r14d, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x103
je 0x140010a2e
test r14d, r14d
je 0x140034a8d
lea rax, [rbp + 0x60]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0x41
mov word [rbp + 0x60], di
mov qword [rbp + 0x48], r13
lea rax, [0x1400ab7e8]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0xe8], edi
mov qword [rbp + 0xf0], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xf003f
lea r8, [rbp + 0x100]
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x40]
call fcn.140010e54
test eax, eax
js 0x140034a63
lea rcx, [rsp + 0x40]
call fcn.140019a6c
nop
lea rdx, [0x1400dd9f8]
lea rcx, [rsp + 0x38]
call fcn.140019adc
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140010a70
mov rbx, qword [rsp + 0x38]
test eax, eax
js 0x140010a09
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, r15
call fcn.1400194fc
inc esi
lea rcx, [rbx - 0x18]
call fcn.140016150
nop
lea rcx, [rsp + 0x40]
call fcn.14001595c
nop
lea rcx, [rbp + 0x40]
call fcn.140012244
jmp 0x140010925
mov ebx, edi
lea rcx, [rbp - 0x80]
call fcn.140012244
mov eax, ebx
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.140024b20
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
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 0x140034a53
test eax, eax
jg 0x140034a4a
mov edi, eax
jmp 0x140034a53
movzx edi, ax
or edi, 0x80070000
lea rcx, [rbp - 0x80]
call fcn.140012244
mov eax, edi
jmp 0x140010a3b
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 0x140034a7e
movzx ebx, ax
or ebx, 0x80070000
lea rcx, [rbp + 0x40]
call fcn.140012244
nop
jmp 0x140010a30
test eax, eax
jle 0x140010a30
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140010a30
Function at 0x140010d64
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, [0x1400b3558]
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 0x140034dbe
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140034dd1
shr eax, 1
lea ecx, [rax + 1]
lea eax, [rbp + 2]
mul rcx
lea rcx, [rbp - 1]
lea rdx, [0x1400b35f2]
cmovo rax, rcx
mov rcx, rax
call fcn.14002520c
mov rdi, rax
test rax, rax
je 0x140010e45
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1400b3558]
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 0x140034ddb
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 0x140010e2f
jle 0x140010e2f
movzx eax, ax
or eax, 0x80070000
jmp 0x140010e2f
mov eax, 0x8000ffff
jmp 0x140010e2f
mov rcx, rdi
call fcn.14002523c
test ebx, ebx
jle 0x140034df0
movzx ebx, bx
or ebx, 0x80070000
mov eax, ebx
jmp 0x140010e2f

Function at 0x140010f90
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rdi, r9
xor ecx, ecx
mov rsi, r8
mov ebp, edx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rbx + 0xb0]
xor ebx, ebx
test rcx, rcx
je 0x140011027
lea rax, [rsp + 0x50]
mov r9, rdi
mov qword [rsp + 0x38], rax
mov r8, rsi
mov qword [rsp + 0x30], rbx
mov edx, ebp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140011015
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
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 0x140010fff
mov ecx, 6
jmp 0x140011017
Function at 0x140011034
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov r15, rcx
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0x41
xor edi, edi
mov word [rbp - 0x20], di
lea r13, [0x1400ab888]
mov qword [rbp - 0x38], r13
lea rax, [0x1400ab7e8]
mov qword [rbp - 0x40], rax
mov dword [rbp + 0x68], edi
mov qword [rbp + 0x70], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xf003f
mov r8, qword [r8]
lea rcx, [rbp - 0x40]
call fcn.140010e54
test eax, eax
js 0x140034f0c
mov esi, edi
mov dword [rsp + 0x30], 0x100
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x140]
mov edx, esi
lea rcx, [rbp - 0x40]
call fcn.140010f90
mov r14d, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x103
je 0x1400111f7
test r14d, r14d
je 0x140034f6c
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], 0x41
mov word [rbp + 0xa0], di
mov qword [rbp + 0x88], r13
lea rax, [0x1400ab7e8]
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x128], edi
mov qword [rbp + 0x130], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xf003f
lea r8, [rbp + 0x140]
mov rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x80]
call fcn.140010e54
test eax, eax
js 0x140034f3f
lea rax, [0x1400ab9e0]
mov qword [rsp + 0x40], rax
lea rdx, [0x1400dd9f8]
lea rcx, [rsp + 0x48]
call fcn.140019adc
nop
lea rdx, [0x1400dd9f8]
lea rcx, [rsp + 0x50]
call fcn.140019adc
nop
mov byte [rsp + 0x78], dil
lea rcx, [rbp - 0x80]
call fcn.1400199b8
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400115e0
test eax, eax
js 0x1400111cf
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.140018f78
inc esi
lea rcx, [rbp - 0x80]
call fcn.1400159b0
nop
lea rcx, [rsp + 0x40]
call fcn.1400176a0
nop
lea rcx, [rbp + 0x80]
call fcn.140012244
jmp 0x1400110b6
mov ebx, edi
lea rcx, [rbp - 0x40]
call fcn.140012244
mov eax, ebx
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140024b20
add rsp, 0x450
pop r15
pop r14
pop r13
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 0x140034f2f
test eax, eax
jg 0x140034f26
mov edi, eax
jmp 0x140034f2f
movzx edi, ax
or edi, 0x80070000
lea rcx, [rbp - 0x40]
call fcn.140012244
mov eax, edi
jmp 0x140011204
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 0x140034f5a
movzx ebx, ax
or ebx, 0x80070000
lea rcx, [rbp + 0x80]
call fcn.140012244
nop
jmp 0x1400111f9
test eax, eax
jle 0x1400111f9
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400111f9
Function at 0x1400115e0
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.140010d64
mov ebx, eax
test eax, eax
js 0x140011784
lea r8, [rsp + 0x58]
lea rdx, str.Include
mov rcx, rdi
call fcn.1400117c0
test eax, eax
je 0x140035218
lea r8, [rsp + 0x54]
lea rdx, str.Suppress
mov rcx, rdi
call fcn.1400117c0
test eax, eax
je 0x140035218
lea r8, [rsp + 0x50]
lea rdx, str.Default
mov rcx, rdi
call fcn.1400117c0
test eax, eax
je 0x140035218
lea r8, [rsp + 0xa8]
lea rdx, str.Policy
mov rcx, rdi
call fcn.1400117c0
test eax, eax
je 0x14003523c
mov esi, dword [rsp + 0xa8]
and dword [rsp + 0xb8], 0
lea r8, [rsp + 0xb8]
lea rdx, str.NoContent
mov rcx, rdi
call fcn.1400117c0
test eax, eax
je 0x14003525f
and dword [rsp + 0xa8], 0
lea r8, [rsp + 0xa8]
lea rdx, [0x1400b35c0]
mov rcx, rdi
call fcn.1400117c0
test eax, eax
je 0x140035277
cmp dword [rsp + 0xa8], 0
setne r14b
mov rdi, qword [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0xa8]
call fcn.140013000
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.14001122c
nop
mov rcx, qword [rsp + 0xa8]
add rcx, 0xffffffffffffffe8
call fcn.140016150
mov rdx, rdi
lea rcx, [rsp + 0xa8]
call fcn.140013000
nop
mov rdx, rax
mov rcx, r15
call fcn.140013a20
nop
mov rcx, qword [rsp + 0xa8]
add rcx, 0xffffffffffffffe8
call fcn.140016150
nop
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140011796
mov rcx, rdi
call fcn.14002523c
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 0x140011784
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140011784
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x140035254
xor esi, esi
jmp 0x140011695
test eax, eax
jg 0x14003522e
mov ebx, eax
jmp 0x140011784
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x140035254
jmp 0x1400116bc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x140035254
jmp 0x1400116e3
Function at 0x14001d42c
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 [0x1400dc7a8]
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 0x14003b334
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 0x14003b350
mov edx, dword [rsp + 0x34]
lea eax, [rdx - 1]
cmp eax, 1
ja 0x14003b359
cmp edx, 2
je 0x14003b364
cmp ebx, ecx
mov rcx, rdi
je 0x14003b3e6
mov edx, dword [rsp + 0x30]
mov esi, edx
shr edx, 1
call fcn.14001d2a4
lea r8, [rsp + 0x40]
mov edx, esi
mov rcx, rax
call fcn.14001d560
mov rcx, qword [rsp + 0x278]
test eax, eax
js 0x14003b425
test ebx, ebx
jne 0x14003b439
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.14001d5c8
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140024b20
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop r14
pop rdi
pop rsi
ret
mov ecx, 6
jmp 0x14003b33d
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 0x14001d52f
cmp ebx, ecx
jne 0x14003b33b
jmp 0x14001d4b7
cmp edx, 7
je 0x14001d4c7
jmp 0x14003b33b
cmp ebx, ecx
jne 0x14003b387
mov rcx, qword [rsp + 0x278]
mov r9d, 0xce
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x2e3
call fcn.140053518
mov esi, 0x104
mov edx, esi
mov rcx, rdi
call fcn.14001d2a4
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 0x14003b3c7
add eax, eax
mov dword [rsp + 0x30], eax
jmp 0x14001d507
mov rcx, qword [rsp + 0x278]
mov r9d, 0xce
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x2e9
call fcn.140053518
mov edx, dword [rsp + 0x30]
shr edx, 1
call fcn.14001d2a4
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 0x14001d507
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x2f8
call fcn.140066104
mov rcx, qword [rsp + 0x278]
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x2fd
call fcn.140053518
int3
Function at 0x14001f0c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, qword [rsp + 0x2b8]
mov rbp, r8
mov rbx, qword [rsp + 0x2c0]
mov r8, rdx
mov r14d, r9d
mov rsi, rdx
mov rdx, 0xffffffff80000002
lea r9, [rsp + 0x40]
call fcn.14001f168
test al, al
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdi
cmove rdx, rsi
mov r9d, r14d
and qword [rsp + 0x20], 0
mov r8, rbp
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140024b20
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret