Function at 0x1002f0be
Capabilities:
Enumerate files on windows

Disassembly:
push 0x9c0
mov eax, 0x1005f687
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.10057ddf
test al, al
jne 0x1002f119
push esi
push 0x10003c60
push 0x22
lea ecx, [ebp - 0x9c4]
call fcn.10057ddf
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.10057ddf
push dword [ebx + 4]
lea eax, [ebp - 0x9cc]
push dword [ebx]
mov ecx, ebx
push eax
call fcn.10057ddf
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.10057ddf
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.10057ddf
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.10057ddf
inc bl
je 0x1002f1d6
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.10057ddf
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.10057ddf
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10057ddf
jmp 0x1002f1d8
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.10057ddf
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x1002f1f0
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 0x1002f235
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 3
je 0x1002f327
cmp eax, 2
je 0x1002f327
push 0x10003cb0
push eax
push 0xf
lea ecx, [ebp - 0x9c4]
call fcn.10057ddf
jmp 0x1002f0f9
push esi
lea ecx, [ebp - 0x2c]
call fcn.10057ddf
xor eax, eax
push 0x100029e4
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.10057ddf
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.1002a41c
mov bl, al
push 0
neg bl
push 1
lea ecx, [ebp - 0x48]
sbb bl, bl
mov byte [ebp - 4], 3
call fcn.10057ddf
inc bl
je 0x1002f2cf
xor eax, eax
xor ebx, ebx
push 0x100029e4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.10057ddf
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10057ddf
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10057ddf
jmp 0x1002f2d1
xor ebx, ebx
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10057ddf
lea eax, [ebp - 0x2c]
push eax
call fcn.10057ddf
test al, al
je 0x1002f2fc
mov ecx, dword [ebp - 0x9c8]
lea eax, [ebp - 0x2c]
push eax
call fcn.10057ddf
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10057ddf
lea eax, [ebp - 0x2b4]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x1002f235
push edi
call dword [sym.imp.kernel32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.10057ddf
call fcn.100455a8
ret 0xc