Function at 0x4712a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e83a
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x320], 0
xor eax, eax
mov word [ebp - 0x314], ax
push 0x206
push 0
lea ecx, [ebp - 0x312]
push ecx
call fcn.00496f40
add esp, 0xc
lea ecx, [ebp - 0x10c]
call fcn.004056c0
mov dword [ebp - 4], 1
cmp dword [ebp + 0xc], 1
jne 0x4713dc
push 0
push 0x1a
lea edx, [ebp - 0x314]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0
jge 0x471374
lea eax, [ebp - 0x2c]
push eax
call fcn.0046e400
add esp, 4
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x328], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x328]
push edx
lea ecx, [ebp - 0x10c]
call fcn.00405880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004058b0
jmp 0x4713d7
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x48]
call fcn.00405df0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.00469210
add esp, 8
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x330], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x330]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.00405880
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004058b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00405ea0
jmp 0x4714b4
lea edx, [ebp - 0x314]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0
jge 0x471442
lea eax, [ebp - 0x80]
push eax
call fcn.0046e400
add esp, 4
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x334]
mov dword [ebp - 0x338], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x338]
push edx
lea ecx, [ebp - 0x10c]
call fcn.00405880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.004058b0
jmp 0x4714b4
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00405df0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.00469210
add esp, 8
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x340]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.00405880
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
call fcn.004058b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.00405ea0
push str.youku
lea ecx, [ebp - 0xd4]
call fcn.00405770
mov byte [ebp - 4], 8
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xf0]
push ecx
call fcn.0046dd30
add esp, 0xc
mov dword [ebp - 0x344], eax
mov edx, dword [ebp - 0x344]
mov dword [ebp - 0x348], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x348]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00405880
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xf0]
call fcn.004058b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.004058b0
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x471542
lea edx, [ebp - 0x10c]
push edx
call fcn.0046e730
add esp, 4
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004057f0
mov ecx, dword [ebp - 0x320]
or ecx, 1
mov dword [ebp - 0x320], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.004058b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret