Function at 0x45e500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592406
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x670
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x65c], 0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [0x5b1694]
mov dword [ebp - 0x638], eax
push 0x204
push 0
lea ecx, [ebp - 0x634]
push ecx
call fcn.005533a0
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x428]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x63c], 0
lea eax, [ebp - 0x63c]
push eax
push 0x5adce0
push 1
push 0
push 0x5a6e3c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x42c], eax
lea ecx, [ebp - 0x14]
call fcn.0041d970
mov byte [ebp - 4], 2
cmp dword [ebp - 0x42c], 0
jl 0x45e81f
mov dword [ebp - 0x640], 0
lea ecx, [ebp - 0x640]
push ecx
push 0x5a658c
mov edx, dword [ebp - 0x63c]
push edx
mov eax, dword [ebp - 0x63c]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
mov dword [ebp - 0x660], eax
mov eax, dword [ebp - 0x660]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jl 0x45e81f
push 4
lea ecx, [ebp - 0x64c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0041dde0
mov dword [ebp - 0x664], eax
mov edx, dword [ebp - 0x664]
mov dword [ebp - 0x668], edx
mov byte [ebp - 4], 3
push 0x5b1698
mov ecx, dword [ebp - 0x668]
call fcn.0041dbd0
mov dword [ebp - 0x66c], eax
xor eax, eax
cmp dword [ebp - 0x66c], 0
sete al
mov byte [ebp - 0x645], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64c]
call fcn.0041dab0
movzx ecx, byte [ebp - 0x645]
test ecx, ecx
je 0x45e81f
lea ecx, [ebp + 0xc]
call fcn.0041e1e0
push eax
lea ecx, [ebp - 0x650]
call fcn.0041e3e0
mov dword [ebp - 0x670], eax
mov ecx, dword [ebp - 0x670]
call fcn.0041e410
push eax
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x650]
call fcn.0041e400
push 0
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x63c]
push ecx
mov edx, dword [ebp - 0x63c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
call ecx
mov dword [ebp - 0x674], eax
mov edx, dword [ebp - 0x674]
mov dword [ebp - 0x42c], edx
cmp dword [ebp - 0x42c], 0
jl 0x45e81f
lea eax, [ebp - 0x644]
push eax
push 0x104
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x640]
push edx
mov eax, dword [ebp - 0x640]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
call edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041daf0
push 4
lea ecx, [ebp - 0x658]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041dde0
mov dword [ebp - 0x678], eax
mov edx, dword [ebp - 0x678]
mov dword [ebp - 0x67c], edx
mov byte [ebp - 4], 4
push 0x5b16a4
mov ecx, dword [ebp - 0x67c]
call fcn.0041dbd0
mov dword [ebp - 0x680], eax
xor eax, eax
cmp dword [ebp - 0x680], 0
sete al
mov byte [ebp - 0x651], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x658]
call fcn.0041dab0
movzx ecx, byte [ebp - 0x651]
test ecx, ecx
je 0x45e7d6
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d990
mov ecx, dword [ebp - 0x65c]
or ecx, 1
mov dword [ebp - 0x65c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov eax, dword [ebp + 8]
jmp 0x45e8a7
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x644]
mov dword [edx], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041d990
mov edx, dword [ebp - 0x65c]
or edx, 1
mov dword [ebp - 0x65c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov eax, dword [ebp + 8]
jmp 0x45e8a7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0041dab0
jmp 0x45e85c
mov dword [ebp - 4], 0
jmp 0x45e879
push 0x5b11ef
mov ecx, dword [ebp + 8]
call fcn.0041da30
mov ecx, dword [ebp - 0x65c]
or ecx, 1
mov dword [ebp - 0x65c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret