Function at 0x4c88a3
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push 0x640
mov eax, 0x5afd1f
call fcn.0056cecb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x598], eax
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
xor ebx, ebx
push ebx
lea eax, [ebp - 0x222]
push eax
call fcn.00560d40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4c8e03
lea eax, [ebp - 0x224]
push eax
lea esi, [ebp - 0x278]
call fcn.00409096
mov dword [ebp - 4], ebx
push str.PerformanceWinSATDataStore_
mov eax, esi
push eax
call fcn.004090e2
mov eax, esi
push eax
lea esi, [ebp - 0x25c]
call fcn.0040905d
mov byte [ebp - 4], 1
push 0x5da400
mov eax, esi
push eax
call fcn.004090e2
push 0x250
push ebx
lea eax, [ebp - 0x57c]
push eax
call fcn.00560d40
add esp, 0xc
cmp dword [ebp - 0x248], 8
mov eax, dword [ebp - 0x25c]
jae 0x4c895c
mov eax, esi
lea ecx, [ebp - 0x57c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x580], eax
cmp eax, 0xffffffff
je 0x4c8de5
lea ecx, [ebp - 0x294]
call fcn.00409083
mov byte [ebp - 4], 2
mov dword [ebp - 0x594], ebx
xor edi, edi
lea eax, [ebp - 0x278]
push eax
lea esi, [ebp - 0x240]
call fcn.0040905d
mov byte [ebp - 4], 3
lea eax, [ebp - 0x550]
push eax
mov eax, esi
push eax
call fcn.004090e2
test byte [ebp - 0x57c], 0x10
jne 0x4c8a2d
push 6
push str.Formal
xor eax, eax
mov ecx, esi
call fcn.0040af00
cmp eax, 0xffffffff
je 0x4c8a2d
cmp dword [ebp - 0x22c], 8
mov eax, dword [ebp - 0x240]
jae 0x4c89e4
mov eax, esi
lea ecx, [ebp - 0x2b8]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x4c8a2d
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2a8]
cmp ecx, edi
jl 0x4c8a2d
jg 0x4c8a11
cmp eax, dword [ebp - 0x594]
jbe 0x4c8a2d
mov dword [ebp - 0x594], eax
mov edi, ecx
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x294]
call fcn.0040ac9e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x240]
call fcn.004090d2
lea eax, [ebp - 0x57c]
push eax
push dword [ebp - 0x580]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c8990
push dword [ebp - 0x580]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x294]
call fcn.0047b78b
mov esi, eax
mov dword [ebp - 0x59c], esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x234]
call fcn.00476e94
mov byte [ebp - 4], 6
push esi
lea ecx, [ebp - 0x234]
call fcn.0047a8a1
mov dword [ebp - 0x584], ebx
mov ecx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
sub ecx, eax
sar ecx, 2
cmp dword [ebp - 0x584], ecx
jae 0x4c8cec
mov ecx, dword [ebp - 0x584]
mov esi, dword [eax + ecx*4]
lea ecx, [ebp - 0x2d4]
mov eax, esi
call fcn.0047abc0
mov byte [ebp - 4], 7
push str.WinSPR
mov ecx, eax
call fcn.0040d21b
test eax, eax
setne bl
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2d4]
call fcn.004090d2
test bl, bl
jne 0x4c8cdf
lea eax, [ebp - 0x5b0]
call fcn.00476e94
mov byte [ebp - 4], 8
push esi
lea ecx, [ebp - 0x5b0]
call fcn.0047a8a1
and dword [ebp - 0x588], 0
mov ecx, dword [ebp - 0x5ac]
mov eax, dword [ebp - 0x5b0]
sub ecx, eax
sar ecx, 2
cmp dword [ebp - 0x588], ecx
jae 0x4c8cd0
mov ecx, dword [ebp - 0x588]
mov edi, dword [eax + ecx*4]
lea ecx, [ebp - 0x2f0]
mov eax, edi
call fcn.0047abd9
mov byte [ebp - 4], 9
cmp dword [eax + 0x10], 0
setne bl
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2f0]
call fcn.004090d2
test bl, bl
je 0x4c8cc5
push 0x38
call fcn.0055e7f7
pop ecx
mov esi, eax
mov dword [ebp - 0x58c], esi
mov byte [ebp - 4], 0xa
test esi, esi
je 0x4c8baa
mov ecx, esi
call fcn.00409083
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x1c]
call fcn.00409083
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
jmp 0x4c8bac
xor esi, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x5a0], esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30c]
mov eax, edi
call fcn.0047abc0
mov byte [ebp - 4], 0xe
mov ebx, eax
mov eax, esi
call fcn.0040ab21
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30c]
call fcn.004090d2
lea ecx, [ebp - 0x328]
mov eax, edi
call fcn.0047abd9
mov byte [ebp - 4], 0xf
mov ebx, eax
lea eax, [esi + 0x1c]
call fcn.0040ab21
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x328]
call fcn.004090d2
mov dword [ebp - 0x580], esi
mov esi, dword [ebp - 0x598]
mov eax, dword [esi + 0x1e20]
lea ecx, [ebp - 0x580]
cmp ecx, eax
jae 0x4c8c7a
mov ecx, dword [esi + 0x1e1c]
lea edx, [ebp - 0x580]
cmp ecx, edx
ja 0x4c8c7a
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp eax, dword [esi + 0x1e24]
jne 0x4c8c53
lea ecx, [esi + 0x1e1c]
call fcn.004d64d8
mov eax, dword [esi + 0x1e1c]
lea ecx, [eax + ebx*4]
mov eax, dword [esi + 0x1e20]
mov dword [ebp - 0x58c], eax
mov dword [ebp - 0x590], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x4c8caf
mov ecx, dword [ecx]
jmp 0x4c8cad
cmp eax, dword [esi + 0x1e24]
jne 0x4c8c8d
lea ecx, [esi + 0x1e1c]
call fcn.004d64d8
mov eax, dword [esi + 0x1e20]
mov dword [ebp - 0x590], eax
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4c8caf
mov ecx, dword [ebp - 0x580]
mov dword [eax], ecx
mov byte [ebp - 4], 0xd
add dword [esi + 0x1e20], 4
and dword [ebp - 0x5a0], 0
mov byte [ebp - 4], 8
inc dword [ebp - 0x588]
jmp 0x4c8b20
mov byte [ebp - 4], 6
lea esi, [ebp - 0x5b0]
call fcn.004c601a
inc dword [ebp - 0x584]
xor ebx, ebx
jmp 0x4c8a9f
mov byte [ebp - 4], 5
lea esi, [ebp - 0x234]
call fcn.004c601a
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x59c]
cmp ecx, ebx
je 0x4c8d0f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.004090d2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.004090d2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.004090d2
mov al, 1
jmp 0x4c8e05
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.004090d2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.004090d2
xor al, al
call fcn.0056cf27
ret 4