Function at 0x4f1630
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbc69
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push esi
mov eax, dword [0x544af0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp - 0xe0]
call fcn.004efcb0
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x388], al
mov edx, dword [ebp - 0xe0]
movzx eax, byte [edx + 0x388]
test eax, eax
je 0x4f17dc
cmp dword [0x549e08], 0
je 0x4f16b9
push 0
push 0
push 0x464
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4f17d7
push 0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x3a4]
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x3a4]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0xc8]
call eax
push 1
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x3a8]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x3a8]
mov edx, dword [edx]
mov eax, dword [edx + 0xc8]
call eax
push 2
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x3a8]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x3a8]
add ecx, 0x3ac
mov edx, dword [edx + 0x3ac]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4f1792
push 0x15e
push 0x244
push 0x13e
push 0x1e0
lea ecx, [ebp - 0x7c]
call fcn.00486700
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x68], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x64], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x60], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x68]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x64]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x60]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x34]
call eax
push 3
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x3a8]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x3a8]
add ecx, 0x3ac
mov edx, dword [edx + 0x3ac]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4f17d7
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc8]
call eax
jmp 0x4f2218
mov ecx, 0x549f70
call fcn.00404ce0
movzx ecx, al
test ecx, ecx
jne 0x4f1801
push 0x549f70
mov ecx, 0x549d9c
call fcn.004032c0
jmp 0x4f1a53
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x51714c
call fcn.00403ca0
mov dword [ebp - 0xe4], eax
lea edx, [ebp - 0x84]
push edx
call fcn.004d7880
add esp, 8
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xec]
push ecx
mov ecx, 0x549d9c
call fcn.004032c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.004079a0
push str.iQIYI
push str.iQiyi
mov ecx, 0x549d9c
call fcn.00404670
push 0x549d9c
lea ecx, [ebp - 0x1c]
call fcn.00402580
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401060
mov ecx, 0x549d9c
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4f18bf
push 0
push str.iqiyi_video
lea ecx, [ebp - 0x1c]
call fcn.00404850
cmp eax, 0xffffffff
jne 0x4f19f5
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push str.ppsinstallpath
call fcn.00403ca0
mov dword [ebp - 0xf0], eax
lea edx, [ebp - 0x24]
push edx
call fcn.004d7880
add esp, 8
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 2
push 0x5171b8
lea ecx, [ebp - 0x24]
call fcn.00404920
lea ecx, [ebp - 0x24]
call fcn.00403780
mov esi, eax
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.004048d0
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.004049d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00404ce0
movzx ecx, al
test ecx, ecx
jne 0x4f19a6
push 0x5171bc
lea ecx, [ebp - 0x20]
call fcn.00404610
test eax, eax
jne 0x4f19a6
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.004048d0
push eax
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x24]
call fcn.00404a60
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xfc]
push ecx
mov ecx, 0x549d9c
call fcn.004032c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.004079a0
push str.PStyle
mov ecx, 0x549d9c
call fcn.004045f0
jmp 0x4f19dd
push 0
push 0x26
push 0x104
mov ecx, 0x549d9c
call fcn.00403a50
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
mov ecx, 0x549d9c
call fcn.00406880
push 0x5171dc
mov ecx, 0x549d9c
call fcn.004045f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004079a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004079a0
push 0x517204
mov ecx, 0x549d9c
call fcn.00404920
push 0x13
lea edx, [ebp - 0x18]
push edx
mov ecx, 0x549d9c
call fcn.004049d0
mov byte [ebp - 4], 5
push 0x517208
lea ecx, [ebp - 0x18]
call fcn.00404610
test eax, eax
je 0x4f1a38
push str.IQIYI_VideoPStyle
mov ecx, 0x549d9c
call fcn.004045f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004079a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004079a0
push 0x517258
mov ecx, 0x549d9c
call fcn.00404920
push 0x549d9c
mov ecx, dword [ebp - 0xe0]
add ecx, 0x384
call fcn.004032c0
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x398], 0
je 0x4f1e86
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
jmp 0x4f1aa4
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 4
jge 0x4f1e34
lea ecx, [ebp - 0x30]
call fcn.004032e0
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x2c]
add edx, 1
push edx
push 0x51725c
lea eax, [ebp - 0x30]
push eax
call fcn.00404050
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.004032e0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
add ecx, 1
push ecx
push str.softcheck_d
lea edx, [ebp - 0x34]
push edx
call fcn.00404050
add esp, 0xc
push 0x51728c
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
lea eax, [ebp - 0x34]
push eax
call fcn.00402580
mov dword [ebp - 0x100], eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.004d7880
add esp, 8
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
push eax
call fcn.00404c60
add esp, 8
mov byte [ebp - 0x8d], al
lea ecx, [ebp - 0x98]
call fcn.004079a0
movzx ecx, byte [ebp - 0x8d]
test ecx, ecx
je 0x4f1e14
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea edx, [ebp - 0x30]
push edx
call fcn.00402580
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004d7880
add esp, 8
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.00404ce0
movzx ecx, al
test ecx, ecx
jne 0x4f1e08
push 0x820
call fcn.00496f58
add esp, 4
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0xa4], 0
je 0x4f1bda
mov ecx, dword [ebp - 0xa4]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::COptionUI::constructor_void_
mov dword [ebp - 0x114], eax
jmp 0x4f1be4
mov dword [ebp - 0x114], 0
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4f1dd9
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x398]
mov ecx, dword [ebp - 0xe0]
mov ecx, dword [ecx + 0x398]
add ecx, 0x3ac
mov edx, dword [eax + 0x3ac]
mov eax, dword [edx + 0x10]
call eax
push 0x517290
mov ecx, dword [ebp - 0x3c]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CButtonUI::SetNormalImage_wchar_t_const__
push str.filecheck_normal.png_dest0_0_14_14
mov ecx, dword [ebp - 0x3c]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CButtonUI::SetHotImage_wchar_t_const__
push str.filechecked_normal.png_dest0_0_14_14
mov ecx, dword [ebp - 0x3c]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::COptionUI::SetSelectedImage_wchar_t_const__
push 0
lea ecx, [ebp - 0x38]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0xe0]
add ecx, 0x1c
call sym.QiyiInstaller.exe_public:_struct_tagSIZE___thiscall_DuiLib::CPaintManagerUI::GetTextExtent_wchar_t_const___int_
mov edx, dword [ebp - 0x48]
add edx, 0x16
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x5c]
call eax
push 0xe
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x64]
call eax
push 0
push 0
push 0
push 0x16
lea ecx, [ebp - 0xc4]
call fcn.00486700
mov ecx, dword [eax]
mov dword [ebp - 0xb4], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xb0], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xac], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xa8], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0xb4]
mov dword [eax], ecx
mov edx, dword [ebp - 0xb0]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xac]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xa8]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x3c]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CLabelUI::SetTextPadding_struct_tagRECT_
push 0
mov ecx, dword [ebp - 0x3c]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CLabelUI::SetFont_int_
push 0xff666666
mov ecx, dword [ebp - 0x3c]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CLabelUI::SetTextColor_unsigned_long_int_
lea ecx, [ebp - 0x38]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x2c]
call eax
push 1
mov ecx, dword [ebp - 0x3c]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::COptionUI::Selected_bool_
push 0x404
call fcn.00496f58
add esp, 4
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xcc], 0
je 0x4f1d71
mov ecx, dword [ebp - 0xcc]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CHorizontalLayoutUI::constructor_void_
mov dword [ebp - 0x118], eax
jmp 0x4f1d7b
mov dword [ebp - 0x118], 0
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x4c], edx
push 0x32
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x5c]
call eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x398]
mov ecx, dword [ebp - 0xe0]
mov ecx, dword [ecx + 0x398]
add ecx, 0x3ac
mov edx, dword [eax + 0x3ac]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 3
jl 0x4f1e08
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.004079a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.004079a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004079a0
jmp 0x4f1e34
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.004079a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.004079a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004079a0
jmp 0x4f1a9b
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x398]
mov ecx, dword [ebp - 0xe0]
mov ecx, dword [ecx + 0x398]
add ecx, 0x3ac
mov edx, dword [eax + 0x3ac]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 1
jle 0x4f1e86
push 1
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x398]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x398]
mov edx, dword [edx]
mov eax, dword [edx + 0xc8]
call eax
mov ecx, dword [ebp - 0xe0]
add ecx, 0x384
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x390]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x390]
mov edx, dword [edx]
mov eax, dword [edx + 0x2c]
call eax
cmp dword [0x549e0c], 0
je 0x4f1fdf
push 0
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x3a4]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x3a4]
mov edx, dword [edx]
mov eax, dword [edx + 0xc8]
call eax
push 1
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x3ac]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x3ac]
mov edx, dword [edx]
mov eax, dword [edx + 0xc8]
call eax
push 0x517398
mov ecx, dword [ebp - 0xe0]
add ecx, 0x1c
call sym.QiyiInstaller.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x4f1f7e
push 0x5173b0
lea ecx, [ebp - 0x54]
call fcn.00403ca0
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x54]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x2c]
call eax
push 0
lea ecx, [ebp - 0x54]
call fcn.00404ca0
push eax
push 0x469
mov ecx, dword [0x549cc8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004079a0
push 0x5173d0
mov ecx, dword [ebp - 0xe0]
add ecx, 0x1c
call sym.QiyiInstaller.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x4f1fac
push str.ck_W
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax + 0x2c]
call edx
push 0x517420
mov ecx, dword [ebp - 0xe0]
add ecx, 0x1c
call sym.QiyiInstaller.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x4f1fda
push 0x517444
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x2c]
call eax
jmp 0x4f21f2
cmp dword [0x549e10], 0
je 0x4f2107
push 0
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x3a4]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x3a4]
mov edx, dword [edx]
mov eax, dword [edx + 0xc8]
call eax
push 1
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x3ac]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x3ac]
mov edx, dword [edx]
mov eax, dword [edx + 0xc8]
call eax
push str.Label_Title
mov ecx, dword [ebp - 0xe0]
add ecx, 0x1c
call sym.QiyiInstaller.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4f20a6
push 0x517468
lea ecx, [ebp - 0x5c]
call fcn.00403ca0
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x5c]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0x2c]
call eax
push 0
lea ecx, [ebp - 0x5c]
call fcn.00404ca0
push eax
push 0x469
mov ecx, dword [0x549cc8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004079a0
push str.Install_3_Prompt
mov ecx, dword [ebp - 0xe0]
add ecx, 0x1c
call sym.QiyiInstaller.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4f20d4
push str.ck_WGS
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x58]
mov edx, dword [eax + 0x2c]
call edx
push str.Install_4_Prompt
mov ecx, dword [ebp - 0xe0]
add ecx, 0x1c
call sym.QiyiInstaller.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4f2102
push 0x517504
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0x2c]
call eax
jmp 0x4f21f2
push ecx
mov esi, esp
mov dword [ebp - 0xd0], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
push str.realversion
call fcn.00403ca0
mov dword [ebp - 0x11c], eax
push esi
call fcn.004d7880
add esp, 8
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 4], 0xd
push ecx
mov esi, esp
mov dword [ebp - 0xd8], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xdc], esp
push str.app_version
call fcn.00403ca0
mov dword [ebp - 0x128], eax
push esi
call fcn.004d7880
add esp, 8
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edx
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x549cf8
call fcn.004eac30
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x4f21f2
push 0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x3a4]
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x3a4]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0xc8]
call eax
push 1
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x3a8]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x3a8]
mov edx, dword [edx]
mov eax, dword [edx + 0xc8]
call eax
cmp dword [0x549e08], 0
jne 0x4f220d
cmp dword [0x549e0c], 0
jne 0x4f220d
cmp dword [0x549e10], 0
je 0x4f2218
mov ecx, dword [ebp - 0xe0]
call fcn.004f1410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret