Function at 0x526b10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6300b1
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x6ec7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd4], eax
lea eax, [ecx + 0xd8]
push eax
lea ecx, [ebp - 0x28]
call fcn.004146c0
push 0xffffffffffffffff
push 0x6445b0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0045e300
push 0xffffffffffffffff
push 0x640c04
lea ecx, [ebp - 0x28]
lea edi, [eax + 1]
call fcn.0045e300
mov esi, eax
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmove eax, ecx
lea ecx, [ebp - 0x28]
push eax
push 0x648118
call fcn.0045e300
mov edx, dword [ebp - 0x18]
mov ecx, eax
sub ecx, edi
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
cmp edx, edi
jb 0x527026
sub edx, edi
lea eax, [ebp - 0x28]
cmp edx, ecx
cmovb ecx, edx
cmp dword [ebp - 0x14], 7
push ecx
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x88]
lea eax, [eax + edi*2]
push eax
call fcn.00414450
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xd4]
mov byte [ebp - 4], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
cmp eax, ecx
jb 0x52702b
sub eax, ecx
sub esi, ecx
cmp eax, esi
cmovb esi, eax
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push esi
lea eax, [eax + ecx*2]
push eax
lea ecx, [ebp - 0x70]
call fcn.00414450
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 2
push eax
push 0
push 0
push 0x693bc0
mov dword [ebp - 0xd8], 0
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edx, dword [ebp - 0xd8]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x526c80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00414450
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 3
mov dword [ebp - 0xd4], 0x5c
cmp ecx, 0x7ffffffe
je 0x527030
cmp dword [ebp - 0x44], 7
lea edx, [ebp - 0xd4]
push 1
push edx
push ecx
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
lea ecx, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xdc]
call fcn.0041c3c0
cmp dword [ebp - 0x74], 7
lea eax, [ebp - 0x88]
push dword [ebp - 0x78]
cmova eax, dword [ebp - 0x88]
lea ecx, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 4
call fcn.00418500
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x66d6a0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00414120
mov ecx, eax
mov eax, dword [ebp - 0xe0]
add eax, 0x16c
mov byte [ebp - 4], 6
push eax
push ecx
lea eax, [ebp - 0xa0]
push eax
call fcn.004140c0
add esp, 0x18
mov ecx, eax
cmp dword [ebp - 0x5c], 7
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmova eax, dword [ebp - 0x70]
push eax
mov byte [ebp - 4], 7
call fcn.00418500
mov esi, dword [ebp - 0xdc]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x526e10
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x526e06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526f06
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp ecx, 7
jbe 0x526e6d
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x526e63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526f06
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp ecx, 7
jbe 0x526ec0
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x526eb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526f06
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0xbc]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x526f16
mov edx, dword [ebp - 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x526f0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x526f0c
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
push dword [ebp - 0xd8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x526f5c
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x526f52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526ff7
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x526f92
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x526f88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526ff7
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0x74]
cmp ecx, 7
jbe 0x526fcb
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x526fc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526ff7
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x527007
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x526ffd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x526ffd
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00604ed9
mov esp, ebp
pop ebp
ret 4
call fcn.00417f30
call fcn.00417f30
call fcn.00417f10
int3