Function at 0x1002ea66
Capabilities:
Enumerate files on windows

Disassembly:
push 0x9c0
mov eax, 0x1005ec40
call fcn.10044e15
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x9c8], ebx
call fcn.10048e56
test al, al
jne 0x1002eac1
push esi
push 0x10003b90
push 0x22
lea ecx, [ebp - 0x9c4]
call fcn.10048e56
mov esi, eax
push 0x10061eac
lea eax, [ebp - 0x63c]
mov ecx, 0xe2
lea edi, [ebp - 0x63c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.10048e56
push dword [ebx + 4]
lea eax, [ebp - 0x9cc]
push dword [ebx]
mov ecx, ebx
push eax
call fcn.10048e56
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.10048e56
xor eax, eax
push 0x100029ac
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.10048e56
push 1
lea eax, [ebp - 0x2c]
push eax
push esi
mov byte [ebp - 4], 1
call fcn.1002a013
mov bl, al
push 0
neg bl
push 1
lea ecx, [ebp - 0x2c]
sbb bl, bl
mov byte [ebp - 4], 0
call fcn.10048e56
inc bl
je 0x1002eb7e
xor eax, eax
xor ebx, ebx
push 0x100029ac
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.10048e56
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.10048e56
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10048e56
jmp 0x1002eb80
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.10048e56
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x1002eb98
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x2b4]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1002ebdd
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 3
je 0x1002ed03
cmp eax, 2
je 0x1002ed03
push 0x10003bec
push eax
push 0xf
lea ecx, [ebp - 0x9c4]
call fcn.10048e56
jmp 0x1002eaa1
push 0x10003c1c
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
test eax, eax
je 0x1002ece6
push 0x10003c20
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
test eax, eax
je 0x1002ece6
push esi
lea ecx, [ebp - 0x2c]
call fcn.10048e56
xor eax, eax
push 0x100029ac
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.10048e56
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.1002a013
mov bl, al
push 0
neg bl
push 1
lea ecx, [ebp - 0x48]
sbb bl, bl
mov byte [ebp - 4], 3
call fcn.10048e56
inc bl
je 0x1002ecab
xor eax, eax
xor ebx, ebx
push 0x100029ac
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.10048e56
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10048e56
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10048e56
jmp 0x1002ecad
xor ebx, ebx
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10048e56
lea eax, [ebp - 0x2c]
push eax
call fcn.10048e56
test al, al
je 0x1002ecd8
mov ecx, dword [ebp - 0x9c8]
lea eax, [ebp - 0x2c]
push eax
call fcn.10048e56
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10048e56
lea eax, [ebp - 0x2b4]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x1002ebdd
push edi
call dword [sym.imp.kernel32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.10048e56
call fcn.10044e98
ret 0xc