Function at 0x45f64b
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffb6c
mov edi, 0x4bbb88
xor eax, eax
mov dword [esp], eax
push esp
call sub.SHELL32.DLL_SHGetDesktopFolder
test eax, eax
jl 0x45f866
mov dword [esp + 4], 0xf0000000
push 0xffff0000
push 0
push 0x1101
push dword [edi]
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.00482880
add esp, 0xc
mov dword [esp + 0x10], 0x27
test byte [esp + 7], 0x80
je 0x45f6d9
mov dword [esp + 0x30], 1
or dword [esp + 0x10], 0x40
push 0xc
mov edx, dword [0x4bbf94]
push edx
mov ecx, dword [edx]
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
jne 0x45f6f4
xor eax, eax
jmp 0x45f877
lea edx, [esp + 0x6c]
push edx
mov ecx, 1
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
call fcn.0045ff4c
lea ecx, [esp + 0x6c]
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0x104
mov edx, dword [esp + 8]
call fcn.0045febc
mov ebp, eax
mov eax, dword [esp + 8]
call fcn.0045ff1c
mov dword [esi + 4], eax
lea edx, [esp + 0x10]
mov eax, ebp
call fcn.0045f903
mov edx, dword [esp]
mov dword [esi], 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.0045febc
mov dword [esi + 8], eax
mov dword [esp + 0x34], esi
push edi
lea esi, [esp + 0x14]
lea edi, [esp + 0x44]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
pop edi
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 [edi]
call sub.USER32.DLL_SendMessageA
mov ebx, eax
push ebx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov eax, dword [edi]
call fcn.0045f92a
mov esi, ebx
push esi
push 2
push 0x1102
push dword [edi]
call sub.USER32.DLL_SendMessageA
lea eax, [esp + 0xc]
push eax
push 0x11
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
push esi
push 4
push 0x110a
push dword [edi]
call sub.USER32.DLL_SendMessageA
mov ebx, eax
test ebx, ebx
je 0x45f849
mov dword [esp + 0x46c], 4
mov dword [esp + 0x470], ebx
lea edx, [esp + 0x46c]
push edx
push 0
push 0x110c
push dword [edi]
call sub.USER32.DLL_SendMessageA
mov esi, dword [esp + 0x490]
push dword [esi + 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 0x45f834
push ebx
push 2
push 0x1102
push dword [edi]
call sub.USER32.DLL_SendMessageA
mov dword [0x4bbb8c], ebx
jmp 0x45f849
push ebx
push 1
push 0x110a
push dword [edi]
call sub.USER32.DLL_SendMessageA
mov ebx, eax
test ebx, ebx
jne 0x45f7d7
push ebp
mov ecx, dword [0x4bbf94]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
push dword [esp + 8]
mov edx, dword [0x4bbf94]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
cmp dword [esp], 0
je 0x45f875
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