Function at 0x54aff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fd88
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push esi
mov eax, dword [0x5deba8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004cba70
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str._AppData_SogouExplorer
call fcn.0041d9b0
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0054b290
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x54b24f
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp + 8]
push edx
call fcn.0041d990
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.config.xml
lea edx, [ebp - 0x10]
push edx
push ecx
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
call fcn.0054b360
lea ecx, [ebp - 0x44]
call fcn.004c30e0
mov byte [ebp - 4], 4
push 0
push 0x5a57a4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x90]
call fcn.0041e1e0
push eax
lea ecx, [ebp - 0x44]
call fcn.004c3240
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.0041dab0
cmp dword [ebp - 0x54], 0
je 0x54b243
lea ecx, [ebp - 0x44]
call fcn.004c3600
test eax, eax
je 0x54b243
lea ecx, [ebp - 0x44]
call fcn.004c3580
test eax, eax
jne 0x54b23e
lea ecx, [ebp - 0x44]
call fcn.004c3b00
test eax, eax
je 0x54b23e
push str.config.xml
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x44]
call fcn.004c37a0
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x98]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x64]
call fcn.0041dab0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.0041dab0
cmp dword [ebp - 0x5c], 0
je 0x54b23e
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp + 8]
push edx
call fcn.0041d990
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 7
push ecx
mov esi, esp
mov dword [ebp - 0x6c], esp
push str.config.xml
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004c37a0
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xac]
push eax
push esi
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x74]
call fcn.0054b360
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.0041dab0
jmp 0x54b11b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004c3130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004cba90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4