Function at 0x45fdb4
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffb6c
mov esi, eax
xor eax, eax
mov dword [esp], eax
push esp
call sub.SHELL32.DLL_SHGetDesktopFolder
test eax, eax
jl 0x45ffcf
mov dword [esp + 4], 0xf0000000
push 0xffff0000
push 0
push 0x1101
push dword [esi]
call sub.USER32.DLL_SendMessageA
lea edx, [esp + 8]
push edx
push 0
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0xc]
push eax
push 1
mov edx, dword [esp + 0xc]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x24]
push 0x28
push 0
lea eax, [esp + 0x18]
push eax
call fcn.00497b00
add esp, 0xc
mov dword [esp + 0x10], 0x27
test byte [esp + 7], 0x80
je 0x45fe3f
mov dword [esp + 0x30], 1
or dword [esp + 0x10], 0x40
push 0xc
mov edx, dword [0x4cb56c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x45fe5a
xor eax, eax
jmp 0x45ffe0
lea edx, [esp + 0x6c]
push edx
push 0
mov ecx, 1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
call fcn.0046007c
lea ecx, [esp + 0x6c]
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0x104
mov edx, dword [esp + 8]
call fcn.0045ffec
mov ebp, eax
mov eax, dword [esp + 8]
call fcn.0046004c
mov dword [edi + 4], eax
lea ecx, [esp + 0x10]
mov edx, ebp
mov eax, esi
call fcn.00460168
mov edx, dword [esp]
mov dword [edi], edx
mov ecx, dword [esp]
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 8]
xor eax, eax
call fcn.0045ffec
mov dword [edi + 8], eax
mov dword [esp + 0x34], edi
push esi
lea esi, [esp + 0x14]
lea edi, [esp + 0x44]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
pop esi
xor eax, eax
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 0xffff0000
push edx
push 0
push 0x1100
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov ebx, eax
push dword [esp + 8]
push ebx
mov ecx, dword [esp + 8]
mov edx, dword [esi]
mov eax, esi
call fcn.00460198
mov edi, ebx
push edi
push 2
push 0x1102
push dword [esi]
call sub.USER32.DLL_SendMessageA
lea eax, [esp + 0xc]
push eax
push 0x11
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
push edi
push 4
push 0x110a
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov ebx, eax
test ebx, ebx
je 0x45ffb2
mov dword [esp + 0x46c], 4
mov dword [esp + 0x470], ebx
lea edx, [esp + 0x46c]
push edx
push 0
push 0x110c
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov edi, dword [esp + 0x490]
push dword [edi + 8]
push dword [esp + 0x10]
push 0
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
test eax, eax
jne 0x45ff9d
push ebx
push 2
push 0x1102
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov dword [esi + 4], ebx
jmp 0x45ffb2
push ebx
push 1
push 0x110a
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov ebx, eax
test ebx, ebx
jne 0x45ff43
push ebp
mov ecx, dword [0x4cb56c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
push dword [esp + 8]
mov edx, dword [0x4cb56c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
cmp dword [esp], 0
je 0x45ffde
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
add esp, 0x494
pop ebp
pop edi
pop esi
pop ebx
ret