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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5234eb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c8
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x410
push 0
lea eax, [ebp - 0x8c4]
push eax
call fcn.00500270
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x8c4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x535ef4
lea edx, [ebp - 0x8c4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x4b0]
call fcn.004457d0
mov dword [ebp - 4], 0
push 0x208
push 0x208
lea ecx, [ebp - 0x4b0]
call fcn.00418d50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.regsvr32.exe
push 0x208
lea ecx, [ebp - 0x4b0]
call fcn.00418d50
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x4b0]
call fcn.00428020
push 0x250
push 0
lea eax, [ebp - 0x264]
push eax
call fcn.00500270
add esp, 0xc
lea ecx, [ebp - 0x8c4]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00427f00
mov byte [ebp - 4], 1
push 0x535f1c
lea ecx, [ebp - 0x10]
call fcn.0042fdb0
lea edx, [ebp - 0x264]
push edx
lea ecx, [ebp - 0x10]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x8cc], eax
cmp dword [ebp - 0x8cc], 0xffffffff
jne 0x456fca
mov dword [ebp - 0x8d0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004458f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b0]
call fcn.004458f0
mov eax, dword [ebp - 0x8d0]
jmp 0x4572ef
push 0x208
push 0
lea eax, [ebp - 0x4ac]
push eax
call fcn.00500270
add esp, 0xc
lea ecx, [ebp - 0x8c8]
call fcn.004457d0
mov byte [ebp - 4], 2
mov dword [ebp - 0x2a0], 0
push 0x38
push 0
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00500270
add esp, 0xc
mov dword [ebp - 0x2a0], 0x3c
mov dword [ebp - 0x29c], 0x40
mov dword [ebp - 0x284], 0
mov edx, dword [ebp - 0x264]
and edx, 0x10
jne 0x457289
push str..dll
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call fcn.00503ae0
add esp, 8
test eax, eax
jne 0x45710e
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x8c4]
push edx
lea eax, [ebp - 0x4ac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x535f34
lea ecx, [ebp - 0x8c8]
call fcn.00427f80
lea ecx, [ebp - 0x4ac]
push ecx
lea ecx, [ebp - 0x8c8]
call fcn.0042fdb0
push 0x535f40
lea ecx, [ebp - 0x8c8]
call fcn.0042fdb0
lea ecx, [ebp - 0x4b0]
call fcn.0046ade0
mov dword [ebp - 0x290], eax
lea ecx, [ebp - 0x8c8]
call fcn.0046ade0
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x268], 0
je 0x457109
lea edx, [ebp - 0x2a0]
push edx
call fcn.0045e9f0
push 0xea60
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x268], 0
jmp 0x457289
push 0x535f44
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call fcn.00503ae0
add esp, 8
test eax, eax
jne 0x4571a1
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x8c4]
push ecx
lea edx, [ebp - 0x4ac]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], str._RegServer
cmp dword [ebp - 0x268], 0
je 0x45719c
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.0045e9f0
push 0xea60
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x268], 0
jmp 0x457289
push str..mof
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call fcn.00503ae0
add esp, 8
test eax, eax
je 0x4571e3
push str..mfl
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call fcn.00503ae0
add esp, 8
test eax, eax
jne 0x457289
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x8c4]
push ecx
lea edx, [ebp - 0x4ac]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x535f80
lea ecx, [ebp - 0x8c8]
call fcn.00427f80
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x8c8]
call fcn.0042fdb0
push 0x535f84
lea ecx, [ebp - 0x8c8]
call fcn.0042fdb0
mov dword [ebp - 0x290], 0x535f88
lea ecx, [ebp - 0x8c8]
call fcn.0046ade0
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x268], 0
je 0x457289
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.0045e9f0
push 0xea60
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x268], 0
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x8cc]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45702a
mov eax, dword [ebp - 0x8cc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x8d4], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c8]
call fcn.004458f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004458f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b0]
call fcn.004458f0
mov eax, dword [ebp - 0x8d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret