Function at 0x4ab680
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1e4
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea esi, [ebp - 0x114]
push 0x104
push ebx
push esi
call fcn.00460af0
add esp, 0xc
push 1
push 0x1a
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x4ab75a
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045901d
mov eax, ebx
add esp, 0x1e4
pop esi
pop edi
pop ebx
pop ebp
ret
cmp edi, dword [ebp - 0x1ec]
je 0x4ab865
sub edi, dword [ebp - 0x1e0]
cmp edi, 0xffffffff
je 0x4ab865
push 0x1d
push str....._base360qihoo_util.cc
call fcn.00447960
add esp, 8
mov bl, 1
test eax, eax
jg 0x4ab912
cmp byte [ebp - 0x12d], 0
jns 0x4ab723
push dword [ebp - 0x138]
call fcn.0045702d
add esp, 4
cmp byte [ebp - 0x121], 0
jns 0x4ab73a
push dword [ebp - 0x12c]
call fcn.0045702d
add esp, 4
cmp byte [ebp - 0x115], 0
jns 0x4ab6c1
push dword [ebp - 0x120]
call fcn.0045702d
add esp, 4
jmp 0x4ab6c1
xor edi, edi
dec edi
lea ebx, [ebp - 0x120]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov ecx, ebx
push str.config_systemprofile
call fcn.0048c380
lea ecx, [ebp - 0x12c]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ebp - 0x1e8], ecx
push str.localservice_application_data
call fcn.0048c380
lea ecx, [ebp - 0x138]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ebp - 0x1e0], ecx
push esi
call fcn.0048c380
mov dword [ebp - 0x1e4], ebx
movzx ecx, byte [ebx + 0xb]
test cl, cl
jns 0x4ab7cf
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x1e4], eax
movzx ebx, byte [ebp - 0x12d]
test bl, bl
jns 0x4ab7e6
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x1e0], eax
test ecx, ecx
je 0x4ab6f3
test bl, bl
jns 0x4ab7f8
mov ebx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x1e0]
add eax, ebx
mov dword [ebp - 0x1ec], eax
cmp ebx, ecx
jl 0x4ab865
mov eax, dword [ebp - 0x1e4]
movsx eax, byte [eax]
mov dword [ebp - 0x1f0], eax
mov eax, ebx
mov edi, dword [ebp - 0x1e0]
sub eax, ecx
inc eax
je 0x4ab865
push eax
push dword [ebp - 0x1f0]
push edi
mov esi, ecx
call fcn.0045ee40
add esp, 0xc
test eax, eax
je 0x4ab865
mov edi, eax
push esi
push dword [ebp - 0x1e4]
push eax
call fcn.0045eeed
add esp, 0xc
test eax, eax
je 0x4ab6d8
inc edi
mov eax, dword [ebp - 0x1ec]
sub eax, edi
cmp eax, esi
mov ecx, esi
jge 0x4ab821
movzx ecx, byte [ebp - 0x121]
test cl, cl
cmovs ecx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x1e8]
cmovs eax, dword [ebp - 0x12c]
mov dword [ebp - 0x1e8], eax
test ecx, ecx
je 0x4ab6f3
cmp ebx, ecx
jl 0x4ab8e9
mov eax, dword [ebp - 0x1e8]
movsx eax, byte [eax]
mov dword [ebp - 0x1e4], eax
mov edi, dword [ebp - 0x1e0]
sub ebx, ecx
inc ebx
je 0x4ab8e9
mov esi, ecx
push ebx
push dword [ebp - 0x1e4]
push edi
call fcn.0045ee40
add esp, 0xc
test eax, eax
je 0x4ab8e9
mov edi, eax
push esi
push dword [ebp - 0x1e8]
push eax
call fcn.0045eeed
add esp, 0xc
test eax, eax
je 0x4ab8f0
inc edi
mov ebx, dword [ebp - 0x1ec]
sub ebx, edi
cmp ebx, esi
mov ecx, esi
jge 0x4ab8a9
xor ebx, ebx
jmp 0x4ab70c
xor ebx, ebx
cmp edi, dword [ebp - 0x1ec]
je 0x4ab70c
sub edi, dword [ebp - 0x1e0]
cmp edi, 0xffffffff
jne 0x4ab6f3
jmp 0x4ab70c
lea ecx, [ebp - 0x1dc]
push 0xffffffffffffffff
push 0x2a5
push str....._base360qihoo_util.cc
call fcn.0042ef60
lea eax, [ebp - 0x1d4]
push 0x36
push str.IsSystemPrivilegeImp__SHGetSpecialFolderPathA_szPath_
push eax
call fcn.0048dad0
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x114]
push esi
call fcn.0047ab60
add esp, 4
push eax
push esi
push edi
call fcn.0048dad0
add esp, 0xc
lea ecx, [ebp - 0x1dc]
call fcn.0042f440
jmp 0x4ab70c