Function at 0x10008460
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101525f1
mov eax, dword fs:[0]
push eax
sub esp, 0x320
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 - 0x2c4], ecx
mov dword [ebp - 0x2bc], 0
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.10001860
lea ecx, [ebp - 0x1c]
call fcn.1000ae40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2dc]
call fcn.10002bf0
push eax
mov ecx, dword [ebp - 0x2c4]
add ecx, 0x34
call fcn.10002bf0
push eax
push 0x101629f0
lea edx, [ebp - 0x34]
push edx
call fcn.1007cf90
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x32c]
call fcn.10003e00
push 0x101629fc
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.1000bcd0
add esp, 0xc
mov byte [ebp - 4], 4
mov dword [ebp - 0x2b4], 0
push 0x24c
push 0
lea edx, [ebp - 0x2b0]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0xffffffff
jne 0x100085c7
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000ae70
mov edx, dword [ebp - 0x2bc]
or edx, 1
mov dword [ebp - 0x2bc], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1000af10
mov eax, dword [ebp + 8]
jmp 0x1000874f
mov eax, 1
test eax, eax
je 0x100086fd
mov ecx, dword [ebp - 0x2b4]
and ecx, 0x10
je 0x100086de
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x288]
cmp ecx, 0x2e
je 0x100086de
lea edx, [ebp - 0x288]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x314]
push ecx
call fcn.1000bcd0
add esp, 0xc
mov dword [ebp - 0x2d4], eax
mov edx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2cc], edx
mov byte [ebp - 4], 5
push 0x10162a14
mov eax, dword [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x2fc]
push ecx
call fcn.1000bd90
add esp, 0xc
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2c8], edx
mov byte [ebp - 4], 6
push 0x10162a04
mov eax, dword [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.1000bd90
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2fc]
call fcn.10003e00
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x314]
call fcn.10003e00
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2e4], esp
lea edx, [ebp - 0x64]
push edx
call fcn.10004030
mov dword [ebp - 0x2e0], eax
call fcn.1007dbc0
add esp, 0x18
mov byte [ebp - 0x2b5], al
movzx eax, byte [ebp - 0x2b5]
test eax, eax
je 0x100086d2
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.1000af60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.10003e00
lea edx, [ebp - 0x2b4]
push edx
mov eax, dword [ebp - 0x2c0]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100086f8
jmp 0x100086fd
jmp 0x100085c7
mov ecx, dword [ebp - 0x2c0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000ae70
mov eax, dword [ebp - 0x2bc]
or eax, 1
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1000af10
mov eax, dword [ebp + 8]
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 4