joyce8/EMBER2024-capa huggingface dataset:
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 0x14003462e
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 0x140034635
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 0x140034637
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 0x14003464a
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 0x140034651
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 0x140034653
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 [0x1400dc7b8]
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 0x140034b2c
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 0x140034b40
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 0x140034b4a
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.140012204
mov eax, ebx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140024990
mov rbx, qword [rsp + 0x358]
add rsp, 0x320
pop rdi
pop rsi
pop rbp
ret
test eax, eax
jmp 0x140034b4a
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 [0x1400dc7b8]
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 0x14003544a
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 0x14003545a
mov rbx, qword [r14 + 0xb0]
cmp rsi, 0xffffffffffffffff
je 0x1400354c3
cmp rbx, 0xffffffff80000002
je 0x140035471
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 0x1400354d4
mov eax, ebx
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.140024990
add rsp, 0x540
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x60]
call fcn.140012204
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.14006a680
test al, al
je 0x140007665
lea r8, [rbp + 0x220]
mov rdx, rdi
mov rcx, qword [rsp + 0x50]
call fcn.14006a7d0
test eax, eax
mov al, 1
jns 0x140007668
jmp 0x140007665
mov rdx, rdi
mov rcx, rbx
call fcn.14006a970
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 [0x1400dc7b8]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp byte [0x1400dd138], 0
je 0x140009679
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140024990
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 0x14003ab24
mov byte [0x1400dd138], 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 0x140010858
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 [0x1400dc7b8]
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 [0x1400ddb28]
lea rcx, [rbp - 0x80]
call fcn.140010e14
test eax, eax
js 0x140034242
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.140010f50
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 0x1400109ee
test r14d, r14d
je 0x14003429f
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.140010e14
test eax, eax
js 0x140034275
lea rcx, [rsp + 0x40]
call fcn.140019a2c
nop
lea rdx, [0x1400dd9d8]
lea rcx, [rsp + 0x38]
call fcn.140019a9c
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140010a30
mov rbx, qword [rsp + 0x38]
test eax, eax
js 0x1400109c9
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, r15
call fcn.1400194bc
inc esi
lea rcx, [rbx - 0x18]
call fcn.140016110
nop
lea rcx, [rsp + 0x40]
call fcn.14001591c
nop
lea rcx, [rbp + 0x40]
call fcn.140012204
jmp 0x1400108e5
mov ebx, edi
lea rcx, [rbp - 0x80]
call fcn.140012204
mov eax, ebx
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.140024990
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 0x140034265
test eax, eax
jg 0x14003425c
mov edi, eax
jmp 0x140034265
movzx edi, ax
or edi, 0x80070000
lea rcx, [rbp - 0x80]
call fcn.140012204
mov eax, edi
jmp 0x1400109fb
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 0x140034290
movzx ebx, ax
or ebx, 0x80070000
lea rcx, [rbp + 0x40]
call fcn.140012204
nop
jmp 0x1400109f0
test eax, eax
jle 0x1400109f0
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400109f0
Function at 0x140010d24
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 0x1400345d0
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x1400345e3
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.14002507c
mov rdi, rax
test rax, rax
je 0x140010e05
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 0x1400345ed
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 0x140010def
jle 0x140010def
movzx eax, ax
or eax, 0x80070000
jmp 0x140010def
mov eax, 0x8000ffff
jmp 0x140010def
mov rcx, rdi
call fcn.1400250ac
test ebx, ebx
jle 0x140034602
movzx ebx, bx
or ebx, 0x80070000
mov eax, ebx
jmp 0x140010def

Function at 0x140010f50
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 0x140010fe7
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 0x140010fd5
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 0x140010fbf
mov ecx, 6
jmp 0x140010fd7
Function at 0x140010ff4
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 [0x1400dc7b8]
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.140010e14
test eax, eax
js 0x14003471e
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.140010f50
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 0x1400111b7
test r14d, r14d
je 0x14003477e
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.140010e14
test eax, eax
js 0x140034751
lea rax, [0x1400ab9e0]
mov qword [rsp + 0x40], rax
lea rdx, [0x1400dd9d8]
lea rcx, [rsp + 0x48]
call fcn.140019a9c
nop
lea rdx, [0x1400dd9d8]
lea rcx, [rsp + 0x50]
call fcn.140019a9c
nop
mov byte [rsp + 0x78], dil
lea rcx, [rbp - 0x80]
call fcn.140019978
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400115a0
test eax, eax
js 0x14001118f
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.140018f38
inc esi
lea rcx, [rbp - 0x80]
call fcn.140015970
nop
lea rcx, [rsp + 0x40]
call fcn.140017660
nop
lea rcx, [rbp + 0x80]
call fcn.140012204
jmp 0x140011076
mov ebx, edi
lea rcx, [rbp - 0x40]
call fcn.140012204
mov eax, ebx
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140024990
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 0x140034741
test eax, eax
jg 0x140034738
mov edi, eax
jmp 0x140034741
movzx edi, ax
or edi, 0x80070000
lea rcx, [rbp - 0x40]
call fcn.140012204
mov eax, edi
jmp 0x1400111c4
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 0x14003476c
movzx ebx, ax
or ebx, 0x80070000
lea rcx, [rbp + 0x80]
call fcn.140012204
nop
jmp 0x1400111b9
test eax, eax
jle 0x1400111b9
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400111b9
Function at 0x1400115a0
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.140010d24
mov ebx, eax
test eax, eax
js 0x140011744
lea r8, [rsp + 0x58]
lea rdx, str.Include
mov rcx, rdi
call fcn.140011780
test eax, eax
je 0x140034a2a
lea r8, [rsp + 0x54]
lea rdx, str.Suppress
mov rcx, rdi
call fcn.140011780
test eax, eax
je 0x140034a2a
lea r8, [rsp + 0x50]
lea rdx, str.Default
mov rcx, rdi
call fcn.140011780
test eax, eax
je 0x140034a2a
lea r8, [rsp + 0xa8]
lea rdx, str.Policy
mov rcx, rdi
call fcn.140011780
test eax, eax
je 0x140034a4e
mov esi, dword [rsp + 0xa8]
and dword [rsp + 0xb8], 0
lea r8, [rsp + 0xb8]
lea rdx, str.NoContent
mov rcx, rdi
call fcn.140011780
test eax, eax
je 0x140034a71
and dword [rsp + 0xa8], 0
lea r8, [rsp + 0xa8]
lea rdx, [0x1400b35c0]
mov rcx, rdi
call fcn.140011780
test eax, eax
je 0x140034a89
cmp dword [rsp + 0xa8], 0
setne r14b
mov rdi, qword [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0xa8]
call fcn.140012fc0
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.1400111ec
nop
mov rcx, qword [rsp + 0xa8]
add rcx, 0xffffffffffffffe8
call fcn.140016110
mov rdx, rdi
lea rcx, [rsp + 0xa8]
call fcn.140012fc0
nop
mov rdx, rax
mov rcx, r15
call fcn.1400139e0
nop
mov rcx, qword [rsp + 0xa8]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140011756
mov rcx, rdi
call fcn.1400250ac
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 0x140011744
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140011744
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x140034a66
xor esi, esi
jmp 0x140011655
test eax, eax
jg 0x140034a40
mov ebx, eax
jmp 0x140011744
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x140034a66
jmp 0x14001167c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x140034a66
jmp 0x1400116a3
Function at 0x140011780
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 0x14001181e
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 0x14001180c
cmp dword [rsp + 0x68], 4
jne 0x14001180c
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 0x1400117fb
mov ecx, 6
jmp 0x14001180e
Function at 0x14001b740
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [r8 + 0x10]
movzx r11d, cl
imul r9d, eax, 0x401
add r11b, 2
movzx eax, byte [r8 + 0x11]
mov r10d, r9d
shr r10d, 6
xor r10d, r9d
add r10d, eax
imul eax, r10d, 0x401
mov r9d, eax
shr r9d, 6
xor r9d, eax
movzx eax, byte [r8 + 0x12]
add r9d, eax
imul eax, r9d, 0x401
mov ecx, eax
shr ecx, 6
xor ecx, eax
movzx eax, byte [r8 + 0x13]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor ecx, eax
movzx eax, byte [r8 + 0x14]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor ecx, eax
movzx eax, byte [r8 + 0x15]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor ecx, eax
movzx eax, byte [r8 + 0x16]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor ecx, eax
movzx eax, byte [r8 + 0x17]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
cmp r11b, dl
jae 0x14001b846
movzx r10d, r11b
shl r10, 4
add r10, r8
sub dl, r11b
movzx r11d, dl
nop dword [rax + rax]
mov r8d, dword [r10 + 8]
xor edx, edx
mov r9, qword [r10]
test r8, r8
je 0x14001b83c
nop
movzx ecx, byte [rdx + r9]
inc rdx
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
cmp rdx, r8
jb 0x14001b820
add r10, 0x10
sub r11, 1
jne 0x14001b810
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rdi, rcx
mov rcx, qword [r8 + 0x10]
mov rbx, rdx
mov r10, r8
jae 0x14001bb59
xor edx, edx
movabs r9, 0xcbf29ce484222325
add rcx, rcx
je 0x14001bb31
movzx eax, byte [rdx + r10]
movabs r11, 0x100000001b3
xor r9, rax
inc rdx
imul r9, r11
cmp rdx, rcx
jb 0x14001bb13
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001bb6c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14001bb5e
mov qword [rbx], rcx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov r10, qword [r8]
jmp 0x14001bb02
mov rcx, qword [rdi + 8]
jmp 0x14001bb47
Function at 0x14001d3ec
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 [0x1400dc7b8]
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 0x14003ab46
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 0x14003ab62
mov edx, dword [rsp + 0x34]
lea eax, [rdx - 1]
cmp eax, 1
ja 0x14003ab6b
cmp edx, 2
je 0x14003ab76
cmp ebx, ecx
mov rcx, rdi
je 0x14003abf8
mov edx, dword [rsp + 0x30]
mov esi, edx
shr edx, 1
call fcn.14001d264
lea r8, [rsp + 0x40]
mov edx, esi
mov rcx, rax
call fcn.14001d520
mov rcx, qword [rsp + 0x278]
test eax, eax
js 0x14003ac37
test ebx, ebx
jne 0x14003ac4b
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.14001d588
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140024990
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop r14
pop rdi
pop rsi
ret
mov ecx, 6
jmp 0x14003ab4f
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 0x14001d4ef
cmp ebx, ecx
jne 0x14003ab4d
jmp 0x14001d477
cmp edx, 7
je 0x14001d487
jmp 0x14003ab4d
cmp ebx, ecx
jne 0x14003ab99
mov rcx, qword [rsp + 0x278]
mov r9d, 0xce
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x2e3
call fcn.140052c30
mov esi, 0x104
mov edx, esi
mov rcx, rdi
call fcn.14001d264
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 0x14003abd9
add eax, eax
mov dword [rsp + 0x30], eax
jmp 0x14001d4c7
mov rcx, qword [rsp + 0x278]
mov r9d, 0xce
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x2e9
call fcn.140052c30
mov edx, dword [rsp + 0x30]
shr edx, 1
call fcn.14001d264
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 0x14001d4c7
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x2f8
call fcn.1400657d4
mov rcx, qword [rsp + 0x278]
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_searchcommonpkmutildcregistry.cxx
mov edx, 0x2fd
call fcn.140052c30
int3