joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400204e4
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, rdx
mov rbp, rcx
and qword [rdx], 0
lea rdx, [0x1400a7394]
mov ecx, 0x208
call fcn.14002a89c
mov rbx, rax
lea r9, [rsp + 0x48]
mov r8d, 0x104
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
je 0x14003bb88
xor edi, edi
mov rax, rbx
xor ebx, ebx
mov qword [rsi], rax
mov rcx, rbx
mov rax, qword [0x14009e368]
call qword [case.0x140024555.0]
nop
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.14000b3a0
mov edi, eax
cmp eax, 0x800700ea
jne 0x14003bc0d
mov ecx, dword [rsp + 0x48]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x1400a7394]
mov rcx, rax
call fcn.14002a89c
mov rdi, rax
mov rcx, rbx
mov rax, qword [0x14009e368]
call qword [case.0x140024555.0]
nop
mov rbx, rdi
test rdi, rdi
jne 0x14003bbe2
mov edi, 0x8007000e
jmp 0x14002054d
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x48]
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140020543
call fcn.14000b3a0
mov edi, eax
test edi, edi
js 0x14002054d
jmp 0x140020545

Function at 0x140020fac
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x38
lea rax, [rbp + 0x30]
mov ebx, 1
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x20], ebx
call fcn.14000a9b8
test eax, eax
jg 0x14003be20
js 0x14002104a
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x20]
and dword [rbp + 0x28], 0
lea r9, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r8, str.EnableDefaultScope
lea rax, [rbp + 0x28]
mov dword [rbp + 0x20], 4
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x18], 4
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x140021034
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x14003be2f
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov al, bl
add rsp, 0x38
pop rbx
pop rbp
ret
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x140020fe3
cmp dword [rbp + 0x18], 4
je 0x14003be3a
call fcn.14009823c
cmp dword [rbp + 0x20], 4
je 0x14003be45
call fcn.14009823c
mov eax, dword [rbp + 0x28]
neg eax
sbb cl, cl
and bl, cl
jmp 0x14002103a
Function at 0x1400215f0
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor r14d, r14d
mov sil, r14b
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x41
mov word [rbp - 0x80], r14w
lea rax, [0x14009b690]
mov qword [rsp + 0x68], rax
lea rax, [0x14009b5a0]
mov qword [rsp + 0x60], rax
mov dword [rbp + 8], r14d
mov qword [rbp + 0x10], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x2001f
lea r8, str.SOFTWAREMicrosoftWindows_SearchCrawlScopeManagerWindows
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.140012140
test eax, eax
js 0x1400217d2
mov eax, r14d
mov dword [rsp + 0x30], eax
lea edi, [r14 + 6]
lea r15d, [r14 + 4]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14003c948
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetKeySecurity]
nop dword [rax + rax]
mov ecx, eax
mov eax, dword [rsp + 0x30]
cmp ecx, 0x7a
jne 0x1400217d2
mov ecx, eax
lea rdx, [0x1400a7394]
call fcn.14002a89c
mov rbx, rax
test rax, rax
je 0x1400217c1
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14002170d
lea r9, [rsp + 0x30]
mov r8, rax
mov edx, r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetKeySecurity]
nop dword [rax + rax]
mov edi, eax
test edi, edi
jg 0x14003c94f
js 0x1400217c1
mov qword [rsp + 0x40], r14
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x34]
mov rcx, rbx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetSecurityDescriptorDacl]
nop dword [rax + rax]
test eax, eax
je 0x14003c95f
cmp dword [rsp + 0x34], r14d
je 0x1400217c1
mov dword [rsp + 0x38], 0x44
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x20]
xor edx, edx
lea ecx, [rdx + 0x1a]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CreateWellKnownSid]
nop dword [rax + rax]
test eax, eax
je 0x14003c971
mov edi, r14d
mov r15d, 1
lea r8, [rsp + 0x48]
mov edx, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetAce]
nop dword [rax + rax]
test eax, eax
je 0x1400217c1
mov rdx, qword [rsp + 0x48]
add rdx, 8
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
jne 0x140021809
add edi, r15d
test sil, sil
je 0x140021780
mov rcx, rbx
mov rax, qword [0x14009e368]
call qword [case.0x140024555.0]
nop
lea rcx, [rsp + 0x60]
call fcn.1400142e0
mov al, sil
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14002a3f0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 4]
and ecx, 0xf003f
movzx esi, sil
cmp ecx, 0xf003f
cmove esi, r15d
jmp 0x1400217b9
mov ecx, edi
jmp 0x1400216c8
movzx edi, di
or edi, 0x80070000
test edi, edi
jmp 0x140021715
call fcn.14000b3a0
test eax, eax
js 0x1400217c1
jmp 0x140021746
call fcn.14000b3a0
test eax, eax
js 0x1400217c1
jmp 0x140021777
Function at 0x140024f10
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
mov r9d, 0x7cf
lea r12, [0x1400dc800]
mov r8, rax
mov rcx, r12
lea r13d, [r9 + 1]
mov edx, r13d
call fcn.1400252f0
xor r15d, r15d
test eax, eax
js 0x14002514c
mov rbx, r12
mov dword [rdi], r15d
lea edx, [r15 + 0x22]
cmp word [rbx], r15w
je 0x140025003
mov rax, rbx
sub rax, r12
sar rax, 1
cmp rax, r13
jae 0x140024fa8
movzx ecx, word [rbx]
test cx, cx
je 0x140024fa3
call qword [sym.imp.msvcrt.dll_iswspace]
nop dword [rax + rax]
test eax, eax
jne 0x140025131
mov edx, 0x22
mov rax, rbx
sub rax, r12
and rax, 0xfffffffffffffffe
cmp rax, 0xfa0
je 0x140025003
movzx ecx, word [rbx]
test cx, cx
je 0x140025003
cmp cx, dx
je 0x14003ddba
call qword [sym.imp.msvcrt.dll_iswspace]
nop dword [rax + rax]
test eax, eax
jne 0x140024fea
cmp word [rbx], r15w
je 0x140024fea
add rbx, 2
movzx ecx, word [rbx]
jmp 0x140024fcb
inc dword [rdi]
mov rcx, rbx
sub rcx, r12
mov edx, 0x22
sar rcx, 1
cmp rcx, r13
jb 0x140024f6f
cmp dword [rdi], r15d
je 0x14002514c
movsxd rcx, dword [rdi]
mov eax, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
mov rax, qword [0x14009e360]
call qword [case.0x140024555.0]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14002514c
mov rbx, r12
mov ebp, r15d
mov r14, rax
mov esi, 0x22
cmp word [rbx], r15w
je 0x14002510e
cmp ebp, dword [rdi]
jge 0x14002510e
mov rax, rbx
sub rax, r12
sar rax, 1
cmp rax, r13
jae 0x14002508a
movzx ecx, word [rbx]
test cx, cx
je 0x14002508a
call qword [sym.imp.msvcrt.dll_iswspace]
nop dword [rax + rax]
test eax, eax
jne 0x14003dde2
mov rcx, rbx
sub rcx, r12
sar rcx, 1
cmp rcx, r13
je 0x14002510e
cmp word [rbx], r15w
je 0x14002510e
cmp word [rbx], si
lea r8, [rbx + 2]
mov rax, rbx
cmove rax, r8
inc ebp
mov qword [r14], rax
add r14, 8
cmp word [rbx], si
je 0x14003ddeb
cmp rcx, r13
jae 0x1400250ee
movzx ecx, word [rbx]
call qword [sym.imp.msvcrt.dll_iswspace]
nop dword [rax + rax]
test eax, eax
jne 0x1400250ee
cmp word [rbx], r15w
je 0x1400250fc
add rbx, 2
mov rax, rbx
sub rax, r12
sar rax, 1
cmp rax, r13
jb 0x1400250c3
cmp word [rbx], r15w
je 0x1400250fc
mov word [rbx], r15w
add rbx, 2
mov rcx, rbx
sub rcx, r12
sar rcx, 1
cmp rcx, r13
jb 0x14002504e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
add rbx, 2
mov rax, rbx
sub rax, r12
sar rax, 1
cmp rax, r13
jb 0x140024f87
jmp 0x140024fa3
xor eax, eax
jmp 0x140025113
lea rcx, [rbx + 2]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14003dddb
add rbx, 2
jmp 0x140024fea
inc dword [rdi]
jmp 0x140025003
add rbx, 2
jmp 0x140025060
mov edx, esi
mov rcx, r8
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14002510e
jmp 0x1400250ee
Function at 0x140027d50
Capabilities:
Block operations on executable memory pages using arbitrary code guard

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, 4
mov dword [rsp + 0x30], 1
mov r8d, ebx
lea rdx, [rsp + 0x30]
lea ecx, [rbx - 2]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
lea rcx, [0x1400dc7c8]
call fcn.14002d9dc
test al, al
jne 0x140027da9
mov r8d, ebx
mov dword [rsp + 0x38], 1
lea rdx, [rsp + 0x38]
lea ecx, [rbx + 4]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
mov r8, rbx
mov dword [rsp + 0x40], 2
lea rdx, [rsp + 0x40]
mov ecx, 9
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
mov r8, rbx
mov dword [rsp + 0x48], 1
lea rdx, [rsp + 0x48]
mov ecx, 0xa
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
add rsp, 0x20
pop rbx
ret

