Function at 0x54c490
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f9665
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x70f200]
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
sub esp, 8
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x28c], edi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x627ca8
push esi
call fcn.005dc520
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
call fcn.005dc5e0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, edi
test eax, eax
je 0x54c53d
push str.System
call fcn.005dc510
jmp 0x54c542
call fcn.005dc400
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Users.dat
push esi
lea ecx, [ebp - 0x1c]
call fcn.005dc200
push 0x260
xor ebx, ebx
lea eax, [ebp - 0x288]
push ebx
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push 0x250
mov esi, eax
lea eax, [ebp - 0x288]
push ebx
push eax
call fcn.00420090
add esp, 0xc
lea eax, [ebp - 0x288]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x38], esi
cmp esi, 0xffffffff
je 0x54c5c7
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x34], 3
call fcn.004011a0
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
je 0x54c741
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
push 0
push 1
push 0xffffffffffffffff
push 0
push str._Classes.dat
push 1
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x28]
call fcn.005dc260
mov ecx, eax
call fcn.005daa70
mov esi, dword [ebp - 0x38]
lea ecx, [ebx + 1]
test eax, eax
cmovne ecx, ebx
mov ebx, ecx
cmp esi, 0xffffffff
je 0x54c6c9
lea eax, [ebp - 0x288]
push eax
push esi
call edi
test eax, eax
je 0x54c6b9
mov esi, dword [ebp - 0x38]
cmp esi, 0xffffffff
je 0x54c6c9
nop dword [eax]
cmp word [ebp - 0x25c], 0x2e
jne 0x54c666
mov ax, word [ebp - 0x25a]
test ax, ax
je 0x54c6a6
cmp ax, 0x2e
jne 0x54c666
cmp word [ebp - 0x258], 0
je 0x54c6a6
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x54c5e0
mov ecx, dword [ebp - 0x288]
test al, 1
je 0x54c683
test ecx, 0x400
jne 0x54c6a6
test al, 2
je 0x54c692
test cl, 0x10
je 0x54c5e0
jmp 0x54c6a6
test al, 4
je 0x54c5e0
test ecx, 0x10
jne 0x54c5e0
lea eax, [ebp - 0x288]
push eax
push esi
call edi
test eax, eax
je 0x54c6b9
mov esi, dword [ebp - 0x38]
jmp 0x54c640
push dword [ebp - 0x38]
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
or esi, 0xffffffff
mov dword [ebp - 0x38], esi
mov edi, dword [ebp - 0x28c]
test ebx, ebx
je 0x54c741
mov ecx, edi
call fcn.005dc3a0
test eax, eax
je 0x54c700
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x62f3fc
mov ecx, edi
call fcn.005da780
push ebx
lea ecx, [ebp - 0x1c]
call fcn.005db320
push 0
push 0
push 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov eax, 0x648020
push 0
cmp ebx, 1
push 0
cmove eax, ecx
lea ecx, [ebp - 0x1c]
push eax
push str._user
call fcn.005dc190
push eax
mov ecx, edi
call fcn.005da780
mov esi, dword [ebp - 0x38]
mov ecx, edi
call fcn.005dc3a0
mov edi, eax
cmp esi, 0xffffffff
je 0x54c756
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.005dc430
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov eax, edi
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.0041e1b5
mov esp, ebp
pop ebp
ret 8