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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f512b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
mov esi, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x28c], eax
mov dword [ebp - 4], 0
mov eax, dword [ebx + 8]
mov edx, dword [eax - 0xc]
test edx, edx
jle 0x5263ae
lea ecx, [edx - 1]
test ecx, ecx
js 0x526708
cmp ecx, edx
jg 0x526708
cmp word [eax + ecx*2], 0x5c
je 0x5263ae
push 0x5c
lea ecx, [ebx + 8]
call fcn.0041b3b0
call fcn.00409c60
mov ecx, eax
test ecx, ecx
je 0x5266fe
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x288]
push eax
push esi
push ecx
mov esi, esp
mov dword [ebp - 0x280], esp
mov dword [ebp - 0x27c], esi
mov ecx, dword [ebx + 8]
add ecx, 0xfffffff0
call fcn.00409460
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.00526720
or edi, 0xffffffff
test al, al
je 0x526485
push ecx
lea eax, [ebp - 0x288]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.004fb080
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x28]
call fcn.004fb260
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x28c]
push eax
call fcn.004fa910
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x52646b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x28]
push eax
call fcn.00526990
test al, al
je 0x526485
xor esi, esi
jmp 0x52669c
mov esi, dword [ebx + 0xc]
cmp esi, 1
jge 0x526497
mov esi, 1
jmp 0x52669c
push 0x250
lea eax, [ebp - 0x278]
push 0
push eax
call fcn.005929f0
mov ecx, dword [ebx + 8]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00409460
add eax, 0x10
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x284]
push 1
push 0x62a51c
call fcn.0041a840
mov eax, dword [ebp - 0x284]
cmp dword [eax - 4], 1
jle 0x5264f7
push dword [eax - 0xc]
lea ecx, [ebp - 0x284]
call fcn.004095d0
mov eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x29c], 0x62a540
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [ebp - 0x27c]
cmp ecx, 0xffffffff
je 0x52664d
nop dword [eax]
test byte [ebp - 0x278], 0x10
je 0x52660a
cmp word [ebp - 0x24c], 0x2e
jne 0x52657b
mov ax, word [ebp - 0x24a]
test ax, ax
je 0x52660a
cmp ax, 0x2e
jne 0x52657b
cmp word [ebp - 0x248], 0
je 0x52660a
lea eax, [ebp - 0x24c]
push eax
lea edx, [ebx + 8]
lea ecx, [ebp - 0x280]
call fcn.004e70e0
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [esi - 1]
push dword [ebp - 0x28c]
push dword [ebp - 0x294]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x2a0], esp
mov dword [ebp - 0x2a4], esi
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.00409460
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x290]
call fcn.00526320
test eax, eax
je 0x526628
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x526601
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
jne 0x52664d
mov ecx, dword [ebp - 0x27c]
jmp 0x526540
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x526649
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x526652
mov esi, 1
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x29c], 0x62a540
test eax, eax
je 0x52667b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x298], 0
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x284]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x52669c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x288]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x5266bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x5266dc
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
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059046a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push 0x80004005
call fcn.00409920
push 0x80070057
call fcn.00409920
int3