Function at 0x537f80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623861
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x6c4490]
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.00538330
cmp byte [ebx], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x537fdc
xor ecx, ecx
jmp 0x537fea
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x537fe1
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0045bc80
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x538021
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x538021
push 0x5c
push 1
lea ecx, [ebp - 0x28]
call fcn.00464e60
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.0045dac0
push 3
push 0x66eadc
lea ecx, [ebp - 0x40]
call fcn.0045db80
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 0x5382d6
lea ebx, [edi + 0x30]
cmp byte [ebx], 0x2e
je 0x538210
mov ecx, edi
call fcn.00538380
test al, al
je 0x5380bc
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 0x538210
xor bl, bl
jmp 0x5382d8
push 0x2e
push ebx
call fcn.005e0510
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x53820d
cmp dword [ebp + 0x10], 0
je 0x538282
push esi
lea ecx, [ebp - 0x70]
call fcn.0045dcb0
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.00485870
mov dword [ebp - 0xc0], eax
push esi
test eax, eax
jle 0x5382a8
lea ecx, [ebp - 0x88]
call fcn.0045dcb0
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
push 0
push ecx
mov ecx, eax
call fcn.004a3190
cmp dword [ebp - 0x74], 0x10
mov byte [ebp - 4], 5
jb 0x53814e
push dword [ebp - 0x88]
call fcn.004ec310
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 0x538166
push dword [ebp - 0xc4]
sub esi, ecx
lea ecx, [ebp - 0xa0]
call fcn.0045dcb0
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.004a3190
cmp dword [ebp - 0x8c], 0x10
mov byte [ebp - 4], 8
jb 0x5381b3
push dword [ebp - 0xa0]
call fcn.004ec310
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.00464cf0
test eax, eax
je 0x538233
push esi
lea ecx, [ebp - 0x58]
call fcn.00464cf0
test eax, eax
je 0x538233
lea ecx, [ebp - 0x58]
call fcn.0045bdb0
lea ecx, [ebp - 0xb8]
call fcn.0045bdb0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0045bdb0
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 0x5382d6
mov esi, dword [ebp - 0xc4]
jmp 0x538082
cmp dword [ebp - 0x44], 0x10
jb 0x538244
push dword [ebp - 0x58]
call fcn.004ec310
add esp, 4
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x53826d
push dword [ebp - 0xb8]
call fcn.004ec310
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 4], 1
jb 0x538282
push dword [ebp - 0x70]
call fcn.004ec310
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 0x5380b5
jmp 0x538210
lea eax, [ebx + 1]
push eax
call fcn.005e1801
add esp, 8
test eax, eax
je 0x53826d
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 4], 1
jb 0x53820d
push dword [ebp - 0x70]
call fcn.004ec310
add esp, 4
jmp 0x53820d
mov bl, 1
cmp dword [ebp - 0x2c], 0x10
jb 0x5382e9
push dword [ebp - 0x40]
call fcn.004ec310
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x53830c
push dword [ebp - 0x28]
call fcn.004ec310
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.005dfa14
mov esp, ebp
pop ebp
ret 0xc