Function at 0x538b20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58cb76
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ebx, ebx
sub eax, 0x10
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
call fcn.00481090
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x290], ebx
cmp dword [eax - 0xc], ebx
jne 0x538bb8
add eax, 0xfffffff0
mov dword [esp + 0x290], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x538bb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x538d32
push 6
push 0x5bcd0c
lea ecx, [esp + 0x20]
push ecx
call fcn.00473c80
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x20], edi
je 0x538cf8
jmp 0x538bf0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00481430
mov byte [esp + 0x290], 1
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x538c2d
mov ecx, esi
lea eax, [esp + 0x14]
call fcn.00481530
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.005638d3
add esp, 8
cmp esi, ebx
jl 0x538d56
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x538d56
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov word [ecx + esi*2], bx
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
jl 0x538c7f
push str.flash
push ecx
call fcn.0056685f
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x538c7f
sub eax, ecx
sar eax, 1
je 0x538cb8
lea eax, [ecx - 0x10]
mov byte [esp + 0x290], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x538ca2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x538bf0
jmp 0x538cf8
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x14]
call fcn.00480f90
mov byte [esp + 0x290], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x538cf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
cmp edi, ebx
je 0x538d03
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x290], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x538d2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00564207
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00473d10
int3