Function at 0x1002ed16
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.10043be9
test al, al
jne 0x1002ed71
push esi
push 0x10003c28
push 0x22
lea ecx, [ebp - 0x9c4]
call fcn.10043be9
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.10043be9
push dword [ebx + 4]
lea eax, [ebp - 0x9cc]
push dword [ebx]
mov ecx, ebx
push eax
call fcn.10043be9
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.10043be9
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.10043be9
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.10043be9
inc bl
je 0x1002ee2e
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.10043be9
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.10043be9
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10043be9
jmp 0x1002ee30
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.10043be9
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x1002ee48
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 0x1002ee8d
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 3
je 0x1002ef7f
cmp eax, 2
je 0x1002ef7f
push 0x10003c78
push eax
push 0xf
lea ecx, [ebp - 0x9c4]
call fcn.10043be9
jmp 0x1002ed51
push esi
lea ecx, [ebp - 0x2c]
call fcn.10043be9
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.10043be9
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.10043be9
inc bl
je 0x1002ef27
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.10043be9
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10043be9
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10043be9
jmp 0x1002ef29
xor ebx, ebx
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10043be9
lea eax, [ebp - 0x2c]
push eax
call fcn.10043be9
test al, al
je 0x1002ef54
mov ecx, dword [ebp - 0x9c8]
lea eax, [ebp - 0x2c]
push eax
call fcn.10043be9
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10043be9
lea eax, [ebp - 0x2b4]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x1002ee8d
push edi
call dword [sym.imp.kernel32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.10043be9
call fcn.10044e98
ret 0xc