Function at 0x410080
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1080
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x107c], 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 0x4102f7
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff0000
push 0
push 0x1101
push dword [ebx]
mov dword [esp + 0x28], 0xf0000000
call ebp
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push 0
call esi
test eax, eax
je 0x410107
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x11
push 0
call esi
test eax, eax
jne 0x410305
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x14]
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x24]
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 0x410165
mov dword [esp + 0x3c], 1
mov dword [esp + 0x1c], 0x67
mov eax, dword [0x595554]
push 0xc
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
je 0x410305
push 0x800
lea eax, [esp + 0x90]
push eax
push 1
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.00411de0
test al, al
je 0x410305
push dword [esp + 0x10]
lea eax, [esp + 0x90]
push 0
mov dword [esp + 0x34], eax
call fcn.00410320
mov edi, eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x410305
push dword [esp + 0x10]
call fcn.004103d0
mov dword [esi + 4], eax
mov ecx, ebx
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00410ce0
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
push dword [esp + 0x10]
push 0
call fcn.00410320
mov dword [esi + 8], eax
test eax, eax
je 0x410305
lea eax, [esp + 0x4c]
mov dword [esp + 0x40], esi
push eax
push 0
push 0x1132
push dword [ebx]
mov ecx, 0xa
lea esi, [esp + 0x2c]
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0xffff0000
call ebp
mov esi, eax
mov ecx, ebx
push esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [ebx]
call fcn.00410760
push esi
push 2
push 0x1102
push dword [ebx]
call ebp
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 ebp
mov esi, eax
test esi, esi
je 0x4102d9
jmp 0x410280
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 4
push eax
push 0
push 0x113e
push dword [ebx]
mov dword [esp + 0x30], esi
call ebp
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
push dword [eax + 8]
mov edx, dword [ecx]
push dword [esp + 0x48]
push 0
push ecx
call dword [edx + 0x1c]
push esi
test eax, eax
je 0x4102cb
push 1
push 0x110a
push dword [ebx]
call ebp
mov esi, eax
test esi, esi
jne 0x410280
jmp 0x4102d9
push 2
push 0x1102
push dword [ebx]
call ebp
mov dword [ebx + 4], esi
mov eax, dword [0x595554]
push dword [esp + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [0x595554]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x410305
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x108c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x1080
ret