joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18085e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18085e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18085e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18085e06f
add dl, dl
jne 0x18085e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18085e0f6
xor eax, eax
add dl, dl
jne 0x18085e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18085e1ad
add dl, dl
jne 0x18085e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18085e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18085e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18085e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18085e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18085e07e
mov eax, 1
add dl, dl
jne 0x18085e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18085e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18085e0fb
sub eax, ebx
mov ebx, 1
jne 0x18085e14c
mov ecx, 1
add dl, dl
jne 0x18085e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18085e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18085e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18085e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18085e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18085e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18085e15d
cmp eax, 0x7d00
jae 0x18085e19b
cmp eax, 0x500
jb 0x18085e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18085e07e
cmp eax, 0x7f
ja 0x18085e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18085e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18085e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18085e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002958
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jae 0x140030ff2
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
add r8, r8
je 0x1400029bd
movzx eax, byte [rcx + rdx]
xor rbp, rax
movabs r9, 0x100000001b3
imul rbp, r9
inc rcx
cmp rcx, r8
jb 0x1400029a0
mov r9, rbp
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14001bbac
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140030ffa
movabs rax, 0x492492492492492
cmp qword [rsi + 0x10], rax
je 0x140031006
lea rdx, [rsi + 8]
mov r9, r14
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.140002b0c
nop
mov rdx, qword [rsi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x140002a85
cvtsi2ss xmm0, rdx
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140002aa2
cvtsi2ss xmm1, rcx
divss xmm0, xmm1
comiss xmm0, dword [rsi]
ja 0x14003101a
mov rbx, qword [rsp + 0x28]
and qword [rsp + 0x28], 0
mov r9, rbx
mov r8, qword [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
call fcn.140002ac4
mov qword [rdi], rax
mov byte [rdi + 8], 1
lea rcx, [rsp + 0x20]
call fcn.140002c00
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
jmp 0x140002a19
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x140002a2a
mov rdx, qword [rbx]
jmp 0x14000298f
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x140002a66
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
nop
mov rcx, rsi
call fcn.140072cb8
mov rdx, rax
mov rcx, rsi
call fcn.140072d5c
mov rbx, qword [rsp + 0x28]
lea r8, [rbx + 0x10]
mov r9, rbp
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14001bbac
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
jmp 0x140002a3c
Function at 0x14000393c
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 0x140031502
xor ecx, ecx
movabs rdi, 0xcbf29ce484222325
add r9, r9
je 0x14000398a
movzx eax, byte [rcx + r8]
movabs r10, 0x100000001b3
xor rdi, rax
inc rcx
imul rdi, r10
cmp rcx, r9
jb 0x14000396c
mov r8, rdx
mov r9, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001bbac
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400039f2
mov rax, qword [rbx + 0x30]
mov r8, qword [rbx + 0x18]
and rax, rdi
add rax, rax
cmp qword [r8 + rax*8 + 8], rdx
jne 0x14003150a
cmp qword [r8 + rax*8], rdx
jne 0x1400039ec
mov rcx, qword [rbx + 8]
mov qword [r8 + rax*8], rcx
mov qword [r8 + rax*8 + 8], rcx
lea rcx, [rbx + 8]
call fcn.1400039fc
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rdx + 8]
jmp 0x1400039cd
xor eax, eax
jmp 0x1400039e0
mov r8, qword [rdx]
jmp 0x14000395b
cmp qword [r8 + rax*8], rdx
jne 0x1400039d2
mov rcx, qword [rdx]
mov qword [r8 + rax*8], rcx
jmp 0x1400039d2
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, [0x1400b4098]
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 0x140034084
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.140024bd0
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 0x14003465e
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 0x140034665
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 0x140034667
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 0x14003467a
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 0x140034681
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 0x140034683
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 0x140034b5c
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 0x140034b70
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 0x140034b7a
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.140024bd0
mov rbx, qword [rsp + 0x358]
add rsp, 0x320
pop rdi
pop rsi
pop rbp
ret
test eax, eax
jmp 0x140034b7a
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 0x14003547a
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 0x14003548a
mov rbx, qword [r14 + 0xb0]
cmp rsi, 0xffffffffffffffff
je 0x1400354f3
cmp rbx, 0xffffffff80000002
je 0x1400354a1
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 0x140035504
mov eax, ebx
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.140024bd0
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.14006a6b0
test al, al
je 0x140007665
lea r8, [rbp + 0x220]
mov rdx, rdi
mov rcx, qword [rsp + 0x50]
call fcn.14006a800
test eax, eax
mov al, 1
jns 0x140007668
jmp 0x140007665
mov rdx, rdi
mov rcx, rbx
call fcn.14006a9a0
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.140024bd0
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 0x14003ab54
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 [0x1400ddb18]
lea rcx, [rbp - 0x80]
call fcn.140010e54
test eax, eax
js 0x140034272
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 0x1400342cf
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 0x1400342a5
lea rcx, [rsp + 0x40]
call fcn.140019a6c
nop
lea rdx, [0x1400dd9c8]
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.140024bd0
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 0x140034295
test eax, eax
jg 0x14003428c
mov edi, eax
jmp 0x140034295
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 0x1400342c0
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 0x140034600
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140034613
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.1400252bc
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 0x14003461d
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.1400252ec
test ebx, ebx
jle 0x140034632
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 0x14003474e
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 0x1400347ae
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 0x140034781
lea rax, [0x1400ab9e0]
mov qword [rsp + 0x40], rax
lea rdx, [0x1400dd9c8]
lea rcx, [rsp + 0x48]
call fcn.140019adc
nop
lea rdx, [0x1400dd9c8]
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.140024bd0
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 0x140034771
test eax, eax
jg 0x140034768
mov edi, eax
jmp 0x140034771
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 0x14003479c
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