Function at 0x1002ee0e
Capabilities:
Enumerate files on windows

Disassembly:
push 0x9c0
mov eax, 0x1005f62f
call fcn.10045525
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x9c8], ebx
call fcn.10042d2d
test al, al
jne 0x1002ee69
push esi
push 0x10003bc8
push 0x22
lea ecx, [ebp - 0x9c4]
call fcn.10042d2d
mov esi, eax
push 0x100629b4
lea eax, [ebp - 0x63c]
mov ecx, 0xe2
lea edi, [ebp - 0x63c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.10042d2d
push dword [ebx + 4]
lea eax, [ebp - 0x9cc]
push dword [ebx]
mov ecx, ebx
push eax
call fcn.10042d2d
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.10042d2d
xor eax, eax
push 0x100029e4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.10042d2d
push 1
lea eax, [ebp - 0x2c]
push eax
push esi
mov byte [ebp - 4], 1
call fcn.1002a41c
mov bl, al
push 0
neg bl
push 1
lea ecx, [ebp - 0x2c]
sbb bl, bl
mov byte [ebp - 4], 0
call fcn.10042d2d
inc bl
je 0x1002ef26
xor eax, eax
xor ebx, ebx
push 0x100029e4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.10042d2d
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.10042d2d
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10042d2d
jmp 0x1002ef28
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.10042d2d
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x1002ef40
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x2b4]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1002ef85
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 3
je 0x1002f0ab
cmp eax, 2
je 0x1002f0ab
push 0x10003c24
push eax
push 0xf
lea ecx, [ebp - 0x9c4]
call fcn.10042d2d
jmp 0x1002ee49
push 0x10003c54
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
test eax, eax
je 0x1002f08e
push 0x10003c58
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
test eax, eax
je 0x1002f08e
test byte [ebp - 0x2b4], 0x10
je 0x1002f08e
push esi
lea ecx, [ebp - 0x64]
call fcn.10042d2d
xor eax, eax
push 0x100029e4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.10042d2d
push 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 4
call fcn.1002a41c
mov bl, al
push 0
neg bl
push 1
lea ecx, [ebp - 0x2c]
sbb bl, bl
mov byte [ebp - 4], 3
call fcn.10042d2d
inc bl
je 0x1002f060
xor eax, eax
xor ebx, ebx
push 0x100029e4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.10042d2d
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.10042d2d
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.10042d2d
jmp 0x1002f062
xor ebx, ebx
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x64]
call fcn.10042d2d
mov ecx, dword [ebp - 0x9c8]
lea eax, [ebp - 0x64]
push eax
call fcn.10042d2d
push ebx
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.10042d2d
lea eax, [ebp - 0x2b4]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x1002ef85
push edi
call dword [sym.imp.kernel32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10042d2d
call fcn.100455a8
ret 0xc