Function at 0x456230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbcba
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x84], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x2c]
call fcn.0046e1a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], ebx
je 0x456298
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x456287
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
jne 0x4562e8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x4562ad
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x1c]
cmp ecx, ebx
je 0x4562e1
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov dword [ebp + 0x1c], ebx
xor al, al
jmp 0x4564c5
mov esi, dword [esi + 8]
mov edi, dword [ebp - 0x84]
cmp esi, dword [edi + 0xc]
je 0x456309
push edi
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.004566d0
add esi, 0x1c
cmp esi, dword [edi + 0xc]
jne 0x4562f6
push 1
push 2
lea ecx, [ebp - 0x11c]
call fcn.00413cc0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x11c]
push str.Installing...SogouInst
push eax
call fcn.00416b90
add esp, 8
push 0x12
mov esi, 0xf
push str.CSogouInst::DoInst
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.0040ebe0
mov byte [ebp - 4], 3
push 0xd
push str.SogouInst.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.0040ebe0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.00413de0
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x64]
push edx
push 0x59
lea eax, [ebp - 0x48]
push eax
push 3
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 4
cmp dword [ebp - 0x6c], 8
jb 0x4563af
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
mov byte [ebp - 4], 3
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jb 0x4563d9
mov eax, dword [ebp - 0x48]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], edi
jb 0x4563f7
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0xcc]
mov dword [ebp - 0x84], edx
mov dword [ebp + ecx - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x118]
call fcn.00413e40
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xcc]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0xcc], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 1
mov edx, ecx
push edx
mov dword [ebp - 0xcc], vtable.std::ios_base.0
call fcn.0048fc10
add esp, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x45648f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x1c]
cmp ecx, ebx
je 0x4564c3
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov dword [ebp + 0x1c], ebx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret 0x1c