Function at 0x10018ab0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f09c
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x101a5034]
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 0x101607f4
lea ecx, [ebp - 0x28]
call fcn.10002c60
mov dword [ebp - 4], 0
push 0x10160808
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.1000aef0
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.10001960
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0xffffffff
jne 0x10018b7d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10002d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002d10
jmp 0x10018d81
mov ecx, 1
test ecx, ecx
je 0x10018d59
mov edx, dword [ebp - 0x2a8]
and edx, 0x10
je 0x10018d3a
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x27c]
cmp edx, 0x2e
je 0x10018c65
push 0x10160810
lea ecx, [ebp - 0x2ec]
call fcn.10002c60
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.1000aff0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10018c65
push 0x10160820
lea ecx, [ebp - 0x304]
call fcn.10002c60
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.1000aff0
add esp, 8
movzx eax, al
test eax, eax
je 0x10018c65
mov dword [ebp - 0x2b8], 1
jmp 0x10018c6f
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 0x10018c9f
and dword [ebp - 0x2ac], 0xfffffffd
lea ecx, [ebp - 0x304]
call fcn.10002d10
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x2ac]
and eax, 1
je 0x10018cc3
and dword [ebp - 0x2ac], 0xfffffffe
lea ecx, [ebp - 0x2ec]
call fcn.10002d10
movzx ecx, byte [ebp - 0x2ad]
test ecx, ecx
je 0x10018d3a
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.1000aef0
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.10003060
mov dword [ebp - 0x2d0], eax
call fcn.1007c400
add esp, 0x18
mov byte [ebp - 0x2ae], al
movzx eax, byte [ebp - 0x2ae]
test eax, eax
je 0x10018d2e
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x2c8]
add ecx, 0x50
call fcn.1000a1a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10002d10
lea edx, [ebp - 0x2a8]
push edx
mov eax, dword [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10018d54
jmp 0x10018d59
jmp 0x10018b7d
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.10002d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002d10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret