Function at 0x140092700
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x710
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rsp + 0x700], rax
mov qword [rsp + 0x58], r9
mov dword [rsp + 0x38], r8d
mov esi, edx
xor r13d, r13d
mov eax, r13d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x78]
call fcn.14010312c
nop
call fcn.140102a14
mov rcx, rax
mov eax, r13d
test rcx, rcx
setne al
test eax, eax
jne 0x14009277b
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.140102a14
mov rcx, rax
mov eax, r13d
test rcx, rcx
setne al
test eax, eax
jne 0x1400927aa
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
call fcn.140102a14
mov rcx, rax
mov eax, r13d
test rcx, rcx
setne al
test eax, eax
jne 0x1400927d9
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x28], rdi
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, rax
mov rax, qword [rax]
mov r8d, 0x104
lea rdx, [rsp + 0x4f0]
call qword [rax + 0xe8]
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, str.InsDrv.ini
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
cmp esi, 3
je 0x140092857
cmp esi, 5
jne 0x140092875
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + VarBstrFromDisp]
mov r14, rax
jmp 0x140092870
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x60]
mov r14, rax
test r14, r14
jne 0x1400928e3
lea rdx, [rdi - 0x18]
or r12, 0xffffffffffffffff
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140092895
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400928b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x1400928d7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
call fcn.140103194
xor eax, eax
jmp 0x140093016
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
lea rdi, [rsp + 0x4f0]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14009296b
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140092960
cmp dword [rdx + 0x10], eax
jge 0x140092937
cmp dword [rbx - 0xc], eax
jge 0x140092924
mov ecx, 0x80070057
call fcn.140005210
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
mov r15d, 1
jmp 0x1400929f9
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14009294e
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 + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov r15d, 1
jmp 0x1400929f9
mov r13d, dword [rbx - 0x10]
lea rsi, [rsp + 0x4f0]
sub rsi, rbx
sar rsi, 1
test ecx, ecx
jns 0x14009298b
mov ecx, 0x80070057
call fcn.140005210
mov r15d, 1
mov ecx, r15d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400929b1
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140005e40
mov rbx, qword [rsp + 0x20]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp rsi, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x1400929d5
lea r8, [rbx + rsi*2]
call fcn.1402457b4
jmp 0x1400929e2
lea r8, [rsp + 0x4f0]
call fcn.1402471ac
cmp edi, dword [rbx - 0xc]
jg 0x140093000
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r13 + rbx], ax
xor r13d, r13d
xor eax, eax
mov rcx, r12
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.140005d50
mov edx, 0x5c
mov rcx, rbx
call fcn.140249468
test rax, rax
jne 0x140092a2f
mov eax, r12d
jmp 0x140092a35
sub rax, rbx
sar rax, 1
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14000d770
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140092aa2
cmp dword [rbx + 0x10], 0
jl 0x140092a93
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140092a93
call fcn.140006190
mov rdi, rax
mov eax, r12d
lock xadd dword [rbx + 0x10], eax
dec eax
test eax, eax
jg 0x140092a88
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x20], rax
jmp 0x140092aa2
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.140005d50
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140092ad0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop word [rax + rax]
mov rbx, qword [rsp + 0x28]
cmp dword [rbx - 0x10], 0
jl 0x140092c31
lea rdx, [0x1402f5b20]
mov rcx, rbx
call fcn.140245e24
test rax, rax
je 0x140092c31
sub rax, rbx
sar rax, 1
test eax, eax
jne 0x140092c31
lea edx, [rax + 0x5c]
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call fcn.140249468
test rax, rax
jne 0x140092b1f
mov eax, r12d
jmp 0x140092b25
sub rax, rdi
sar rax, 1
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.14000d770
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140092b92
cmp dword [rdi + 0x10], 0
jl 0x140092b83
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140092b83
call fcn.140006190
mov rbx, rax
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x140092b78
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x20], rax
jmp 0x140092b92
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.140005d50
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140092bb2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, 3
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.1400475a0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x28]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140092c27
cmp dword [rdi + 0x10], 0
jl 0x140092c18
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140092c18
call fcn.140006190
mov rbx, rax
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x140092c0d
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x28], rax
jmp 0x140092c27
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005d50
nop
mov rdx, qword [rsp + 0x48]
jmp 0x140092aa7
mov r9, rbx
mov rsi, qword [rsp + 0x20]
mov r8, rsi
lea rdx, [0x1402dd6b0]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0x2e0]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x140092ce0
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140092d65
cmp dword [rdx + 0x10], eax
jge 0x140092cad
cmp dword [rsi - 0xc], eax
jge 0x140092ca0
mov ecx, 0x80070057
call fcn.140005210
mov dword [rsi - 0x10], r13d
mov word [rsi], r13w
jmp 0x140092d65
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140092cc4
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 + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x20], rsi
mov rbx, qword [rsp + 0x28]
jmp 0x140092d65
mov r14d, dword [rsi - 0x10]
lea r13, [rsp + 0x2e0]
sub r13, rsi
sar r13, 1
test ecx, ecx
jns 0x140092d00
mov ecx, 0x80070057
call fcn.140005210
mov ecx, r15d
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140092d20
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140005e40
mov rsi, qword [rsp + 0x20]
movsxd rax, edi
movsxd rdx, dword [rsi - 0xc]
mov rcx, rsi
add rdx, rdx
cmp r13, r14
lea r14, [rax + rax]
mov r9, r14
ja 0x140092d44
lea r8, [rsi + r13*2]
call fcn.1402457b4
jmp 0x140092d51
lea r8, [rsp + 0x2e0]
call fcn.1402471ac
cmp edi, dword [rsi - 0xc]
jg 0x140092ff6
mov dword [rsi - 0x10], edi
xor r13d, r13d
mov word [r14 + rsi], r13w
mov ecx, dword [rsp + 0x38]
test ecx, ecx
jle 0x140092d7d
mov eax, r13d
cmp dword [rsi - 0x10], ecx
setg al
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
lea rdx, [0x1402f35b0]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
mov edi, dword [rsp + 0x30]
cmp rax, 0xffffffffffffffff
je 0x140092f96
nop dword [rax]
test edi, edi
jne 0x140092f8c
test r15d, r15d
je 0x140092f8c
lea rdx, [0x1402e3994]
lea rcx, [rsp + 0xbc]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140092f73
lea rdx, [0x1402e3998]
lea rcx, [rsp + 0xbc]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140092f73
test byte [rsp + 0x90], 0x10
je 0x140092eb6
lea r8, [rsp + 0xbc]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.14003ffa0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140092e8a
cmp dword [rbx + 0x10], edi
jl 0x140092e7b
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140092e7b
call fcn.140006190
mov rdi, rax
mov eax, r12d
lock xadd dword [rbx + 0x10], eax
dec eax
test eax, eax
jg 0x140092e70
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x28], rax
jmp 0x140092e8a
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140005d50
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140092eaa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
jmp 0x140092f1c
lea rcx, [rsi - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x140092f19
cmp dword [rdi + 0x10], 0
jl 0x140092f03
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140092f03
call fcn.140006190
mov rbx, rax
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x140092ef3
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rbx, 0x18
mov qword [rsp + 0x28], rbx
mov rsi, qword [rsp + 0x20]
jmp 0x140092f19
mov r8d, dword [rsi - 0x10]
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140005d50
mov rbx, qword [rsp + 0x28]
inc r13d
cmp r13d, 2
jl 0x140092f47
xor eax, eax
test rbx, rbx
setne al
test eax, eax
jne 0x140092f38
mov ecx, 0x80004005
call fcn.140005210
mov rdx, rbx
mov rcx, rsi
call fcn.140247088
test eax, eax
je 0x140092f6f
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
mov rax, qword [rax]
mov rdx, rbx
call qword [rax + 0x3f8]
mov edi, eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
jmp 0x140092f73
mov edi, dword [rsp + 0x30]
lea rdx, [rsp + 0x90]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov r15d, eax
jmp 0x140092dc0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140092fb2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140092fd3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x140092ff4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14009300f
mov ecx, 0x80070057
call fcn.140005210
mov ecx, 0x80070057
call fcn.140005210
nop
mov edi, dword [rsp + 0x34]
call fcn.140103194
mov eax, edi
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret