Function at 0x1007f2e0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f33a6
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x1025e344]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 0x490], esi
mov dword [ebp - 0x47c], 0
call fcn.10007c20
add esp, 4
test eax, eax
jne 0x1007f338
mov eax, 1
jmp 0x1007f868
push esi
lea ecx, [ebp - 0x480]
call fcn.10003660
mov dword [ebp - 4], 0
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.10009030
add esp, 8
mov esi, eax
mov byte [ebp - 4], 2
mov ecx, dword [esi]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x1007f37b
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1007f391
call fcn.100049d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1007f89d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x478], eax
mov byte [ebp - 4], 2
mov eax, dword [esi]
push 3
push 0x10200834
mov dword [ebp - 0x47c], 1
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.10004210
add esp, 0x14
lea eax, [ebp - 0x478]
lea ecx, [ebp - 0x480]
push eax
call fcn.100079d0
mov edi, 1
mov dword [ebp - 0x47c], edi
and edi, 0xfffffffe
mov dword [ebp - 0x47c], edi
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x478]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007f413
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x484]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007f434
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x5c
mov dword [ebp - 0x18], 0
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x480]
mov dword [ebp - 0x14], 0
test esi, esi
jne 0x1007f467
mov esi, 0x10200834
jmp 0x1007f479
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x1007f818
push esi
lea eax, [ebp - 0x448]
push 0x104
push eax
call fcn.101b1c9a
push eax
call fcn.10003fa0
add esp, 0x10
lea eax, [ebp - 0x474]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x1007f818
push 0
lea eax, [ebp - 0x224]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x1007f4f3
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1007f4e6
cmp eax, 0xffffffff
je 0x1007f4e6
push eax
call edi
mov dword [ebp - 0x18], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1007f81e
lea eax, [ebp - 0x224]
push 0x5c
push eax
call fcn.101a0a0a
mov esi, eax
lea eax, [ebp - 0x224]
push 0x2f
push eax
call fcn.101a0a0a
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x1007f524
test esi, esi
je 0x1007f53f
lea ecx, [ebp - 0x224]
test esi, esi
lea eax, [ebp - 0x224]
cmovne eax, esi
cmp ecx, eax
jb 0x1007f53a
xor eax, eax
mov word [ecx], ax
jmp 0x1007f53f
xor ecx, ecx
mov word [eax], cx
mov eax, 1
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1007f893
mov ecx, dword [ebp - 0x474]
shr ecx, 4
and ecx, 1
je 0x1007f58b
cmp word [ebp - 0x448], 0x2e
jne 0x1007f58b
mov dx, word [ebp - 0x446]
test dx, dx
je 0x1007f7f4
cmp dx, 0x2e
jne 0x1007f58b
cmp word [ebp - 0x444], 0
je 0x1007f7f4
test ecx, ecx
je 0x1007f893
call fcn.100049d0
test eax, eax
je 0x1007f89d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x478], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x478]
mov ebx, dword [ebp - 0x490]
push ebx
call fcn.10004060
test al, al
jne 0x1007f5f3
test ebx, ebx
jne 0x1007f5d2
xor eax, eax
jmp 0x1007f5e6
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1007f5d7
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x478]
call fcn.10006ab0
mov byte [ebp - 4], 9
call fcn.100049d0
test eax, eax
je 0x1007f89d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x488], esi
mov byte [ebp - 4], 9
or edi, 2
mov dword [ebp - 0x47c], edi
cmp dword [ebp - 0x14], 0
je 0x1007f658
lea ecx, [ebp - 0x448]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f630
sub ecx, edx
lea eax, [ebp - 0x448]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x488]
call fcn.10006ab0
mov esi, dword [ebp - 0x488]
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.10009030
add esp, 8
mov ebx, eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebx]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x1007f686
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
jne 0x1007f69a
call fcn.100049d0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x1007f89d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x484], eax
mov byte [ebp - 4], 0xc
or edi, 4
mov dword [ebp - 0x47c], edi
push dword [esi - 0xc]
mov eax, dword [ebx]
push esi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.10004210
mov eax, dword [ebp - 0x484]
add esp, 0x14
mov edx, dword [ebp - 0x478]
add edx, 0xfffffff0
mov dword [ebp - 0x498], edx
lea ebx, [eax - 0x10]
cmp ebx, edx
je 0x1007f750
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x494], ecx
jl 0x1007f741
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x1007f741
push ebx
call fcn.100041a0
mov edx, dword [ebp - 0x494]
add esp, 4
mov dword [ebp - 0x48c], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1007f736
mov eax, dword [ebp - 0x498]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x48c]
add eax, 0x10
mov dword [ebp - 0x478], eax
jmp 0x1007f750
push dword [eax - 0xc]
lea ecx, [ebp - 0x478]
push eax
call fcn.10006ab0
and edi, 0xfffffffb
mov dword [ebp - 0x47c], edi
mov byte [ebp - 4], 0xb
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x1007f772
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
or ebx, 0xffffffff
mov edx, dword [ebp - 0x49c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007f796
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and edi, 0xfffffffd
mov dword [ebp - 0x47c], edi
mov byte [ebp - 4], 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1007f7ba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x478]
call fcn.1007f2e0
add esp, 4
test eax, eax
je 0x1007f884
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x478]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007f7f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1007f818
test eax, eax
je 0x1007f818
lea eax, [ebp - 0x474]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1007f54f
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x1007f844
cmp eax, 0xffffffff
je 0x1007f844
push eax
call edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x480]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1007f866
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d02f2
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x478]
call fcn.10003950
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
jmp 0x1007f823
push 0x80004005
call fcn.10004040
int3