Function at 0x140027df8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, r9
xor ecx, ecx
mov rsi, r8
mov rbp, rdx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x14003e804
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
cmp eax, 0xea
je 0x14003e820
test eax, eax
jne 0x14003e80b
mov eax, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov ecx, 6
jmp 0x14003e80d
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 0x140027e6f
mov ecx, 0x7a
jmp 0x14003e80d
Function at 0x14002a188
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140178000
add rsp, 0x28
jmp 0x14002a188
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x1400dbd38], rbx
je 0x14002a1d2
cmp rax, rbx
jne 0x14002a1e7
mov edi, 1
mov eax, dword [0x1400dbd40]
cmp eax, 1
jne 0x14002a1f4
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x14002a261
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14002a1bb
mov eax, dword [0x1400dbd40]
test eax, eax
jne 0x14002a257
mov dword [0x1400dbd40], 1
lea r14, [0x1400a3d10]
lea rbx, [0x1400a3cf8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x14002a249
test eax, eax
jne 0x14002a24d
cmp qword [rbx], 0
je 0x14002a23e
mov rax, qword [rbx]
mov rcx, qword [case.0x140024555.0]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x14002a21f
test eax, eax
je 0x14002a261
mov eax, 0xff
jmp 0x14002a3b4
mov dword [0x1400db430], 1
mov eax, dword [0x1400dbd40]
cmp eax, 1
jne 0x14002a289
lea rdx, [0x1400a3cf0]
lea rcx, [0x1400a3b08]
call sub.msvcrt.dll__initterm
mov dword [0x1400dbd40], 2
test edi, edi
jne 0x14002a296
xor eax, eax
xchg qword [0x1400dbd38], rax
cmp qword [0x1400dbd58], 0
je 0x14002a2ca
lea rcx, [0x1400dbd58]
call fcn.14002ad10
test eax, eax
je 0x14002a2ca
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400dbd58]
mov r9, qword [case.0x140024555.0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x14002a356
test cl, cl
je 0x14002a2ed
test edi, edi
jne 0x14002a356
dec cl
cmp cl, 0x1f
ja 0x14002a300
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x14002a2ed
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140006738
mov dword [0x1400db42c], eax
cmp dword [0x1400db450], 0
jne 0x14002a33f
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400db430], 0
jne 0x14002a354
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400db42c]
jmp 0x14002a3b4
cmp cl, 0x22
jne 0x14002a368
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x14002a37a
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x14002a2dd
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x14002abfc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002ac48
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ac40
cmp dword [rcx + 0x3c], edx
jl 0x14002ac40
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14002ac40
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14002ac48
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14002aebc
Capabilities:
Print debug messages

Disassembly:
jmp 0x14002aec8
push rbx
sub rsp, 0x540
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14002af45
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlVirtualUnwind]
jmp 0x14002af65
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14002a3f0
add rsp, 0x540
pop rbx
ret

Function at 0x14002aec8
Capabilities:
Print debug messages

Disassembly:
jmp 0x14002aec8
push rbx
sub rsp, 0x540
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14002af45
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_1_0.dll_RtlVirtualUnwind]
jmp 0x14002af65
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14002a3f0
add rsp, 0x540
pop rbx
ret
Function at 0x1400462a4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x358]
sub rsp, 0x450
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov rdi, rcx
lea rax, [rbp + 0x130]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
nop dword [rax + rax]
mov ebx, eax
xor esi, esi
test eax, eax
js 0x14004646c
mov ecx, 0x104
mov edx, ecx
lea rax, [rbp + 0x130]
cmp word [rax], si
je 0x14004632c
add rax, 2
sub rdx, 1
jne 0x14004631d
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test rdx, rdx
je 0x140046349
mov rax, rcx
sub rax, rdx
jmp 0x14004634c
mov rax, rsi
test rdx, rdx
je 0x1400463b1
sub rcx, rax
lea rdx, [rbp + 0x130]
lea rdx, [rdx + rax*2]
je 0x140046396
lea r8, [rax + 0x7ffffefa]
add r8, rcx
lea rax, str.MicrosoftSearchCatalogCorruptionLogData_
sub rax, rdx
test r8, r8
je 0x140046396
movzx r9d, word [rax + rdx]
test r9w, r9w
je 0x140046396
mov word [rdx], r9w
add rdx, 2
dec r8
sub rcx, 1
jne 0x140046375
lea rax, [rdx - 2]
test rcx, rcx
cmovne rax, rdx
mov word [rax], si
neg rcx
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test ebx, ebx
js 0x14004646c
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.14001c0f4
mov rdx, rax
mov rcx, rdi
call fcn.140056d3c
xor r8d, r8d
lea rdx, [rbp + 0x130]
xor ecx, ecx
call qword [sym.imp.api_ms_win_shell_shdirectory_l1_1_0.dll_Ordinal_290]
nop dword [rax + rax]
test eax, eax
je 0x14004640e
cmp eax, 0x50
je 0x14004640e
cmp eax, 0xb7
je 0x14004640e
test eax, eax
jg 0x140046405
mov ebx, eax
jmp 0x14004640e
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x14004646c
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x18]
call fcn.14001c0f4
mov rbx, rax
lea rdx, [rdi + 0xb0]
lea rcx, [rsp + 0x48]
call fcn.14001c074
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x88]
call fcn.14001c4b8
nop
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.1400569d4
mov ebx, eax
test eax, eax
js 0x14004646c
call fcn.14004d1b0
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.14002a3f0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400464ac
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x188]
sub rsp, 0x280
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x170], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 9
lea r8, str.SOFTWAREMicrosoftWindows_SearchCatalogListApplicationsWindowsCatalogs
mov rdx, 0xffffffff80000002
call fcn.14000a9b8
mov ebx, eax
test eax, eax
jle 0x140046514
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x188]
test ebx, ebx
jns 0x140046538
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0x9f8
call fcn.140043580
jmp 0x1400466bc
xor edi, edi
mov dword [rsp + 0x40], 0xff
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov edx, edi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
je 0x1400466ab
test eax, eax
jne 0x140046681
lea rdx, str.SystemIndex
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140046675
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1400a8778]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, str._l_t_b
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rbp + 0x188]
test eax, eax
jns 0x1400465fb
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0xa12
call fcn.140043580
xor ecx, ecx
mov qword [rsp + 0x48], rcx
test ebx, ebx
js 0x14004664b
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
mov rax, qword [rax + 0x80]
call qword [case.0x140024555.0]
mov ebx, eax
mov rcx, qword [rbp + 0x188]
test eax, eax
jns 0x140046646
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0xa19
call fcn.140043580
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004665e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140024555.0]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140046675
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140024555.0]
inc edi
test ebx, ebx
jns 0x14004653a
jmp 0x1400466ab
jg 0x140046687
mov ebx, eax
jmp 0x140046690
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x188]
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0xa09
call fcn.14004b198
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14002a3f0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14004a8b0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x188]
sub rsp, 0x270
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rsi, rdx
mov rdi, rcx
call fcn.14002b0cc
test al, al
jne 0x14004a8fb
mov ebx, 0x80004001
jmp 0x14004aa28
and qword [rsp + 0x20], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x30], 0
xor edx, edx
lea rcx, str.IndexUserProfilesRoot
call fcn.1400035d0
lea rcx, [rsp + 0x20]
test al, al
je 0x14004a932
call fcn.140043488
lea rcx, [0x1400a7f38]
jmp 0x14004a93e
call fcn.140043488
lea rcx, [0x1400a7f48]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r8
lea r9, [rsp + 0x20]
mov edx, 0x4400
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14004a9b6
mov r8, qword [rsp + 0x20]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14000c4cc
mov ebx, eax
test eax, eax
js 0x14004a9b6
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathAddBackslashW]
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov qword [rdi], rax
mov ecx, 0x8007000e
test rax, rax
cmove ebx, ecx
test ebx, ebx
jns 0x14004aa1e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14004b0bc
mov r9d, dword [rsi + 0x10]
mov r8, qword [rsi + 8]
mov edx, 0x7de
lea rcx, [rsp + 0x38]
call fcn.14004b110
mov dword [rsi + 0x14], eax
lea rcx, [rsp + 0x38]
call fcn.140029514
nop
lea rcx, [rsp + 0x20]
call fcn.140043488
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14002a3f0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret