joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140066858
Capabilities:
Create thread
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r14, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov rdx, r8
lea rcx, [rsp + 0x58]
call fcn.14002e8f4
mov rdi, rax
mov qword [rsp + 0x50], rax
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.14002e8f4
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.14002e8f4
nop
mov rdx, rdi
lea rcx, [rbp + 0x140]
call fcn.14002e8f4
and dword [rbp + 0x1e0], 0
and qword [rbp + 0x1e8], 0
mov rcx, rbx
call fcn.140011278
nop
mov rcx, rdi
call fcn.140011278
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rbp + 0xa0]
lea r8, [0x1400667e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
mov qword [rbp + 0x1e8], rax
xor ebx, ebx
mov edi, 0x80070000
test rax, rax
jne 0x14006695c
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 0x14006695c
movzx ebx, ax
or ebx, edi
test ebx, ebx
js 0x1400669d6
lea rcx, str.CSM____Ping__n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
mov edx, 2
mov rcx, qword [r15 + 8]
call fcn.1400345b0
mov edx, 0x7d0
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
cmp eax, 0x102
je 0x140066960
test eax, eax
jne 0x1400669ac
mov ebx, dword [rbp + 0x1e0]
jmp 0x1400669c3
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 0x1400669c3
movzx ebx, ax
or ebx, edi
lea rcx, str.Catalog_move:_end_copy__acknowledged_from_main_thread__n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
lea rcx, [rbp + 0xa0]
call fcn.140066600
nop
mov rcx, rsi
call fcn.140011278
nop
mov rcx, r14
call fcn.140011278
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140036b80
mov rbx, qword [rsp + 0x348]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140066cfc
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rdx
lea rcx, [rbp + 0x120]
call fcn.14002e8f4
nop
mov rdx, rsi
lea rcx, [rbp + 0x80]
call fcn.14002e8f4
nop
mov rax, qword [rbp + 0x80]
movabs r10, 0x8cc4973714525370
mov r9d, dword [rbp + 0x134]
mov r8d, dword [rbp + 0x94]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x80]
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
mov rax, qword [rbp + 0x80]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
mov r8d, dword [rbp + 0x94]
lea rdx, [0x1400aa4d0]
lea rcx, [rbp + 0x80]
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
xor edi, edi
mov ebx, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x1c0]
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileExW]
nop dword [rax + rax]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140066ef8
test byte [rbp + 0x1c0], 0x10
je 0x140066ea3
cmp word [rbp + 0x1ec], 0x2e
je 0x140066eaa
inc qword [rsi + 0xa8]
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x20]
call fcn.14002e8f4
nop
mov rax, qword [rbp - 0x20]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
mov r8d, dword [rbp - 0xc]
lea rdx, [0x1400aa640]
lea rcx, [rbp - 0x20]
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
mov rax, qword [rbp - 0x20]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
mov r8d, dword [rbp - 0xc]
lea rdx, [rbp + 0x1ec]
lea rcx, [rbp - 0x20]
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14002e8f4
mov rdx, rax
mov rcx, rsi
call fcn.140066cfc
mov ebx, eax
lea rcx, [rbp - 0x20]
call fcn.140011278
jmp 0x140066eaa
inc qword [rsi + 0xa0]
test ebx, ebx
js 0x140066ee7
lea rdx, [rbp + 0x1c0]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140066df4
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 0x140066ee7
movzx ebx, ax
or ebx, 0x80070000
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
jmp 0x140066f13
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 0x140066f13
movzx ebx, ax
or ebx, 0x80070000
cmp ebx, 0x80070012
cmovne edi, ebx
lea rcx, [rbp + 0x80]
call fcn.140011278
nop
lea rcx, [rbp + 0x120]
call fcn.140011278
nop
mov rcx, r15
call fcn.140011278
mov eax, edi
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140036b80
mov rbx, qword [rsp + 0x560]
add rsp, 0x520
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006913c
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x288
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x2f8]
mov rbp, rdx
mov edx, dword [rsp + 0x2f0]
mov r15, r8
mov qword [rsp + 0x48], r9
mov r12, rcx
mov qword [rsp + 0x50], rax
mov ebx, 1
test rbp, rbp
jne 0x140069197
test r8, r8
je 0x1400692b1
test edx, edx
mov r14d, 0x104
mov rcx, 0xffffffffffffffff
mov eax, 2
cmovne r14d, edx
mul r14
lea rdx, [0x1400aa420]
cmovo rax, rcx
mov rcx, rax
call fcn.14003726c
mov rdi, rax
test rax, rax
jne 0x1400691d4
xor ebx, ebx
jmp 0x1400692b1
mov r13d, dword [rsp + 0x300]
xor esi, esi
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x28], rax
mov r8, rdi
and qword [rsp + 0x20], 0
mov edx, esi
mov rcx, r12
mov dword [rsp + 0x44], 0x104
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14006928d
mov rax, qword [rsp + 0x50]
mov r9, r15
mov dword [rsp + 0x38], r13d
mov r8, rbp
mov qword [rsp + 0x30], rax
mov rdx, rdi
mov rax, qword [rsp + 0x48]
mov rcx, r12
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call fcn.1400692e0
mov ebx, eax
test eax, eax
je 0x14006929b
test rbp, rbp
je 0x14006929b
cmp dword [rsp + 0x40], r14d
jae 0x140069289
movabs r10, 0xbb4017917ad95b70
mov r8, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, r12
mov rax, rbp
call qword [case.0x14001f589.0]
jmp 0x14006929b
xor ebx, ebx
jmp 0x14006929b
cmp eax, 0x103
je 0x1400692a9
cmp eax, 0xea
jne 0x1400692a7
inc esi
test ebx, ebx
jne 0x1400691de
jmp 0x1400692a9
xor ebx, ebx
mov rcx, rdi
call fcn.14003729c
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140036b80
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400693b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r12, r8
mov r15, rdx
mov r14, rcx
mov ebx, 1
test rdx, rdx
je 0x1400694af
test r9d, r9d
mov eax, 0x1000
cmovne eax, r9d
mov ecx, eax
mov esi, eax
call fcn.140037598
mov rbp, rax
xor edi, edi
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
and qword [rsp + 0x20], 0
mov edx, edi
mov rcx, r14
mov dword [rsp + 0x44], esi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140069493
cmp dword [rsp + 0x40], 0x104
jae 0x14006948f
mov eax, dword [rsp + 0x44]
cmp eax, esi
ja 0x14006948f
movabs r10, 0x87b02e797c5d2170
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], r12
mov r9, rbp
mov dword [rsp + 0x20], eax
mov rcx, r14
mov rax, r15
call qword [case.0x14001f589.0]
jmp 0x1400694a1
xor ebx, ebx
jmp 0x1400694a1
cmp eax, 0x103
je 0x1400694af
cmp eax, 0xea
jne 0x1400694ad
inc edi
test ebx, ebx
jne 0x140069405
jmp 0x1400694af
xor ebx, ebx
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140036b80
add rsp, 0x270
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140069ec0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x390
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rdi, rdx
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
or r9, 0xffffffffffffffff
xor ebx, ebx
inc r9
cmp word [rdi + r9*2], bx
jne 0x140069efe
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x38], r9d
mov qword [rsp + 0x30], rdi
lea rax, [0x1400a40e0]
mov qword [rsp + 0x28], rax
lea r8d, [r9 - 1]
movsxd rdx, r8d
test r8d, r8d
js 0x140069f45
movzx ecx, word [rdi + rdx*2]
call fcn.1400191e8
test eax, eax
jne 0x140069f45
dec r8d
sub rdx, 1
jns 0x140069f2f
inc r8d
sub r9d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400127e0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x68]
mov edx, 0x21
lea rcx, [rsp + 0x50]
call fcn.1400665bc
lea rax, [0x1400a3820]
mov qword [rsp + 0x50], rax
mov r9d, 0xf003f
mov r8, qword [rsp + 0x58]
mov rdx, rsi
lea rcx, [rsp + 0xb0]
call fcn.140069c50
nop
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x170]
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.1400136a4
test eax, eax
jne 0x14006a031
lea rcx, [rsp + 0xb0]
call fcn.140014d5c
nop
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
jne 0x140069ff0
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14006a022
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14006a00f
mov ecx, eax
jmp 0x140069fe2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov ebx, 1
lea rcx, [rsp + 0x50]
call fcn.14000c2a4
nop
mov eax, ebx
jmp 0x14006a086
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xb0]
call fcn.140069ec0
test eax, eax
jne 0x140069f9b
lea rcx, [rsp + 0xb0]
call fcn.140014d5c
nop
lea rcx, [rsp + 0x50]
call fcn.14000c2a4
nop
lea rax, [0x1400a2b90]
mov qword [rsp + 0x28], rax
xor eax, eax
jmp 0x14006a086
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140036b80
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14006a120
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbx, r8
mov esi, edx
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
cmp qword [rdi + 0xb0], 0
jne 0x14006a164
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14006a1e2
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8, qword [rbx + 8]
mov edx, esi
mov rcx, qword [rdi + 0xb0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0xea
jne 0x14006a1c9
mov eax, dword [rsp + 0x60]
add eax, eax
mov dword [rsp + 0x60], eax
mov edx, dword [rsp + 0x60]
mov rcx, rbx
call fcn.140011b30
nop
jmp 0x14006a16b
test eax, eax
je 0x14006a1d1
mov ecx, eax
jmp 0x14006a154
mov edx, dword [rsp + 0x60]
mov rcx, rbx
call fcn.140011b00
mov eax, 1
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14006a524
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
jne 0x14006a549
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14006a58d
mov dword [rsp + 0x28], 8
lea rdx, str.SchemaCacheTimestamp
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14006a57a
mov ecx, eax
jmp 0x14006a539
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

Function at 0x14006a59c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0xb0], 0
mov rsi, rdx
mov rdi, rcx
jne 0x14006a5d0
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14006a627
mov eax, dword [r8 + 0x14]
xor edx, edx
mov rcx, r8
lea ebx, [rax*2 + 2]
call fcn.140011b30
mov rcx, qword [rdi + 0xb0]
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov rdx, rsi
mov ebx, 1
mov qword [rsp + 0x20], rax
mov r9d, ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14006a617
mov ecx, eax
jmp 0x14006a5c0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14006a640
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
jne 0x14006a665
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14006a69f
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, r8d
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14006a68c
mov ecx, eax
jmp 0x14006a655
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

Function at 0x14006a724
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14006a86e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 3
jne 0x14006a848
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14006b44c
test al, al
je 0x14006a81d
mov rsi, qword [rsp + 0x38]
mov rcx, 0xffffffffffffffff
mov eax, 2
lea rbp, [rsi + 1]
mul rbp
lea rdx, [0x1400aa420]
cmovo rax, rcx
mov rcx, rax
call fcn.14003726c
mov rbx, rax
test rax, rax
jne 0x14006a7d1
mov rcx, qword [rsp + 0x28]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov ebx, 0x8007000e
lea edx, [rax + 0x7b]
mov r9d, ebx
call fcn.140028614
mov eax, ebx
jmp 0x14006a870
mov r9, rsi
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call fcn.140021590
mov esi, eax
test eax, eax
jns 0x14006a80d
mov rcx, qword [rsp + 0x28]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov r9d, eax
mov edx, 0x7c
call fcn.140028614
mov rcx, rbx
call fcn.14003729c
mov eax, esi
jmp 0x14006a870
mov rcx, rbx
call fcn.14006a724
mov rcx, rbx
call fcn.14003729c
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14006a86e
mov rcx, qword [rsp + 0x28]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
lea edx, [rax + 0x7f]
call fcn.140052634
jmp 0x14006a870
cmp eax, 0xb7
je 0x14006a86e
test eax, eax
je 0x14006a86e
mov rcx, qword [rsp + 0x28]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov r9d, eax
mov edx, 0x83
call fcn.14005b9c8
jmp 0x14006a870
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14006a88c
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x350
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov r14d, edx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
mov edi, 1
test rcx, rcx
je 0x14006a8da
lea rdx, [0x1400aa710]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
jne 0x14006a8dc
xor edi, edi
test edi, edi
je 0x14006aaa8
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140011230
nop
lea rcx, [rsp + 0x50]
call fcn.140068cd0
mov rax, qword [rsp + 0x50]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
mov r8d, dword [rsp + 0x64]
lea rdx, [0x1400b3188]
lea rcx, [rsp + 0x50]
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
and qword [rsp + 0x40], 0
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006aa4d
lea rdx, [0x1400aa304]
lea rcx, [rsp + 0x11c]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
je 0x14006aa2e
lea rdx, [0x1400b3190]
lea rcx, [rsp + 0x11c]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
je 0x14006aa2e
mov rax, qword [rsp + 0x50]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x50]
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
lea rcx, [rsp + 0x50]
call fcn.140068cd0
mov rax, qword [rsp + 0x50]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
mov r8d, dword [rsp + 0x64]
lea rdx, [rsp + 0x11c]
lea rcx, [rsp + 0x50]
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
mov rcx, qword [rsp + 0x58]
test byte [rsp + 0xf0], 0x10
je 0x14006aa22
xor r8d, r8d
mov edx, r14d
call fcn.14006a88c
jmp 0x14006aa2e
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14006a951
lea rcx, [rsp + 0x30]
call fcn.14006a6e8
test r14d, r14d
je 0x14006aa9d
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_RemoveDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14006aa9d
xor edi, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x20], eax
mov r9, rsi
lea r8, str._UtilFileSystem__Error_delnoding__ls._0x_08x
mov edx, 0xe5
lea rcx, str.onecoreuap_base_appmodel_searchcommonpkmutild_fsutil.cxx
call fcn.140068678
nop
lea rcx, [rsp + 0x50]
call fcn.140011278
nop
jmp 0x14006aab0
mov eax, edi
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.140036b80
mov rbx, qword [rsp + 0x380]
add rsp, 0x350
pop r14
pop rdi
pop rsi
ret
Function at 0x14006ac8c
Capabilities:
Create directory
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, r8
mov rdx, r8
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14006ad31
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
cmp eax, 0x50
je 0x14006acf4
cmp eax, 0xb7
je 0x14006acf4
lea r8, str._UtilFileSystem__CreateDirectory__ls_failed._0x_08x
mov edx, 0x5e
mov r9, rbx
mov dword [rsp + 0x20], eax
lea rcx, str.onecoreuap_base_appmodel_searchcommonpkmutild_fsutil.cxx
call fcn.1400599a4
xor eax, eax
jmp 0x14006ad5d
test rsi, rsi
je 0x14006ad31
mov r8, qword [rsi + 8]
mov edx, 4
mov rcx, rbx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_SetFileSecurityW]
nop dword [rax + rax]
test eax, eax
jne 0x14006ad31
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
lea r8, str._UtilFileSystem__SetFileSecurity__ls_failed._0x_08x
mov edx, 0x68
jmp 0x14006acdd
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
bts eax, 0xd
mov rcx, rbx
mov edx, eax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
nop dword [rax + rax]
and dword [rdi], 0
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14006b060
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r14, rdx
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.14002e8f4
nop
lea rcx, [rsp + 0x40]
call fcn.140068cd0
mov rax, qword [rsp + 0x40]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
mov r8d, dword [rsp + 0x54]
lea rdx, [0x1400b3188]
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006b21e
lea rdx, [0x1400aa304]
lea rcx, [rbp + 0xc]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
je 0x14006b203
lea rdx, [0x1400b3190]
lea rcx, [rbp + 0xc]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
je 0x14006b203
mov rax, qword [rsp + 0x40]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, qword [r14 + 8]
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
lea rcx, [rsp + 0x40]
call fcn.140068cd0
mov rax, qword [rsp + 0x40]
movabs r10, 0x8cc4973714525370
or r9d, 0xffffffff
mov r8d, dword [rsp + 0x54]
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
mov rax, qword [rsi]
mov r8d, dword [rbp - 0x20]
test r8b, 0x10
je 0x14006b1e2
movabs r10, 0xdffc268f7adceb70
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x14001f589.0]
mov edi, eax
test eax, eax
js 0x14006b25e
jne 0x14006b203
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14006b060
jmp 0x14006b1fd
movabs r10, 0xe4341ff178580a70
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x14001f589.0]
test eax, eax
mov edi, eax
js 0x14006b25e
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14006b0f4
lea rcx, [rsp + 0x30]
call fcn.14006a6e8
xor edi, edi
lea rcx, [rsp + 0x40]
call fcn.140011278
mov eax, edi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140036b80
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, [rsp + 0x30]
call fcn.14006a6e8
jmp 0x14006b22a