Function at 0x10018f80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101531cc
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2ac], 0
push 0x101657b4
lea ecx, [ebp - 0x28]
call fcn.10003d50
mov dword [ebp - 4], 0
push 0x101657c8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.1000bcd0
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x2a8], 0
push 0x24c
push 0
lea edx, [ebp - 0x2a4]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x40]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0xffffffff
jne 0x1001904d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003e00
jmp 0x10019251
mov ecx, 1
test ecx, ecx
je 0x10019229
mov edx, dword [ebp - 0x2a8]
and edx, 0x10
je 0x1001920a
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x27c]
cmp edx, 0x2e
je 0x10019135
push 0x101657d0
lea ecx, [ebp - 0x2ec]
call fcn.10003d50
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2ac]
or ecx, 1
mov dword [ebp - 0x2ac], ecx
mov edx, dword [ebp - 0x2cc]
push edx
lea eax, [ebp - 0x27c]
push eax
call fcn.1000bdd0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10019135
push 0x101657e0
lea ecx, [ebp - 0x304]
call fcn.10003d50
mov dword [ebp - 0x2c0], eax
mov edx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2bc], edx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x2ac]
or eax, 2
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2bc]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.1000bdd0
add esp, 8
movzx eax, al
test eax, eax
je 0x10019135
mov dword [ebp - 0x2b8], 1
jmp 0x1001913f
mov dword [ebp - 0x2b8], 0
mov cl, byte [ebp - 0x2b8]
mov byte [ebp - 0x2ad], cl
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x2ac]
and edx, 2
je 0x1001916f
and dword [ebp - 0x2ac], 0xfffffffd
lea ecx, [ebp - 0x304]
call fcn.10003e00
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x2ac]
and eax, 1
je 0x10019193
and dword [ebp - 0x2ac], 0xfffffffe
lea ecx, [ebp - 0x2ec]
call fcn.10003e00
movzx ecx, byte [ebp - 0x2ad]
test ecx, ecx
je 0x1001920a
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.1000bcd0
add esp, 0xc
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2d4], esp
lea edx, [ebp - 0x58]
push edx
call fcn.10004030
mov dword [ebp - 0x2d0], eax
call fcn.1007dbc0
add esp, 0x18
mov byte [ebp - 0x2ae], al
movzx eax, byte [ebp - 0x2ae]
test eax, eax
je 0x100191fe
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x2c8]
add ecx, 0x50
call fcn.1000af60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10003e00
lea edx, [ebp - 0x2a8]
push edx
mov eax, dword [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10019224
jmp 0x10019229
jmp 0x1001904d
mov ecx, dword [ebp - 0x2b4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret