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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc10
mov eax, dword [0x6ce8d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
mov dword [ebp - 0xc08], ecx
mov dword [ebp - 0xc10], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x208
lea eax, [ebp - 0x9b4]
push esi
push eax
call fcn.005d7e20
push 0x208
lea eax, [ebp - 0x7ac]
push esi
push eax
call fcn.005d7e20
push 0x208
lea eax, [ebp - 0x39c]
push esi
push eax
call fcn.005d7e20
push 0x190
lea eax, [ebp - 0x194]
push esi
push eax
call fcn.005d7e20
add esp, 0x30
mov dword [ebp - 0xc0c], esi
lea eax, [ebp - 0xc0c]
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x451614
lea eax, [ebp - 0x7ac]
push eax
push dword [ebp - 0xc0c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0xc0c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x7ac]
push eax
lea eax, [ebp - 0x39c]
push str._s.lnk
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45184d
push 0x208
lea eax, [ebp - 0x5a4]
push 0
push eax
call fcn.005d7e20
push edi
lea eax, [ebp - 0x5a4]
push 0x6bb564
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0xc08]
lea eax, [ebp - 0x5a4]
add esp, 0x18
push 0x208
push eax
call fcn.00451870
lea ecx, [ebp - 0x5a4]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4516a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x5a4]
push eax
call fcn.005e443d
mov edi, dword [ebp - 0xc10]
add esp, 8
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4516d0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
push edi
call fcn.005e443d
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esp, 8
cmp dword [ebp - 0xc04], 0x10
je 0x451815
push 0x208
lea eax, [ebp - 0x9b4]
push 0
push eax
call fcn.005d7e20
push 0x208
lea eax, [ebp - 0x39c]
push 0
push eax
call fcn.005d7e20
push 0x190
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.005d7e20
lea eax, [ebp - 0xbd8]
push eax
lea eax, [ebp - 0x7ac]
push eax
lea eax, [ebp - 0x39c]
push 0x63cc30
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0xc08]
lea eax, [ebp - 0x9b4]
add esp, 0x34
push eax
lea eax, [ebp - 0x39c]
push eax
call fcn.00451920
mov esi, eax
lea eax, [ebp - 0x9b4]
push eax
lea eax, [ebp - 0x194]
push 0x6bb564
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0xc08]
lea eax, [ebp - 0x194]
add esp, 0xc
push 0x190
push eax
call fcn.00451870
lea ecx, [ebp - 0x194]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4517b2
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.005e443d
add esp, 8
test esi, esi
je 0x451815
lea eax, [ebp - 0x5a4]
lea ecx, [ebp - 0x194]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x45180a
test dx, dx
je 0x451806
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x45180a
add ecx, 4
add eax, 4
test dx, dx
jne 0x4517e4
xor eax, eax
jmp 0x45180f
sbb eax, eax
or eax, 1
test eax, eax
je 0x451829
xor esi, esi
lea eax, [ebp - 0xc04]
push eax
push ebx
call edi
test eax, eax
jne 0x4516f2
jmp 0x451846
push dword [ebp - 0xc10]
mov ecx, dword [ebp - 0xc08]
lea eax, [ebp - 0x39c]
push eax
mov esi, 1
call fcn.00451a40
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bd4a0
mov esp, ebp
pop ebp
ret 8