Function at 0x10027ea0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028d72
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x10032118]
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 0x10027ef0
xor eax, eax
jmp 0x10028298
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x268], 0
mov edx, dword [ebp - 0x2dc]
cmp dword [edx + 8], 0
jne 0x1002810e
lea ecx, [ebp - 0x284]
call fcn.10003d60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x2dc]
call fcn.10027b50
push 0x1002c4ec
lea ecx, [ebp - 0x284]
call fcn.10003e90
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x284]
call fcn.10004010
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 0x10027fbd
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.10003e10
mov eax, dword [ebp - 0x288]
jmp 0x10028298
push 0x1002c4f4
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100280fc
push 0x1002c4f8
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100280fc
mov eax, dword [ebp - 0x264]
and eax, 0x10
je 0x100280fc
push 0x30
call fcn.1000c647
add esp, 4
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x290], 0
je 0x10028086
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.10003d90
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.10027b00
mov dword [ebp - 0x2e8], eax
jmp 0x10028090
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 0x100280d3
and dword [ebp - 0x2d8], 0xfffffffe
lea ecx, [ebp - 0x2ac]
call fcn.10003e10
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.10003e10
mov eax, dword [ebp - 0x2b0]
jmp 0x10028298
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.10003e10
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 0x10028167
push 0x1002c500
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10028167
push 0x1002c504
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10028167
mov edx, dword [ebp - 0x264]
and edx, 0x10
je 0x10028167
jmp 0x1002817c
cmp dword [ebp - 0x10], 0
jne 0x1002817a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1002817a
jmp 0x1002817c
jmp 0x1002810e
cmp dword [ebp - 0x10], 0
jne 0x100281bc
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 0x10028298
push 0x30
call fcn.1000c647
add esp, 4
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x2b8], 0
je 0x10028245
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp - 0x2d4]
call fcn.10003d90
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.10027b00
mov dword [ebp - 0x2f4], eax
jmp 0x1002824f
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 0x10028292
and dword [ebp - 0x2d8], 0xfffffffd
lea ecx, [ebp - 0x2d4]
call fcn.10003e10
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.1000c2ef
mov esp, ebp
pop ebp
ret