joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002a6f4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400228c8
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400588d0], rbx
jne 0x14002a7fa
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14002a8cf
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002a8cf
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400588d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400588d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400588e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400588f0], rax
test rax, rax
je 0x14002a7f1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400588e8], rax
jmp 0x14002a801
mov rax, qword [0x1400588e8]
jmp 0x14002a808
mov rax, qword [0x1400588e8]
mov r11, qword [0x1400588f0]
cmp rax, rdi
je 0x14002a870
cmp r11, rdi
je 0x14002a870
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400588f0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14002a870
test rax, rax
je 0x14002a870
call rsi
test rax, rax
je 0x14002a86a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14002a86a
test byte [rsp + 0x38], 1
jne 0x14002a870
bts ebp, 0x15
jmp 0x14002a8ae
mov rcx, qword [0x1400588d8]
cmp rcx, rdi
je 0x14002a8ae
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002a8ae
call rax
mov rbx, rax
test rax, rax
je 0x14002a8ae
mov rcx, qword [0x1400588e0]
cmp rcx, rdi
je 0x14002a8ae
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002a8ae
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400588d0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002a8cf
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14002a8d1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14002c203
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400393e8]
jne 0x14002a0da
rol rcx, 0x10
test cx, 0xffff
jne 0x14002a0d6
repz ret
ror rcx, 0x10
jmp 0x14002c15c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400589c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140058ab8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002c1e1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400589c0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14002c203
mov rax, qword [rsp + 0x88]
mov qword [0x140058ab8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140058a58], rax
mov rax, qword [0x140058ab8]
mov qword [0x140058930], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140058a40], rax
mov dword [0x140058920], 0xc0000409
mov dword [0x140058924], 1
mov rax, qword [0x1400393e8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400393f0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400589b8], eax
mov ecx, 1
call fcn.140029ca8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140033ae8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400589b8], 0
jne 0x14002c28a
mov ecx, 1
call fcn.140029ca8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140758108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14075828f
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 0x140758139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14075811f
add dl, dl
jne 0x140758146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407581a6
xor eax, eax
add dl, dl
jne 0x140758155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14075825d
add dl, dl
jne 0x140758166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140758173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140758180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14075818d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14075819a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14075812e
mov eax, 1
add dl, dl
jne 0x1407581b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407581c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407581ab
sub eax, ebx
mov ebx, 1
jne 0x1407581fc
mov ecx, 1
add dl, dl
jne 0x1407581de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407581eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407581d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14075812e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140758218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140758225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14075820d
cmp eax, 0x7d00
jae 0x14075824b
cmp eax, 0x500
jb 0x140758246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14075812e
cmp eax, 0x7f
ja 0x14075824e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14075812e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140758282
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 0x14075812e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14003d150
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003d15d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003d16d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003d155
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003d185
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003d172
sub eax, 3
jb 0x14003d19f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003d1d6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003d1c6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003d1c4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003d1b3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003d112
jmp 0x14003d15d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x17600
mov dl, 8
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003d222
cmp rsi, rcx
jae 0x14003d22a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003d209
cmp al, 0x8f
ja 0x14003d209
cmp byte [rsi - 2], 0xf
je 0x14003d20f
sub al, 0xe8
cmp al, 1
ja 0x14003d1f3
cmp rsi, rcx
jae 0x14003d22a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003d1f9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003d22a
lodsb al, byte [rsi]
jmp 0x14003d209
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3b000]
mov eax, dword [rdi]
or eax, eax
je 0x14003d287
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3df24]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003d237
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003d281
mov qword [rbx], rax
add rbx, 8
jmp 0x14003d257
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14003d2c1
cmp al, 0xef
ja 0x14003d2b3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14003d293
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14003d2a2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x21f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003d315
sub rsp, 0xffffffffffffff80
jmp 0x140011681
Function at 0x140004470
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x140007ed4
Capabilities:
Delete registry key

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

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

Function at 0x140008184
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
je 0x1400481e6
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 0x1400481ed
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 0x1400481ef
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400081db

Function at 0x1400081e8
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx + 0xb0]
xor ebx, ebx
test rcx, rcx
je 0x14004823c
or rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], bx
jne 0x140008204
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140048243
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 0x140048245
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14000824e
Function at 0x14000a148
Capabilities:
Get common file path
Set environment variable

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

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

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov r14, rcx
lea rax, [rbp + 0x60]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0x41
xor edi, edi
mov word [rbp + 0x60], di
lea r12, [0x1400a2bc8]
mov qword [rbp + 0x48], r12
lea r13, [0x1400a2b08]
mov qword [rbp + 0x40], r13
mov dword [rbp + 0xe8], edi
mov qword [rbp + 0xf0], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xf003f
mov r8, qword [0x1400d25f8]
lea rcx, [rbp + 0x40]
call fcn.140013564
test eax, eax
js 0x140044332
mov esi, edi
mov dword [rsp + 0x30], 0x100
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x100]
mov edx, esi
lea rcx, [rbp + 0x40]
call fcn.1400136a4
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x103
je 0x1400124fe
test ebx, ebx
je 0x140044348
lea rax, [rbp - 0x60]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x41
mov word [rbp - 0x60], di
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x80], r13
mov dword [rbp + 0x28], edi
mov qword [rbp + 0x30], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xf003f
lea r8, [rbp + 0x100]
mov rdx, qword [rbp + 0xf0]
lea rcx, [rbp - 0x80]
call fcn.140013564
test eax, eax
js 0x140044353
lea rcx, [rsp + 0x40]
call fcn.14001a83c
nop
lea rdx, [0x1400d2518]
lea rcx, [rsp + 0x38]
call fcn.14001a960
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.14001c650
mov rbx, qword [rsp + 0x38]
test eax, eax
js 0x1400124d9
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, r14
call fcn.14001b9f8
inc esi
lea rcx, [rbx - 0x18]
call fcn.1400182a0
nop
lea rcx, [rsp + 0x40]
call fcn.140016a00
nop
lea rcx, [rbp - 0x80]
call fcn.140014d5c
jmp 0x140012403
lea rcx, [rbp + 0x40]
call fcn.140014d5c
mov eax, edi
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.140036e80
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
nop
cmp eax, 2
je 0x1400124fe
test eax, eax
jg 0x14004437f
mov edi, eax
jmp 0x1400124fe
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x140044367
mov edi, eax
jmp 0x140044370
movzx edi, ax
or edi, 0x80070000
lea rcx, [rbp - 0x80]
call fcn.140014d5c
nop
jmp 0x1400124fe
movzx edi, ax
or edi, 0x80070000
jmp 0x1400124fe
Function at 0x1400136a4
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 0x14001373b
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 0x140013729
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 0x140013713
mov ecx, 6
jmp 0x14001372b