Function at 0x575ef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1e4
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea edi, [ebp - 0x114]
push 0x104
push ebx
push edi
call fcn.005191b0
add esp, 0xc
push 1
push 0x1a
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x575f44
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
add esp, 0x1e4
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
dec esi
lea ebx, [ebp - 0x120]
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov ecx, ebx
push str.config_systemprofile
call fcn.00547270
lea ecx, [ebp - 0x12c]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ebp - 0x1e8], ecx
push str.localservice_application_data
call fcn.00547270
lea ecx, [ebp - 0x138]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ebp - 0x1e0], ecx
push edi
call fcn.00547270
movzx ecx, byte [ebx + 0xb]
test cl, cl
jns 0x575fb5
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x1e4], eax
jmp 0x575fbe
mov dword [ebp - 0x1e4], ebx
and ecx, 0x7f
movzx ebx, byte [ebp - 0x12d]
test bl, bl
jns 0x575fd5
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x1e0], eax
test ecx, ecx
je 0x576120
test bl, bl
jns 0x575fe9
mov ebx, dword [ebp - 0x134]
jmp 0x575fec
and ebx, 0x7f
mov eax, dword [ebp - 0x1e0]
add eax, ebx
mov dword [ebp - 0x1ec], eax
cmp ebx, ecx
jge 0x576039
movzx eax, byte [ebp - 0x121]
mov esi, eax
and esi, 0x7f
test al, al
cmovs esi, dword [ebp - 0x128]
mov eax, dword [ebp - 0x1e8]
cmovs eax, dword [ebp - 0x12c]
mov dword [ebp - 0x1e8], eax
test esi, esi
je 0x576120
cmp ebx, esi
jge 0x576095
xor ebx, ebx
jmp 0x576135
mov eax, dword [ebp - 0x1e4]
movzx eax, byte [eax]
mov dword [ebp - 0x1f0], eax
mov eax, ebx
mov edi, dword [ebp - 0x1e0]
sub eax, ecx
inc eax
je 0x575ffe
push eax
push dword [ebp - 0x1f0]
push edi
mov esi, ecx
call fcn.0050fc90
add esp, 0xc
test eax, eax
je 0x575ffe
mov edi, eax
push esi
push dword [ebp - 0x1e4]
push eax
call fcn.0050fd3d
add esp, 0xc
test eax, eax
je 0x5760ef
inc edi
mov eax, dword [ebp - 0x1ec]
sub eax, edi
cmp eax, esi
mov ecx, esi
jge 0x576050
jmp 0x575ffe
mov eax, dword [ebp - 0x1e8]
movzx eax, byte [eax]
mov dword [ebp - 0x1e4], eax
mov edi, dword [ebp - 0x1e0]
sub ebx, esi
inc ebx
je 0x576032
push ebx
push dword [ebp - 0x1e4]
push edi
call fcn.0050fc90
add esp, 0xc
test eax, eax
je 0x576032
mov edi, eax
push esi
push dword [ebp - 0x1e8]
push eax
call fcn.0050fd3d
add esp, 0xc
test eax, eax
je 0x57610b
inc edi
mov ebx, dword [ebp - 0x1ec]
sub ebx, edi
cmp ebx, esi
jge 0x5760aa
jmp 0x576032
cmp edi, dword [ebp - 0x1ec]
je 0x575ffe
sub edi, dword [ebp - 0x1e0]
cmp edi, 0xffffffff
jne 0x576120
jmp 0x575ffe
xor ebx, ebx
cmp edi, dword [ebp - 0x1ec]
je 0x576135
sub edi, dword [ebp - 0x1e0]
cmp edi, 0xffffffff
je 0x576135
push 0x1d
push str....._base360qihoo_util.cc
call fcn.0050eaf0
add esp, 8
mov bl, 1
test eax, eax
jg 0x576183
cmp byte [ebp - 0x12d], 0
jns 0x57614c
push dword [ebp - 0x138]
call fcn.0050fc7c
add esp, 4
cmp byte [ebp - 0x121], 0
jns 0x576163
push dword [ebp - 0x12c]
call fcn.0050fc7c
add esp, 4
cmp byte [ebp - 0x115], 0
jns 0x575f2d
push dword [ebp - 0x120]
call fcn.0050fc7c
add esp, 4
jmp 0x575f2d
lea ecx, [ebp - 0x1dc]
push 0xffffffffffffffff
push 0x2a6
push str....._base360qihoo_util.cc
call fcn.00406280
lea eax, [ebp - 0x1d4]
push 0x36
push str.IsSystemPrivilegeImp__SHGetSpecialFolderPathA_szPath_
push eax
call fcn.005473e0
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x114]
push esi
call fcn.005338e0
add esp, 4
push eax
push esi
push edi
call fcn.005473e0
add esp, 0xc
lea ecx, [ebp - 0x1dc]
call fcn.00406340
jmp 0x576135