Function at 0x10068fe0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10129ed2
mov eax, dword fs:[0]
push eax
sub esp, 0x5c0
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x5bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x5d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5e4]
lea edi, [esp + 0x140]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call fcn.10062500
mov ebx, 0x105
xor ebp, ebp
mov dword [esp + 0x5dc], ebp
mov ecx, ebx
lea esi, [esp + 0x148]
mov dword [esp + 0x260], ebx
call fcn.100632f0
cmp byte [esp + 0x25c], 0
lea eax, [esp + 0x14c]
jne 0x10069071
mov eax, dword [esp + 0x148]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add eax, 4
push eax
push ebp
push ebp
push 0x1a
push ebp
call edi
test eax, eax
je 0x1006916d
cmp dword [esp + 0x260], ebp
je 0x1006909a
mov dword [esp + 0x260], ebp
mov ecx, 1
lea esi, [esp + 0x148]
mov dword [esp + 0x144], ebp
call fcn.100632f0
cmp byte [esp + 0x25c], 0
lea eax, [esp + 0x14c]
jne 0x100690ca
mov eax, dword [esp + 0x148]
xor edx, edx
mov word [eax + 4], dx
mov ecx, ebx
lea esi, [esp + 0x148]
mov dword [esp + 0x260], ebx
call fcn.100632f0
cmp byte [esp + 0x25c], 0
lea eax, [esp + 0x14c]
jne 0x100690fd
mov eax, dword [esp + 0x148]
add eax, 4
push eax
push 1
push ebp
push 0x1a
push ebp
call edi
test eax, eax
je 0x1006916d
lea ecx, [esp + 0x140]
call fcn.100626a0
mov ecx, dword [esp + 0x18]
call fcn.100619a0
push 0x101441cc
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
cmp byte [esp + 0x25c], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x10069166
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0x14c]
cmp eax, ecx
je 0x10069166
push eax
call fcn.100cf89b
add esp, 4
xor al, al
jmp 0x1006937e
lea edi, [esp + 0x140]
call fcn.100629b0
cmp byte [esp + 0x25c], 0
lea esi, [esp + 0x14c]
jne 0x10069191
mov esi, dword [esp + 0x148]
lea edi, [esp + 0x264]
call fcn.10062500
lea eax, [esi + 4]
mov edx, edi
call fcn.10062710
mov byte [esp + 0x5dc], 2
call fcn.10068cc0
mov ebp, vtable.t_str.0
test al, al
je 0x10069300
mov eax, edi
call fcn.10060b00
push eax
lea edi, [esp + 0x38c]
call fcn.10062630
mov ecx, str.Application_Data
mov eax, edi
mov byte [esp + 0x5dc], 3
call fcn.100627f0
test al, al
je 0x100692d4
mov eax, str.AppDataRoaming
mov edx, edi
call fcn.10062710
lea ecx, [esp + 0x4ac]
call fcn.1005f360
lea edx, [esp + 0x264]
push edx
lea ebx, [esp + 0x4b0]
mov byte [esp + 0x5e0], 4
call fcn.10060ca0
cmp byte [esp + 0x4a4], 0
lea esi, [esp + 0x394]
jne 0x1006923d
mov esi, dword [esp + 0x390]
lea edi, [esp + 0x1c]
call fcn.10062500
lea eax, [esi + 4]
mov edx, edi
call fcn.10062710
mov eax, edi
lea esi, [esp + 0x4ac]
call fcn.1005fa30
cmp byte [esp + 0x138], 0
mov dword [esp + 0x1c], ebp
jne 0x10069281
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x10069281
push eax
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x5c8], 0
lea eax, [esp + 0x4b8]
jne 0x10069299
mov eax, dword [esp + 0x4b4]
add eax, 4
lea edx, [esp + 0x264]
call fcn.10062710
cmp byte [esp + 0x5c8], 0
mov dword [esp + 0x4ac], ebp
jne 0x100692d4
mov eax, dword [esp + 0x4b4]
lea edx, [esp + 0x4b8]
cmp eax, edx
je 0x100692d4
push eax
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x4a4], 0
mov dword [esp + 0x388], ebp
jne 0x10069300
mov eax, dword [esp + 0x390]
lea ecx, [esp + 0x394]
cmp eax, ecx
je 0x10069300
push eax
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x380], 0
lea eax, [esp + 0x270]
jne 0x10069318
mov eax, dword [esp + 0x26c]
mov edx, dword [esp + 0x14]
add eax, 4
call fcn.10062710
cmp byte [esp + 0x380], 0
mov dword [esp + 0x264], ebp
jne 0x10069350
mov eax, dword [esp + 0x26c]
lea edx, [esp + 0x270]
cmp eax, edx
je 0x10069350
push eax
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x25c], 0
mov dword [esp + 0x140], ebp
jne 0x1006937c
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0x14c]
cmp eax, ecx
je 0x1006937c
push eax
call fcn.100cf89b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x5d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5bc]
xor ecx, esp
call fcn.100cf604
add esp, 0x5cc
ret