Function at 0x416b30
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1084
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x1080], 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 0x416ea1
push 0xffff0000
push 0
push 0x1101
push dword [ebx]
mov dword [esp + 0x2c], 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 0x416bb7
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 0x416eb9
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
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 [0x55770c]
call esi
xor eax, eax
mov dword [esp + 0x20], 0x27
test dword [esp + 0x1c], 0x80000000
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
mov dword [esp + 0x44], eax
je 0x416c1f
mov dword [esp + 0x40], 1
mov dword [esp + 0x20], 0x67
mov ecx, dword [0x600948]
push 0xc
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55770c]
call esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x416eb9
push 0x800
lea eax, [esp + 0x94]
push eax
push 1
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.00418d30
test al, al
je 0x416eb9
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x90]
xor edi, edi
mov dword [esp + 0x30], eax
test ebp, ebp
je 0x416ca1
movzx eax, word [ebp]
mov edi, 2
test ax, ax
je 0x416ca1
mov edx, eax
mov ecx, ebp
mov edi, edi
movzx eax, dx
add ecx, eax
add edi, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x416c90
mov ecx, dword [0x600948]
push edi
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55770c]
call esi
mov esi, eax
mov dword [esp + 0x4c], esi
test esi, esi
je 0x416eb9
push edi
push 0
push esi
call fcn.00532770
push edi
push ebp
push esi
call fcn.00531d40
add esp, 0x18
push dword [esp + 0x10]
call fcn.00416fb0
mov ebp, dword [esp + 0x18]
mov ecx, ebx
mov dword [ebp + 4], eax
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00417b40
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x55770c]
call esi
mov ecx, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x416d41
movzx eax, word [ecx]
mov edi, 2
test ax, ax
je 0x416d41
mov edx, eax
nop
movzx eax, dx
add ecx, eax
add edi, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x416d30
mov ecx, dword [0x600948]
push edi
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55770c]
call esi
mov esi, eax
test esi, esi
je 0x416ed2
push edi
push 0
push esi
call fcn.00532770
push edi
push dword [esp + 0x28]
push esi
call fcn.00531d40
add esp, 0x18
mov dword [ebp + 8], esi
lea eax, [esp + 0x50]
mov dword [esp + 0x44], ebp
mov ecx, 0xa
lea esi, [esp + 0x20]
lea edi, [esp + 0x58]
push eax
push 0
push 0x1132
push dword [ebx]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 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.00417370
push esi
push 2
push 0x1102
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x48]
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 0x416e6f
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 4
push eax
push 0
push 0x113e
push dword [ebx]
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push dword [eax + 8]
mov esi, dword [ecx]
push dword [esp + 0x4c]
push 0
mov esi, dword [esi + 0x1c]
push ecx
mov ecx, esi
call dword [0x55770c]
call esi
mov ecx, dword [ebx]
push edi
test eax, eax
je 0x416e5e
push 1
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x416e00
jmp 0x416e6f
push 2
push 0x1102
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 4], edi
mov eax, dword [0x600948]
push dword [esp + 0x4c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x55770c]
call esi
mov eax, dword [0x600948]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x55770c]
call esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x416eb9
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55770c]
call esi
mov ecx, dword [esp + 0x1090]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x1084
ret
mov dword [ebp + 8], esi
jmp 0x416eb9