Function at 0x46435d
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffb6c
mov edi, 0x4c2d58
xor eax, eax
mov dword [esp], eax
push esp
call sub.SHELL32.DLL_SHGetDesktopFolder
test eax, eax
jl 0x464578
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.0048d2a4
add esp, 0xc
mov dword [esp + 0x10], 0x27
test byte [esp + 7], 0x80
je 0x4643eb
mov dword [esp + 0x30], 1
or dword [esp + 0x10], 0x40
push 0xc
mov edx, dword [0x4c316c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
jne 0x464406
xor eax, eax
jmp 0x464589
lea edx, [esp + 0x6c]
push edx
mov ecx, 1
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
call fcn.00464cb8
lea ecx, [esp + 0x6c]
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0x104
mov edx, dword [esp + 8]
call fcn.00464c28
mov ebp, eax
mov eax, dword [esp + 8]
call fcn.00464c88
mov dword [esi + 4], eax
lea edx, [esp + 0x10]
mov eax, ebp
call fcn.00464615
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.00464c28
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.0046463c
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 0x46455b
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 0x464546
push ebx
push 2
push 0x1102
push dword [edi]
call sub.USER32.DLL_SendMessageA
mov dword [0x4c2d5c], ebx
jmp 0x46455b
push ebx
push 1
push 0x110a
push dword [edi]
call sub.USER32.DLL_SendMessageA
mov ebx, eax
test ebx, ebx
jne 0x4644e9
push ebp
mov ecx, dword [0x4c316c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
push dword [esp + 8]
mov edx, dword [0x4c316c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
cmp dword [esp], 0
je 0x464587
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