Function at 0x10069d90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5298]
mov eax, 0x5298
call fcn.10058510
push 0xffffffffffffffff
push 0x100827a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100aa470]
xor eax, ebp
mov dword [ebp + 0x5294], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x52a0]
push eax
call fcn.100699d0
mov dword [ebp - 4], 0
mov dword [esi], vtable.MFX::MFXPluginsInFS.0
mov byte [esi + 0x10], 0
mov byte [esi + 0x11], 0
push 0x1000
lea ecx, [ebp + 0x3294]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1006a058
push 0x5c
lea edx, [ebp + 0x3294]
push edx
call fcn.10071b02
add esp, 8
test eax, eax
jne 0x10069e33
lea eax, [ebp + 0x3294]
mov ebx, eax
lea ecx, [ebp + 0x3294]
sub ebx, ecx
sar ebx, 1
add ebx, 1
mov dword [ebp - 0x20], ebx
lea edx, [ebx + 0x2a]
cmp edx, 0x1000
jae 0x1006a058
push str.________________________________
mov ecx, 0x1000
sub ecx, ebx
push ecx
add eax, 2
push eax
call fcn.10056cca
add esp, 0xc
lea edx, [ebp + 0x3044]
push edx
lea eax, [ebp + 0x3294]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x1006a058
test byte [ebp + 0x3044], 0x10
je 0x1006a038
lea eax, [ebp + 0x3070]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10069ea3
sub eax, edx
sar eax, 1
cmp eax, 0x20
jne 0x1006a038
push 0x40
push 0
lea ecx, [ebp]
push ecx
call fcn.100499b0
push 0x2000
push 0
lea edx, [ebp + 0x40]
push edx
call fcn.100499b0
push 0x1000
push 0
lea eax, [ebp + 0x2040]
push eax
call fcn.100499b0
add esp, 0x24
mov byte [ebp + 0x3041], 0
mov ecx, dword [ebp + 0x52a0]
mov dword [ebp + 0x1c], ecx
mov byte [ebp + 0x3040], 1
xor esi, esi
lea edi, [ebp + 0x3070]
lea ecx, [ecx]
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
push 0x10093b64
push edi
call fcn.10071c8f
add esp, 0xc
cmp eax, 1
jne 0x10069f5a
cmp dword [ebp - 0x1c], 0
jne 0x10069f46
push 0x10093b5c
push edi
call fcn.10071b30
add esp, 8
cmp edi, eax
jne 0x10069f5a
mov al, byte [ebp - 0x1c]
mov byte [ebp + esi + 0x20], al
add esi, 1
add edi, 4
cmp esi, 0x10
jne 0x10069f10
jmp 0x10069f63
cmp esi, 0x10
jne 0x1006a035
lea ecx, [ebp + 0x3070]
push ecx
mov edx, 0x1000
sub edx, ebx
push edx
lea eax, [ebp + ebx*2 + 0x3294]
push eax
call fcn.10056cca
push 0x10093b58
mov ecx, 0xfe0
sub ecx, ebx
push ecx
lea edx, [ebp + ebx*2 + 0x32d4]
push edx
call fcn.10056cca
lea eax, [ebp + 0x3294]
push eax
push 0x1000
lea ecx, [ebp + 0x40]
push ecx
call fcn.10056cca
push str.plugin.cfg
mov edx, 0xfdf
sub edx, ebx
push edx
lea eax, [ebp + ebx*2 + 0x32d6]
push eax
call fcn.10056cca
mov dword [ebp - 0x18], 0
push 0x10093b54
lea ecx, [ebp + 0x3294]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.10042513
add esp, 0x3c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1006a035
lea ecx, [ebp]
push ecx
push eax
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.10069730
test al, al
je 0x1006a029
mov byte [ebp - 4], 1
lea edx, [ebp]
push edx
mov ecx, esi
call fcn.10069800
mov dword [ebp - 4], 0
jmp 0x1006a029
mov eax, dword [ebp - 0x18]
push eax
call fcn.10041098
add esp, 4
mov esi, dword [ebp - 0x14]
lea ecx, [ebp + 0x3044]
push ecx
mov edi, dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10069e8d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5294]
xor ecx, ebp
call fcn.10040698
add ebp, 0x5298
mov esp, ebp
pop ebp
ret 4