Function at 0x140014ca0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x1130
call fcn.1400e67f0
sub rsp, rax
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x1160], rbx
mov rax, qword [0x14012e6d8]
xor rax, rsp
mov qword [rsp + 0x1120], rax
mov dword [rsp + 0x68], r8d
mov rdi, rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
call fcn.140055b68
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x140014d0e
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
lea r9, str.RTKVHD64.sys
mov r8, rdi
lea rdx, [0x1400eb388]
lea rcx, [rsp + 0x6f0]
call fcn.1400034e0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x60], rdx
call fcn.140055b68
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x140014d64
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x6f0]
lea rax, [rsp + 0x6f0]
or rbp, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x140014db0
movzx edi, cx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x140014dda
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140006090
jmp 0x140014dda
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x6f0]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x6f0]
lea rcx, [rsp + 0x50]
call fcn.1400062e0
nop
lea rcx, [rsp + 0x50]
call fcn.140005980
test eax, eax
je 0x140014e08
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x140014e01
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400151e8
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x90]
call fcn.14009c4e0
mov r8, qword [rsp + 0x78]
lea rdx, str._s.
lea rcx, [rsp + 0xd10]
call fcn.1400034e0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xd10]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x1400151cd
nop
nop
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0xbc]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140014ed5
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140014f63
cmp dword [rdx + 0x10], eax
jge 0x140014ea7
cmp dword [rbx - 0xc], eax
jl 0x14001517c
mov dword [rbx - 0x10], eax
mov word [rbx], ax
jmp 0x140014f63
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140014ebe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
jmp 0x140014f63
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0xbc]
sub rbp, rbx
sar rbp, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140014f08
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004670
mov rbx, qword [rsp + 0x48]
cmp rbp, rsi
ja 0x140014f28
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14009b340
jmp 0x140014f45
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0xbc]
mov rdx, rsi
mov rcx, rbx
call fcn.14009b270
test edi, edi
js 0x1400151c2
cmp edi, dword [rbx - 0xc]
jg 0x1400151c2
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
or rbp, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x1400e9d14]
mov rsi, rbx
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x140014f7e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x140015160
xor eax, eax
lea rdi, [0x1400eb87c]
mov rsi, rbx
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x140014fa6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x140015160
mov r9, rbx
mov r8, qword [rsp + 0x78]
lea rdx, [0x1400eb388]
lea rcx, [rsp + 0x2e0]
call fcn.1400034e0
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x80], rdx
call fcn.140055b68
mov rcx, rax
xor esi, esi
mov eax, esi
test rcx, rcx
setne al
test eax, eax
je 0x1400151a6
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x2e0]
lea rax, [rsp + 0x2e0]
test rax, 0xffffffffffff0000
jne 0x14001503e
movzx edi, cx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x140015068
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006090
jmp 0x140015068
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x2e0]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x58]
call fcn.1400062e0
nop
lea rcx, [rsp + 0x58]
call fcn.140005880
test eax, eax
je 0x1400150a0
xor r8d, r8d
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x70]
call fcn.140014ca0
test eax, eax
je 0x140015160
mov dword [rsp + 0x40], 1
jmp 0x140015160
cmp dword [rsp + 0x68], 0
jne 0x140015160
movsxd rdi, dword [rbx - 0x10]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400150d1
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004670
mov rbx, qword [rsp + 0x48]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.14009b820
test edi, edi
js 0x14001519b
cmp edi, dword [rbx - 0xc]
jg 0x14001519b
mov dword [rbx - 0x10], edi
mov word [rbx + rdi*2], 0
cmp dword [rbx - 0x10], 0
jl 0x140015160
lea rdx, str..INF
mov rcx, rbx
call fcn.14009b200
test rax, rax
je 0x140015160
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x140015160
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0xb00]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfW]
test eax, eax
je 0x140015187
mov dword [rsp + 0x40], 1
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400151b1
jmp 0x140014e60
mov ecx, 0x80070057
call fcn.140001610
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.14000c960
jmp 0x1400151b1
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80004005
call fcn.140001610
int3
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [rsp + 0x40]
jmp 0x1400151cd
mov ecx, 0x80070057
call fcn.140001610
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x1400151e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
mov rcx, qword [rsp + 0x1120]
xor rcx, rsp
call fcn.14009af10
mov rbx, qword [rsp + 0x1160]
add rsp, 0x1130
pop rdi
pop rsi
pop rbp
ret