Function at 0x506bc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a67b
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x57a040]
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
push 0x18
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0
call fcn.00529f0f
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x368], eax
push 0xbc507c
push 0x64
push 0xbc50e0
mov dword [ebp - 4], 0
call fcn.0052d6d0
add esp, 0xc
push str.Shop_
push 0x64
push 0xbc50e0
call fcn.00534636
add esp, 0xc
lea eax, [ebp - 0x118]
push 0xbc50e0
push 0x55c0f0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x506eb6
nop dword [eax + eax]
test byte [ebp - 0x360], 0x10
jne 0x506ea0
movsx eax, byte [ebp - 0x334]
push eax
call fcn.005310c0
add esp, 4
test eax, eax
je 0x506ea0
movsx eax, byte [ebp - 0x333]
push eax
call fcn.005310c0
add esp, 4
test eax, eax
je 0x506ea0
movsx eax, byte [ebp - 0x332]
push eax
call fcn.005310c0
add esp, 4
test eax, eax
je 0x506ea0
cmp byte [ebp - 0x331], 0x20
jne 0x506ea0
cmp byte [ebp - 0x330], 0x2d
jne 0x506ea0
cmp byte [ebp - 0x32f], 0x20
jne 0x506ea0
lea eax, [ebp - 0x334]
push eax
call fcn.00530c7f
add esp, 4
mov esi, eax
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x36c], esi
mov ecx, 0xbecd98
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.00405650
mov ecx, dword [ebp - 0x38c]
mov eax, dword [0xbecd98]
cmp byte [ecx + 0xd], 0
jne 0x506d51
cmp esi, dword [ecx + 0x10]
jge 0x506d53
mov ecx, eax
cmp ecx, eax
je 0x506ea0
lea edi, [ecx + 0x10]
push edi
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x368]
call fcn.00405650
mov ecx, dword [ebp - 0x398]
cmp byte [ecx + 0xd], 0
jne 0x506d90
mov eax, dword [edi]
cmp eax, dword [ecx + 0x10]
jl 0x506d90
cmp ecx, dword [ebp - 0x368]
jne 0x506ea0
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x220]
push str.Shop_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0xbc507c
push 0x64
push 0xbc50e0
call fcn.0052d6d0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x64
push 0xbc50e0
call fcn.00534636
add esp, 0xc
lea ecx, [edi + 0x18]
push 0xbc50e0
call fcn.00506050
mov edi, dword [edi]
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x3ac]
mov dword [ebp - 0x374], edi
push eax
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x370], 1
call fcn.00405650
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x388], xmm0
cmp byte [eax + 0xd], 0
jne 0x506e28
cmp edi, dword [eax + 0x10]
jge 0x506ea0
cmp dword [ebp - 0x364], 0xaaaaaaa
je 0x506ef9
mov esi, dword [ebp - 0x368]
lea eax, [ebp - 0x368]
mov dword [ebp - 0x37c], eax
mov byte [ebp - 4], 1
push 0x18
mov dword [ebp - 0x378], 0
call fcn.00529f0f
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x378], 0
mov dword [eax + 0x10], edi
push eax
push dword [ebp - 0x384]
mov dword [eax + 0x14], 1
push dword [ebp - 0x388]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.004056a0
lea eax, [ebp - 0x360]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x506c90
mov eax, dword [ebp - 0x368]
push dword [eax + 4]
lea eax, [ebp - 0x368]
push eax
mov ecx, eax
call fcn.00422a80
push 0x18
push dword [ebp - 0x368]
call fcn.00529f3f
add esp, 8
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.00529f01
mov esp, ebp
pop ebp
ret
call fcn.004058b0
int3