Function at 0x4133d0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x107c
call fcn.00502fa0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x1078], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x41368f
push 0xffff0000
push 0
push 0x1101
push dword [ebx]
mov dword [esp + 0x28], 0xf0000000
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
je 0x413457
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x4136a7
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
push ecx
mov esi, dword [eax]
push 1
push eax
mov esi, dword [esi + 0x24]
mov ecx, esi
call dword [0x523720]
call esi
xor eax, eax
mov dword [esp + 0x1c], 0x27
test dword [esp + 0x18], 0x80000000
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
je 0x4134bf
mov dword [esp + 0x3c], 1
mov dword [esp + 0x1c], 0x67
mov eax, dword [0x5b976c]
push 0xc
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x523720]
call esi
mov edi, eax
test edi, edi
je 0x4136a7
push 0x800
lea eax, [esp + 0x8c]
push eax
push 1
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.004153e0
test al, al
je 0x4136a7
push dword [esp + 0x10]
lea eax, [esp + 0x8c]
push 0
mov dword [esp + 0x34], eax
call fcn.004136c0
mov ebp, eax
test ebp, ebp
je 0x4136a7
push dword [esp + 0x10]
call fcn.00413790
mov dword [edi + 4], eax
mov ecx, ebx
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.004141e0
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x523720]
call esi
push dword [esp + 0x10]
push 0
call fcn.004136c0
mov dword [edi + 8], eax
test eax, eax
je 0x4136a7
lea eax, [esp + 0x48]
mov dword [esp + 0x40], edi
push eax
push 0
push 0x1132
push dword [ebx]
mov ecx, 0xa
lea esi, [esp + 0x2c]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0xffff0000
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov ecx, ebx
push esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [ebx]
call fcn.00413b70
push esi
push 2
push 0x1102
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
push esi
push 4
push 0x110a
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
je 0x413660
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 4
push eax
push 0
push 0x113e
push dword [ebx]
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
push dword [eax + 8]
mov esi, dword [ecx]
push dword [esp + 0x48]
push 0
mov esi, dword [esi + 0x1c]
push ecx
mov ecx, esi
call dword [0x523720]
call esi
push edi
test eax, eax
je 0x41364e
push 1
push 0x110a
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x4135f1
jmp 0x413660
push 2
push 0x1102
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 4], edi
mov eax, dword [0x5b976c]
push ebp
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x523720]
call esi
mov eax, dword [0x5b976c]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x523720]
call esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4136a7
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x523720]
call esi
mov ecx, dword [esp + 0x1088]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x107c
ret