Function at 0x426f20
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd28
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xd28]
push eax
mov dword [ebp - 0xcb8], ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [0x4762cc], esi
jne 0x426f69
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x426f84
push str.MiniGamePacker_start_Installproces_thread
push str.Log_Debug
call fcn.00423a60
add esp, 8
call fcn.00408c97
push esi
lea ecx, [ebp - 0xc50]
push esi
push ecx
call fcn.00426430
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
mov edi, 8
cmp dword [ebp - 0xc40], esi
je 0x42722c
push 0x11
xor edx, edx
push str.SogouMiniGame.exe
lea ecx, [ebp - 0xcb4]
mov dword [ebp - 0xca0], 7
mov dword [ebp - 0xca4], esi
mov word [ebp - 0xcb4], dx
call fcn.00401db0
lea eax, [ebp - 0xcb4]
push eax
lea ecx, [ebp - 0xc50]
push ecx
call fcn.00425070
add esp, 8
cmp dword [ebp - 0xca0], edi
jb 0x427009
mov edx, dword [ebp - 0xcb4]
push edx
call fcn.00435bb0
add esp, 4
xor eax, eax
mov word [ebp - 0xcb4], ax
mov eax, dword [ebp - 0xc50]
mov dword [ebp - 0xca0], 7
mov dword [ebp - 0xca4], esi
cmp dword [ebp - 0xc3c], edi
jae 0x427036
lea eax, [ebp - 0xc50]
push eax
call ebx
test eax, eax
je 0x42722c
mov eax, dword [ebp - 0xc50]
mov dword [ebp - 0xc8c], esi
mov dword [ebp - 0xc90], esi
mov dword [ebp - 0xc94], esi
mov dword [ebp - 0xc98], esi
cmp dword [ebp - 0xc3c], edi
jae 0x42706d
lea eax, [ebp - 0xc50]
lea ecx, [ebp - 0xc98]
push ecx
push eax
call fcn.00402570
add esp, 8
lea edx, [ebp - 0xc88]
push edx
lea ecx, [ebp - 0xc98]
call fcn.00426b90
push 9
xor eax, eax
push 0x4616ac
lea ecx, [ebp - 0xc6c]
mov dword [ebp - 0xc58], 7
mov dword [ebp - 0xc5c], esi
mov word [ebp - 0xc6c], ax
call fcn.00401db0
mov eax, dword [ebp - 0xc88]
cmp dword [ebp - 0xc74], edi
jae 0x4270ce
lea eax, [ebp - 0xc88]
mov ecx, dword [ebp - 0xc78]
mov edx, dword [ebp - 0xc5c]
push ecx
push eax
push edx
push esi
lea ecx, [ebp - 0xc6c]
call fcn.00405e63
test eax, eax
jg 0x4271cc
cmp dword [0x4762cc], esi
jne 0x42710b
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x427126
push str.MiniGamePacker_find_minigame_already_exist._dont_need_install
push str.Log_Debug
call fcn.00423a60
add esp, 8
cmp dword [ebp - 0xc58], edi
jb 0x42713d
mov eax, dword [ebp - 0xc6c]
push eax
call fcn.00435bb0
add esp, 4
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0xc58], ebx
mov dword [ebp - 0xc5c], esi
mov word [ebp - 0xc6c], cx
cmp dword [ebp - 0xc74], edi
jb 0x42716e
mov edx, dword [ebp - 0xc88]
push edx
call fcn.00435bb0
add esp, 4
xor eax, eax
mov dword [ebp - 0xc74], ebx
mov dword [ebp - 0xc78], esi
mov word [ebp - 0xc88], ax
cmp dword [ebp - 0xc3c], edi
jb 0x42719a
mov ecx, dword [ebp - 0xc50]
push ecx
call fcn.00435bb0
add esp, 4
pop edi
mov dword [ebp - 0xc40], esi
xor edx, edx
mov dword [ebp - 0xc3c], ebx
pop esi
mov word [ebp - 0xc50], dx
mov dword [0x476300], 1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bbb
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0xc58], edi
jb 0x4271e3
mov eax, dword [ebp - 0xc6c]
push eax
call fcn.00435bb0
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc58], 7
mov dword [ebp - 0xc5c], esi
mov word [ebp - 0xc6c], cx
cmp dword [ebp - 0xc74], edi
jb 0x427213
mov edx, dword [ebp - 0xc88]
push edx
call fcn.00435bb0
add esp, 4
xor eax, eax
mov dword [ebp - 0xc74], 7
mov dword [ebp - 0xc78], esi
mov word [ebp - 0xc88], ax
push 0x40e
lea edx, [ebp - 0xc32]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0xc34], cx
call fcn.00435bd0
add esp, 0xc
lea eax, [ebp - 0xc34]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea ecx, [ebp - 0xc34]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x40e
lea ecx, [ebp - 0x822]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x824], ax
call fcn.00435bd0
add esp, 0xc
lea edx, [ebp - 0x824]
push edx
push esi
push esi
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push str..cab
lea edx, [ebp - 0x824]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
lea eax, [ebp - 0x824]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x427355
cmp dword [0x4762cc], esi
jne 0x4272f1
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x427313
lea ecx, [ebp - 0x824]
push ecx
push str.MiniGamePacker_found_zip_file_exist_in_temp._delete_it__s
push str.Log_Debug
call fcn.00423a60
add esp, 0xc
lea edx, [ebp - 0x824]
push edx
call edi
test eax, eax
jne 0x427355
cmp dword [0x4762cc], esi
jne 0x42733a
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x427355
push str.MiniGamePacker_delete_zip_file_in_temp_failed_
push str.Log_Debug
call fcn.00423a60
add esp, 8
mov ecx, dword [0x4762fc]
lea eax, [ebp - 0x824]
push eax
push 0x461ef4
push 0xcd
push ecx
call fcn.0040a8cc
add esp, 0x10
test eax, eax
jne 0x4273fe
cmp dword [0x4762cc], esi
jne 0x427397
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x4273b2
push str.MiniGamePacker_extract_resource_file_to_local_failed_
push str.Log_Debug
call fcn.00423a60
add esp, 8
cmp dword [ebp - 0xc3c], 8
jb 0x4273ca
mov edx, dword [ebp - 0xc50]
push edx
call fcn.00435bb0
add esp, 4
pop edi
mov dword [ebp - 0xc40], esi
xor eax, eax
pop esi
mov dword [ebp - 0xc3c], 7
mov word [ebp - 0xc50], ax
mov dword [0x476300], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bbb
mov esp, ebp
pop ebp
ret
xor ecx, ecx
push 0x40e
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.00435bd0
push 0x208
lea eax, [ebp - 0xc34]
push eax
lea ecx, [ebp - 0x414]
push 0x208
push ecx
call fcn.00439325
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0x1c
push 0x46188c
lea edx, [ebp - 0x414]
push edx
call esi
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x4274e1
cmp dword [0x4762cc], 0
jne 0x427479
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x42749b
lea ecx, [ebp - 0x414]
push ecx
push str.MiniGamePacker_found_install_exe_file_exist_in_temp._delete_it__s
push str.Log_Debug
call fcn.00423a60
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
call edi
test eax, eax
jne 0x4274e1
xor edi, edi
cmp dword [0x4762cc], edi
jne 0x4274c4
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x4274e3
push str.MiniGamePacker_delete_install_exe_file_in_temp_failed_
push str.Log_Debug
call fcn.00423a60
add esp, 8
jmp 0x4274e3
xor edi, edi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 3
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x824]
push edx
call fcn.00423080
add esp, 0xc
test eax, eax
je 0x427593
cmp dword [0x4762cc], edi
jne 0x42752a
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x427545
push str.MiniGamePacker_Decompress_cab_file_in_temp_failed_
push str.Log_Debug
call fcn.00423a60
add esp, 8
cmp dword [ebp - 0xc3c], 8
jb 0x42755d
mov eax, dword [ebp - 0xc50]
push eax
call fcn.00435bb0
add esp, 4
mov dword [ebp - 0xc40], edi
pop edi
xor ecx, ecx
pop esi
mov dword [ebp - 0xc3c], 7
mov word [ebp - 0xc50], cx
mov dword [0x476300], 1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bbb
mov esp, ebp
pop ebp
ret
push 0x46188c
lea edx, [ebp - 0x414]
push edx
call esi
lea eax, [ebp - 0x414]
push eax
call ebx
mov ebx, 1
test eax, eax
je 0x427737
push 0x40
xor eax, eax
lea ecx, [ebp - 0xd08]
push edi
push ecx
mov dword [ebp - 0xcc8], edi
mov dword [ebp - 0xcc4], eax
mov dword [ebp - 0xcc0], eax
mov dword [ebp - 0xcbc], eax
call fcn.00435bd0
add esp, 0xc
lea edx, [ebp - 0xcc8]
push edx
lea eax, [ebp - 0xd0c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x414]
push ecx
mov dword [ebp - 0xd0c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x427644
cmp dword [0x4762cc], edi
jne 0x42762d
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x42776c
push str.MiniGamePacker_create_install_process_failed_
jmp 0x42775f
mov edx, dword [ebp - 0xcc8]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
cmp esi, edi
jne 0x4276ae
mov ecx, dword [ebp - 0xcb8]
call fcn.00426d30
cmp dword [0x4762cc], edi
jne 0x427681
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x42772c
push str.MiniGamePacker_wait_for_install_finished._start_minigame
push str.Log_Debug
call fcn.00423a60
mov eax, dword [ebp - 0xcb8]
add esp, 8
mov dword [eax + 0x14], ebx
jmp 0x42776c
cmp esi, 0x102
jne 0x4276f6
cmp dword [0x4762cc], edi
jne 0x4276d0
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x42772c
push str.MiniGamePacker_wait_for_install_time_out._try_call_minigame
push str.Log_Debug
call fcn.00423a60
mov eax, dword [ebp - 0xcb8]
add esp, 8
mov dword [eax + 0x14], ebx
jmp 0x42776c
cmp dword [0x4762cc], edi
jne 0x427710
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x42772c
push esi
push str.MiniGamePacker_wait_for_install_failed__d._try_call_minigame
push str.Log_Debug
call fcn.00423a60
add esp, 0xc
mov eax, dword [ebp - 0xcb8]
mov dword [eax + 0x14], ebx
jmp 0x42776c
cmp dword [0x4762cc], edi
jne 0x427751
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x42776c
push str.MiniGamePacker_cant_find_SogouMiniGameSetup.exe._install_failed_
push str.Log_Debug
call fcn.00423a60
add esp, 8
call fcn.00408cbd
cmp dword [0x4762cc], edi
jne 0x42778b
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x4277a6
push 0x461a78
push str.Log_Debug
call fcn.00423a60
add esp, 8
cmp dword [ebp - 0xc3c], 8
jb 0x4277be
mov ecx, dword [ebp - 0xc50]
push ecx
call fcn.00435bb0
add esp, 4
xor edx, edx
mov dword [ebp - 0xc40], edi
mov dword [ebp - 0xc3c], 7
mov word [ebp - 0xc50], dx
mov dword [0x476300], ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00435bbb
mov esp, ebp
pop ebp
ret