Function at 0x52d910
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609821
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x6a1450]
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 edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc4], esi
call fcn.0052dcc0
cmp byte [ebx], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x52d96c
xor ecx, ecx
jmp 0x52d97a
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x52d971
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0045a870
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x52d9b1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x52d9b1
push 0x5c
push 1
lea ecx, [ebp - 0x28]
call fcn.00463380
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.0045b790
push 3
push 0x64f024
lea ecx, [ebp - 0x40]
call fcn.0045b850
or dword [edi + 4], 0x10
lea ecx, [edi + 4]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [edi + 0x144], eax
cmp eax, 0xffffffff
je 0x52dc66
lea ebx, [edi + 0x30]
cmp byte [ebx], 0x2e
je 0x52dba0
mov ecx, edi
call fcn.0052dd10
test al, al
je 0x52da4c
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
cmovae ecx, dword [ebp - 0x28]
push ebx
push ecx
mov eax, dword [eax + 4]
mov ecx, edi
push esi
call eax
test al, al
jne 0x52dba0
xor bl, bl
jmp 0x52dc68
push 0x2e
push ebx
call fcn.005ca400
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x52db9d
cmp dword [ebp + 0x10], 0
je 0x52dc12
push esi
lea ecx, [ebp - 0x70]
call fcn.0045b980
push 1
push 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 0xbc], 0x3b
call fcn.0049aa90
mov dword [ebp - 0xc0], eax
push esi
test eax, eax
jle 0x52dc38
lea ecx, [ebp - 0x88]
call fcn.0045b980
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
push 0
push ecx
mov ecx, eax
call fcn.004a0260
cmp dword [ebp - 0x74], 0x10
mov byte [ebp - 4], 5
jb 0x52dade
push dword [ebp - 0x88]
call fcn.004dbb70
add esp, 4
mov dword [ebp - 0x74], 0xf
lea ecx, [esi + 1]
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov al, byte [esi]
inc esi
test al, al
jne 0x52daf6
push dword [ebp - 0xc4]
sub esi, ecx
lea ecx, [ebp - 0xa0]
call fcn.0045b980
mov ecx, dword [ebp - 0xc0]
inc ecx
mov byte [ebp - 4], 6
push esi
push ecx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.004a0260
cmp dword [ebp - 0x8c], 0x10
mov byte [ebp - 4], 8
jb 0x52db43
push dword [ebp - 0xa0]
call fcn.004dbb70
add esp, 4
lea esi, [ebx + 1]
mov dword [ebp - 0x8c], 0xf
push esi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.004686c0
test eax, eax
je 0x52dbc3
push esi
lea ecx, [ebp - 0x58]
call fcn.004686c0
test eax, eax
je 0x52dbc3
lea ecx, [ebp - 0x58]
call fcn.0045a9a0
lea ecx, [ebp - 0xb8]
call fcn.0045a9a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0045a9a0
lea ebx, [edi + 0x30]
lea eax, [edi + 4]
push eax
push dword [edi + 0x144]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x52dc66
mov esi, dword [ebp - 0xc4]
jmp 0x52da12
cmp dword [ebp - 0x44], 0x10
jb 0x52dbd4
push dword [ebp - 0x58]
call fcn.004dbb70
add esp, 4
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x52dbfd
push dword [ebp - 0xb8]
call fcn.004dbb70
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 4], 1
jb 0x52dc12
push dword [ebp - 0x70]
call fcn.004dbb70
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
lea ebx, [edi + 0x30]
cmovae ecx, dword [ebp - 0x28]
push ebx
push ecx
mov eax, dword [eax + 8]
mov ecx, edi
call eax
test al, al
je 0x52da45
jmp 0x52dba0
lea eax, [ebx + 1]
push eax
call fcn.005cb961
add esp, 8
test eax, eax
je 0x52dbfd
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 4], 1
jb 0x52db9d
push dword [ebp - 0x70]
call fcn.004dbb70
add esp, 4
jmp 0x52db9d
mov bl, 1
cmp dword [ebp - 0x2c], 0x10
jb 0x52dc79
push dword [ebp - 0x40]
call fcn.004dbb70
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x52dc9c
push dword [ebp - 0x28]
call fcn.004dbb70
add esp, 4
mov al, bl
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.005c9914
mov esp, ebp
pop ebp
ret 0xc