Function at 0x423f88
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push 0x466890
mov ecx, esi
mov word [esi], ax
call fcn.00401db0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.00435bd0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 8
ja case.default.0x423f81
jmp dword [eax*4 + 0x424208]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x20c]
push edx
mov ecx, esi
call fcn.0040195c
jmp case.default.0x423f81
push 0
lea eax, [ebp - 0x2d0]
push 0
push eax
call fcn.00426430
add esp, 0xc
push eax
mov ecx, esi
call fcn.004019af
lea ecx, [ebp - 0x2d0]
jmp 0x4241be
lea ecx, [ebp - 0x228]
push 1
push ecx
call fcn.00423f20
push str.Version
lea edx, [ebp - 0x27c]
push 0
push edx
call fcn.00426430
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.00425070
add esp, 0x1c
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x228]
push edx
mov ecx, esi
call fcn.00401b49
lea ecx, [ebp - 0x27c]
call fcn.00401f3e
jmp 0x4241b8
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.SogouMiniGame
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
mov ecx, esi
call fcn.0040195c
jmp case.default.0x423f81
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1a
jmp 0x424048
lea eax, [ebp - 0x228]
push 4
push eax
call fcn.00423f20
add esp, 8
push 0x461710
lea ecx, [ebp - 0x298]
call fcn.00401e6f
lea ecx, [ebp - 0x298]
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.00425070
lea ecx, [ebp - 0x298]
jmp 0x42419e
lea ecx, [ebp - 0x228]
push 4
push ecx
call fcn.00423f20
add esp, 8
push str.Temp
lea ecx, [ebp - 0x244]
call fcn.00401e6f
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x228]
push eax
call fcn.00425070
add esp, 8
lea ecx, [ebp - 0x244]
call fcn.00401f3e
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x228]
push ecx
jmp 0x4241b1
lea edx, [ebp - 0x228]
push 4
push edx
call fcn.00423f20
add esp, 8
push str.Image
lea ecx, [ebp - 0x2b4]
call fcn.00401e6f
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.00425070
add esp, 8
lea ecx, [ebp - 0x2b4]
call fcn.00401f3e
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x228]
push edx
jmp 0x4241b1
lea eax, [ebp - 0x228]
push 4
push eax
call fcn.00423f20
add esp, 8
push 0x4616f0
lea ecx, [ebp - 0x260]
call fcn.00401e6f
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.00425070
lea ecx, [ebp - 0x260]
add esp, 8
call fcn.00401f3e
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x228]
push eax
mov ecx, esi
call fcn.00401b49
lea ecx, [ebp - 0x228]
call fcn.00401f3e
cmp dword [esi + 0x10], 0
je 0x4241f5
cmp dword [esi + 0x14], 8
jb 0x4241d3
mov eax, dword [esi]
jmp 0x4241d5
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4241f5
cmp dword [esi + 0x14], 8
jb 0x4241ea
mov eax, dword [esi]
jmp 0x4241ec
mov eax, esi
push eax
call fcn.00402a70
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00435bbb
mov esp, ebp
pop ebp
ret