Function at 0x10026890
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002776e
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x2dc]
movzx ecx, byte [eax + 0x2c]
test ecx, ecx
je 0x100268e0
xor eax, eax
jmp 0x10026c88
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x268], 0
mov edx, dword [ebp - 0x2dc]
cmp dword [edx + 8], 0
jne 0x10026afe
lea ecx, [ebp - 0x284]
call fcn.10003cf0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x2dc]
call fcn.10026540
push 0x1002b49c
lea ecx, [ebp - 0x284]
call fcn.10003e20
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x284]
call fcn.10003fa0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x2dc]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x2dc]
cmp dword [eax + 8], 0xffffffff
jne 0x100269ad
mov ecx, dword [ebp - 0x2dc]
mov dword [ecx], 0
mov edx, dword [ebp - 0x2dc]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x2dc]
mov byte [eax + 0x2c], 1
mov dword [ebp - 0x288], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.10003da0
mov eax, dword [ebp - 0x288]
jmp 0x10026c88
push 0x1002b4a4
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10026aec
push 0x1002b4a8
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10026aec
mov eax, dword [ebp - 0x264]
and eax, 0x10
je 0x10026aec
push 0x30
call fcn.1000c339
add esp, 4
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x290], 0
je 0x10026a76
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.10003d20
mov dword [ebp - 0x2e0], eax
mov edx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2e4], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2d8]
or eax, 1
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x28]
add edx, 1
push edx
mov eax, dword [ebp - 0x2e4]
push eax
push 0
mov ecx, dword [ebp - 0x2dc]
push ecx
push 0
mov ecx, dword [ebp - 0x290]
call fcn.100264f0
mov dword [ebp - 0x2e8], eax
jmp 0x10026a80
mov dword [ebp - 0x2e8], 0
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x28c], edx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x268], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2d8]
and ecx, 1
je 0x10026ac3
and dword [ebp - 0x2d8], 0xfffffffe
lea ecx, [ebp - 0x2ac]
call fcn.10003da0
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.10003da0
mov eax, dword [ebp - 0x2b0]
jmp 0x10026c88
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.10003da0
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x10026b57
push 0x1002b4b0
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10026b57
push 0x1002b4b4
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10026b57
mov edx, dword [ebp - 0x264]
and edx, 0x10
je 0x10026b57
jmp 0x10026b6c
cmp dword [ebp - 0x10], 0
jne 0x10026b6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x10026b6a
jmp 0x10026b6c
jmp 0x10026afe
cmp dword [ebp - 0x10], 0
jne 0x10026bac
mov eax, dword [ebp - 0x2dc]
mov dword [eax], 0
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x2dc]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x2dc]
mov byte [ecx + 0x2c], 1
xor eax, eax
jmp 0x10026c88
push 0x30
call fcn.1000c339
add esp, 4
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x2b8], 0
je 0x10026c35
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp - 0x2d4]
call fcn.10003d20
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2d8]
or ecx, 2
mov dword [ebp - 0x2d8], ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x28]
add eax, 1
push eax
mov ecx, dword [ebp - 0x2f0]
push ecx
push 0
mov edx, dword [ebp - 0x2dc]
push edx
push 0
mov ecx, dword [ebp - 0x2b8]
call fcn.100264f0
mov dword [ebp - 0x2f4], eax
jmp 0x10026c3f
mov dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x268], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2d8]
and edx, 2
je 0x10026c82
and dword [ebp - 0x2d8], 0xfffffffd
lea ecx, [ebp - 0x2d4]
call fcn.10003da0
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret