Function at 0x14000a020
Capabilities:
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x458]
sub rsp, 0x558
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov rax, qword [0x14004e2d0]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r13, r9
mov rax, r8
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r9
xor ebx, ebx
mov r12d, ebx
lea rcx, [rsp + 0x60]
call fcn.140004b10
nop
mov word [rbp + 0x230], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x232]
call fcn.140023b30
mov edx, 0x104
lea rcx, [rbp + 0x230]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.1400011d0
mov rcx, rax
mov eax, ebx
test rcx, rcx
setne al
test eax, eax
jne 0x14000a0d6
mov ecx, 0x80004005
call fcn.1400047a0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
lea rcx, [rbp + 0x230]
lea rax, [rbp + 0x230]
or rsi, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x14000a12c
movzx edi, cx
mov ecx, edi
call fcn.140004860
test rax, rax
je 0x14000a227
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000e5a0
mov rbx, qword [rsp + 0x28]
jmp 0x14000a227
lea rax, [rbp + 0x230]
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14000a136
test edi, edi
jne 0x14000a1a0
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14000a227
cmp dword [rdx + 0x10], 0
jge 0x14000a179
cmp dword [rbx - 0xc], 0
jge 0x14000a16c
mov ecx, 0x80070057
call fcn.1400047a0
int3
xor edi, edi
mov dword [rbx - 0x10], edi
mov word [rbx], di
jmp 0x14000a229
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a189
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
jmp 0x14000a227
mov r15d, dword [rbx - 0x10]
lea r14, [rbp + 0x230]
sub r14, rbx
sar r14, 1
test edi, edi
jns 0x14000a1c0
mov ecx, 0x80070057
call fcn.1400047a0
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000a1e2
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.14000e8d0
mov rbx, qword [rsp + 0x28]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r14, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x14000a206
lea r8, [rbx + r14*2]
call fcn.14002148c
jmp 0x14000a212
lea r8, [rbp + 0x230]
call fcn.1400221d0
cmp edi, dword [rbx - 0xc]
jg 0x14000a767
mov dword [rbx - 0x10], edi
xor edi, edi
mov word [r15 + rbx], di
jmp 0x14000a229
xor edi, edi
lea r8, str.Inf_
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.14000ce30
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a254
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r8, str.oem.inf
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.14000ce30
nop
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
mov qword [rbp - 0x58], rax
mov r15d, 1
mov r14d, r15d
mov eax, edi
setne al
test eax, eax
je 0x14000a611
lea r8, [rbp + 0xc]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14000ce30
nop
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx - 8], 0
jl 0x14000a2d4
cmp rax, qword [rbx - 0x18]
jne 0x14000a2d4
lea rdi, [rbx - 0x18]
lock inc dword [rbx - 8]
jmp 0x14000a30f
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rdi, rax
test rax, rax
je 0x14000a60b
mov eax, dword [rbx - 0x10]
mov dword [rdi + 8], eax
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rbx
add rdx, rdx
lea rcx, [rdi + 0x18]
call fcn.1400221d0
lea rax, [rdi + 0x18]
mov qword [rbp - 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140009540
test eax, eax
je 0x14000a5a8
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
xor edi, edi
cmp dword [rdx - 0x10], edi
je 0x14000a35f
mov eax, edi
test rdx, rdx
setne al
test eax, eax
je 0x14000a5d4
mov rcx, qword [rsp + 0x78]
call fcn.140021588
mov r15d, edi
test eax, eax
sete r15b
mov rax, qword [r13]
cmp dword [rax - 0x10], 0
je 0x14000a51d
call fcn.1400011d0
mov rcx, rax
mov eax, edi
test rcx, rcx
setne al
test eax, eax
je 0x14000a5ea
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rsp + 0x70]
cmp dword [rcx - 0x10], 0
jl 0x14000a460
lea rdx, [0x140040804]
call fcn.140021dfc
test rax, rax
je 0x14000a460
sub rax, qword [rsp + 0x70]
sar rax, 1
cmp eax, 0xffffffff
jle 0x14000a460
lea r8d, [rax + 1]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x70]
call fcn.14000cd40
nop
mov rcx, rax
call fcn.14000d620
mov rcx, rax
call fcn.14000cc20
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14000a441
cmp dword [rbx + 0x10], 0
jl 0x14000a432
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14000a432
call fcn.14000e040
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x14000a425
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x20], rax
xor edi, edi
jmp 0x14000a441
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.14000df50
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a459
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x20]
jmp 0x14000a4cb
lea rcx, [rsp + 0x70]
call fcn.14000d620
mov rcx, rax
call fcn.14000cc20
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x14000a4c9
cmp dword [rdi + 0x10], 0
jl 0x14000a4b6
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14000a4b6
call fcn.14000e040
mov rbx, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x14000a4ab
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
add rbx, 0x18
mov qword [rsp + 0x20], rbx
jmp 0x14000a4c9
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.14000df50
mov rbx, qword [rsp + 0x20]
xor edi, edi
mov eax, edi
test rbx, rbx
setne al
test eax, eax
je 0x14000a5df
mov rax, qword [r13]
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x14000a4fb
add rax, 2
test cx, cx
jne 0x14000a4e5
mov eax, edi
jmp 0x14000a500
sbb eax, eax
or eax, 1
mov r14d, edi
test eax, eax
sete r14b
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a51d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test r14d, r14d
je 0x14000a5a8
test r15d, r15d
je 0x14000a5a8
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax]
mov eax, edi
test rdx, rdx
setne al
test eax, eax
je 0x14000a600
mov rcx, qword [rsp + 0x60]
call fcn.140021588
test eax, eax
jne 0x14000a5a8
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
mov eax, edi
test rdx, rdx
setne al
test eax, eax
je 0x14000a5f5
mov rcx, qword [rsp + 0x68]
call fcn.140021588
test eax, eax
jne 0x14000a5a8
mov edx, 0x80
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xc]
call qword [sym.imp.SETUPAPI.dll_SetupUninstallOEMInfW]
test eax, eax
je 0x14000a5a1
inc r12d
jmp 0x14000a5a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a5c1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x14000a290
mov ecx, 0x80004005
call fcn.1400047a0
nop
mov ecx, 0x80004005
call fcn.1400047a0
nop
mov ecx, 0x80004005
call fcn.1400047a0
int3
mov ecx, 0x80004005
call fcn.1400047a0
int3
mov ecx, 0x80004005
call fcn.1400047a0
int3
call fcn.14000e8c0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a62b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a645
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a65d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a675
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a68d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a6a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a6bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a6d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a6f2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a70f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a72c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a749
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [r13]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a762
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, r12d
jmp 0x14000a772
mov ecx, 0x80070057
call fcn.1400047a0
nop
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.140020aa0
add rsp, 0x558
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret