Function at 0x45d34f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
cmp dword [0x493210], eax
mov ebx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
je 0x45d380
cmp dword [ebx + 0xd4], eax
jne 0x45d380
mov dword [ebp - 4], 0x400
jmp 0x45d385
mov edi, 0x400
cmp dword [0x493208], eax
je 0x45d396
or byte [ebp - 3], 0x10
or edi, 6
jmp 0x45d3a0
or edi, 0x1000
or dword [ebp - 4], 6
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
not edi
and edi, eax
or edi, dword [ebp - 4]
mov ecx, edi
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
cmp eax, ecx
je 0x45d3c8
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
cmp dword [0x493200], 0
je 0x45d3e9
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
mov ecx, eax
and ecx, 0xfffffff9
cmp eax, ecx
je 0x45d3e9
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
push dword [ebx + 4]
call fcn.00447aac
cmp dword [0x493204], 0
pop ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
je 0x45d409
call esi
mov ecx, eax
or ecx, 4
jmp 0x45d410
call esi
mov ecx, eax
and ecx, 0xfffffffb
cmp eax, ecx
je 0x45d41c
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
mov dword [ebx + 0xf8], 0x20
cmp dword [0x484db8], 0
je 0x45d439
mov dword [ebx + 0xf8], 0x60
lea eax, [ebp - 0x10]
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetSettings]
test byte [ebp - 0x10], 1
je 0x45d452
or byte [ebx + 0xf8], 0x80
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.SHELL32.dll_ILClone]
je 0x45d49f
push dword [ebp + 8]
call edi
mov esi, eax
push esi
call dword [sym.imp.SHELL32.dll_ILRemoveLastID]
test esi, esi
je 0x45d575
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFindLastID]
push eax
call edi
cmp word [esi], 0
lea edx, [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xfc]
push edx
push 0x479de8
mov ecx, dword [eax]
push 0
push esi
push eax
call dword [ecx + 0x14]
push dword [ebx + 0xec]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1109
push dword [ebx + 4]
call esi
push 0
push 0x64
push 0x1121
push dword [ebx + 4]
call esi
lea eax, [ebp - 0x14]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x45d575
push 0xc
push 0x40
mov dword [ebp - 0x3c], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
call edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
or dword [ebp - 0x2c], 0xffffffff
or dword [ebp - 0x20], 0xffffffff
or dword [ebp - 0x24], 0xffffffff
push 0xa
mov dword [esi], eax
pop ecx
lea eax, [ebp - 0x70]
mov dword [ebp - 0x18], esi
push eax
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x68]
push 0
mov dword [ebp - 0x1c], 1
push 0x1132
push dword [ebx + 4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x6c], 0xffff0002
mov dword [ebp - 0x70], 0xffff0000
call esi
push dword [ebx + 0x7c]
mov edi, eax
mov eax, dword [ebx + 0xfc]
push dword [ebp + 8]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x45d563
mov dword [ebx + 0x68], edi
push edi
push 2
push 0x1102
push dword [ebx + 4]
call esi
push 1
pop eax
jmp 0x45d577
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4