Function at 0x482f00
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1080
call fcn.004df840
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x107c], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov ebx, ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x483190
mov ecx, dword [ebx]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff0000
push 0
push 0x1101
push ecx
mov dword [esp + 0x28], 0xf0000000
call ebp
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea edx, [esp + 0x14]
push edx
push 0
push 0
call esi
test eax, eax
je 0x482f80
lea eax, [esp + 0x14]
push eax
push 0x11
push 0
call esi
test eax, eax
jne 0x4831a0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
push edx
push 1
push eax
mov eax, dword [ecx + 0x24]
call eax
xor eax, eax
test dword [esp + 0x18], 0x80000000
mov dword [esp + 0x1c], eax
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
mov dword [esp + 0x1c], 0x27
je 0x482fe4
mov dword [esp + 0x3c], 1
mov dword [esp + 0x1c], 0x67
mov eax, dword [0x567a04]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0xc
push eax
call edx
mov esi, eax
test esi, esi
je 0x4831a0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0x800
lea eax, [esp + 0x90]
push eax
push 1
push ecx
push edx
call fcn.004824c0
test al, al
je 0x4831a0
mov ecx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x90]
push 0
mov dword [esp + 0x34], eax
call fcn.004823b0
mov edi, eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x4831a0
mov edx, dword [esp + 0x14]
push edx
call fcn.00482480
mov dword [esi + 4], eax
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, ebx
call fcn.00482590
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
push 0
call fcn.004823b0
mov dword [esi + 8], eax
test eax, eax
je 0x4831a0
mov eax, dword [ebx]
lea edx, [esp + 0x4c]
push edx
push 0
mov dword [esp + 0x48], esi
push 0x1132
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0xffff0000
call ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [ebx]
push esi
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00482610
mov ecx, dword [ebx]
push esi
push 2
push 0x1102
push ecx
call ebp
lea edx, [esp + 0x44]
push edx
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebx]
push esi
mov edi, 4
push edi
push 0x110a
push eax
call ebp
mov esi, eax
test esi, esi
je 0x48316c
lea esp, [esp]
mov edx, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x113e
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
call ebp
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x48]
push edx
push 0
push eax
mov eax, dword [ecx + 0x1c]
call eax
push esi
test eax, eax
je 0x48315d
mov ecx, dword [ebx]
push 1
push 0x110a
push ecx
call ebp
mov esi, eax
test esi, esi
jne 0x483110
jmp 0x48316c
mov edx, dword [ebx]
push 2
push 0x1102
push edx
call ebp
mov dword [ebx + 4], esi
mov eax, dword [0x567a04]
mov edx, dword [esp + 0x48]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [0x567a04]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4831a0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x108c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df824
add esp, 0x1080
ret