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

Disassembly:
call fcn.1409a9c87
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 0x1409a9b31
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409a9b17
add dl, dl
jne 0x1409a9b3e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409a9b9e
xor eax, eax
add dl, dl
jne 0x1409a9b4d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409a9c55
add dl, dl
jne 0x1409a9b5e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409a9b6b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409a9b78
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409a9b85
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409a9b92
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409a9b26
mov eax, 1
add dl, dl
jne 0x1409a9bae
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409a9bbb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409a9ba3
sub eax, ebx
mov ebx, 1
jne 0x1409a9bf4
mov ecx, 1
add dl, dl
jne 0x1409a9bd6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409a9be3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409a9bcb
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409a9b26
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409a9c10
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409a9c1d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409a9c05
cmp eax, 0x7d00
jae 0x1409a9c43
cmp eax, 0x500
jb 0x1409a9c3e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409a9b26
cmp eax, 0x7f
ja 0x1409a9c46
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409a9b26
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409a9c7a
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 0x1409a9b26
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 0x140030d42
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.14001bb6c
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140030d4a
movabs rax, 0x492492492492492
cmp qword [rsi + 0x10], rax
je 0x140030d56
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 0x140030d6a
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.140072998
mov rdx, rax
mov rcx, rsi
call fcn.140072a3c
mov rbx, qword [rsp + 0x28]
lea r8, [rbx + 0x10]
mov r9, rbp
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14001bb6c
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 0x140031252
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.14001bb6c
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 0x14003125a
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 [0x1400dc7b8]
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.140010e14
lea r8, [rsp + 0x30]
lea rdx, str.SQMFullDriveIndexingSent
lea rcx, [rbp - 0x50]
call fcn.140011780
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.140012fc0
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.1400199c4
nop
mov r14d, r15d
jmp 0x1400059ce
cmp qword [rbx + 8], 2
jne 0x1400059ce
xor edx, edx
mov rcx, rbx
call fcn.14001c1a0
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 0x140033dd4
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.140015970
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
lea rcx, [rbp - 0x50]
call fcn.140012204
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140024990
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.14001c1a0
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400199c4
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400135d0
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.140015970
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 0x1400343ae
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 0x1400343b5
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 0x1400343b7
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 0x1400343ca
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 0x1400343d1
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 0x1400343d3
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 0x1400348ac
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 0x1400348c0
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 0x1400348ca
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 0x1400348ca
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 0x1400351ca
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 0x1400351da
mov rbx, qword [r14 + 0xb0]
cmp rsi, 0xffffffffffffffff
je 0x140035243
cmp rbx, 0xffffffff80000002
je 0x1400351f1
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 0x140035254
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.14006a3a0
test al, al
je 0x140007665
lea r8, [rbp + 0x220]
mov rdx, rdi
mov rcx, qword [rsp + 0x50]
call fcn.14006a4f0
test eax, eax
mov al, 1
jns 0x140007668
jmp 0x140007665
mov rdx, rdi
mov rcx, rbx
call fcn.14006a690
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 0x14003a8a4
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 0x140033fc2
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 0x14003401f
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 0x140033ff5
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 0x140033fe5
test eax, eax
jg 0x140033fdc
mov edi, eax
jmp 0x140033fe5
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 0x140034010
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 0x140034350
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140034363
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 0x14003436d
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 0x140034382
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 0x14003449e
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 0x1400344fe
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 0x1400344d1
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 0x1400344c1
test eax, eax
jg 0x1400344b8
mov edi, eax
jmp 0x1400344c1
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 0x1400344ec
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