Function at 0x4c8fc0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56af7d
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x3ab8
call fcn.0052bda0
mov eax, dword [0x5ef300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x3ac8]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x68c], esi
mov dword [eax], 1
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x690], eax
call fcn.00426e80
call fcn.0041f660
lea eax, [ebp - 0x3ac8]
push eax
push dword [ebx + 0x10]
push esi
call fcn.00426f60
test al, al
je 0x4c9835
mov eax, dword [ebp - 0x3ac0]
test eax, eax
jle 0x4c9835
cmp eax, 1
jne 0x4c913f
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x38bc]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c9080
sub ecx, edx
lea eax, [ebp - 0x38bc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00419c10
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x4c90f2
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmova eax, dword [ebp - 0x30]
push 1
push 0
push 0
push eax
push str.open
push 0
call esi
cmp eax, 0x20
ja 0x4c90f7
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 1
cmova eax, dword [ebp - 0x30]
push 0
push eax
push str.iexplore.exe
push str.open
push 0
call esi
jmp 0x4c90f7
call fcn.004ba9c0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x4c952c
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c912b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c9857
push ecx
push edx
call fcn.0052b438
add esp, 8
mov eax, 1
jmp 0x4c9837
cmp eax, 2
je 0x4c952c
cmp eax, 3
jne 0x4c91e3
call fcn.0043c570
mov esi, eax
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x4c9186
push 0x7c
call fcn.0052b408
mov dword [ebp - 0x694], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0043bf60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 4], ecx
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x68c]
push eax
lea eax, [edi + 0x1c]
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call fcn.004d74e0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4c952c
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c952c
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x4c91d3
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
mov eax, 1
jmp 0x4c9837
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, 1
jmp 0x4c9837
cmp eax, 4
jne 0x4c94b9
push str.LAYOUT:XML_DLG_WIKIPEDIA
lea ecx, [ebp - 0x370]
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SHostDialog::constructor_wchar_t_const__]
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 4], 2
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x30ba]
mov dword [ebp - 0x80], eax
xor eax, eax
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov byte [ebp - 0x94], 0
mov dword [ebp - 0x90], 0x64
mov dword [ebp - method.SOUI::SAreaNodeModeDlg.1.virtual_0], vtable.SOUI::SWikipediaDlg.1.0
mov dword [ebp - method.SOUI::SMaskDialog.virtual_0], vtable.SOUI::SWikipediaDlg.0
mov dword [ebp - method.SOUI::SAreaNodeModeDlg.2.virtual_0], vtable.SOUI::SWikipediaDlg.4.0
mov dword [ebp - method.SOUI::SDropDownWnd2.1.virtual_0], vtable.SOUI::SWikipediaDlg.2.0
mov dword [ebp - method.SOUI::SDropDownWnd2.virtual_0], vtable.SOUI::SWikipediaDlg.3.0
mov dword [ebp - 0xa0], vtable.SOUI::SWikipediaDlg.5.0
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x78], ax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 3
push 0x2c
movups xmmword [ebp - 0x5c], xmm0
call fcn.0052b408
mov dword [ebp - 0x694], eax
add esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0xa
mov dword [eax], vtable.SOUI::TObjRefImpl_class_SOUI::LvAdatperImpl_struct_SOUI::ILvAdapter__.0
mov dword [eax + 0x1c], 1
mov dword [eax], vtable.SOUI::SWikipediaHelpAdapter.0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 4
lea eax, [ebp - 0x370]
push dword [edi + 0x1c]
push eax
call fcn.00490450
cmp eax, 1
je 0x4c932e
xor esi, esi
jmp 0x4c9415
mov esi, dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_wchar_t_const__]
lea ecx, [ebp - 0x20]
push str._string_common_box_main_wikipedia_tip
call esi
push str._string_common_box_main_wikipedia_content
lea ecx, [ebp - 0x6a4]
mov byte [ebp - 4], 5
call esi
sub esp, 8
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x694], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x68c], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x690], esp
push 0x58242c
call esi
push 0
push 2
sub esp, 8
mov byte [ebp - 4], 9
mov eax, esp
mov dword [ebp - 0x698], esp
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.soui4.dll_public:_static_class_SOUI::SUiDef____cdecl_SOUI::SSingleton2_class_SOUI::SUiDef_::getSingletonPtr_void_]
mov esi, dword [sym.imp.soui4.dll_public:_class_SOUI::SStringW___thiscall_SOUI::SUiDef::GetString_class_SOUI::SStringW_const__]
mov ecx, eax
call esi
sub esp, 8
mov byte [ebp - 4], 0xa
mov eax, esp
lea ecx, [ebp - 0x6a4]
push ecx
push eax
call dword [sym.imp.soui4.dll_public:_static_class_SOUI::SUiDef____cdecl_SOUI::SSingleton2_class_SOUI::SUiDef_::getSingletonPtr_void_]
mov ecx, eax
call esi
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 6
call fcn.00491130
mov esi, dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::destructor_void_]
lea ecx, [ebp - 0x6a4]
call esi
lea ecx, [ebp - 0x20]
call esi
push dword [edi + 0x1c]
lea eax, [ebp - 0x688]
push eax
call fcn.00490450
lea ecx, [ebp - 0x688]
mov esi, 1
call fcn.004912b0
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - method.SOUI::SAreaNodeModeDlg.1.virtual_0], vtable.SOUI::SWikipediaDlg.1.0
mov dword [ebp - method.SOUI::SMaskDialog.virtual_0], vtable.SOUI::SWikipediaDlg.0
mov dword [ebp - method.SOUI::SAreaNodeModeDlg.2.virtual_0], vtable.SOUI::SWikipediaDlg.4.0
mov dword [ebp - method.SOUI::SDropDownWnd2.1.virtual_0], vtable.SOUI::SWikipediaDlg.2.0
mov dword [ebp - method.SOUI::SDropDownWnd2.virtual_0], vtable.SOUI::SWikipediaDlg.3.0
mov dword [ebp - 0xa0], vtable.SOUI::SWikipediaDlg.5.0
test ecx, ecx
je 0x4c946c
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x74]
call fcn.004179b0
lea ecx, [ebp - 0x370]
mov dword [ebp - method.SOUI::SAreaNodeModeDlg.1.virtual_0], vtable.SOUI::SMaskDialog.4.0
mov dword [ebp - method.SOUI::SMaskDialog.virtual_0], vtable.SOUI::SMaskDialog.0
mov dword [ebp - method.SOUI::SAreaNodeModeDlg.2.virtual_0], vtable.SOUI::SMaskDialog.1.0
mov dword [ebp - method.SOUI::SDropDownWnd2.1.virtual_0], vtable.SOUI::SMaskDialog.3.0
mov dword [ebp - method.SOUI::SDropDownWnd2.virtual_0], vtable.SOUI::SMaskDialog.2.0
call dword [sym.imp.soui4.dll_public_virtual:_void___thiscall_SOUI::SHostDialog::destructor_void_]
mov eax, esi
jmp 0x4c9837
cmp eax, 5
jne 0x4c9536
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x38bc]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c94e0
sub ecx, edx
lea eax, [ebp - 0x38bc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00419c10
cmp dword [ebp - 0x20], 0
je 0x4c9524
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 1
cmova eax, dword [ebp - 0x30]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
call fcn.004179b0
mov eax, 1
jmp 0x4c9837
cmp eax, 6
jne 0x4c962c
push str.LAYOUT:XML_DLG_LOL_SINICIZATION
lea ecx, [ebp - 0x668]
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SHostDialog::constructor_wchar_t_const__]
push dword [edi + 0x1c]
lea eax, [ebp - 0x668]
mov dword [ebp - 0x394], 0
push eax
mov dword [ebp - 0x390], 0
mov byte [ebp - 0x38c], 0
mov dword [ebp - 0x388], 0x64
mov dword [ebp - method.SOUI::SAreaNodeModeDlg.1.virtual_0], 0x5a31a8
mov dword [ebp - method.SOUI::SMaskDialog.virtual_0], 0x5a3404
mov dword [ebp - method.SOUI::SAreaNodeModeDlg.2.virtual_0], 0x5a32f4
mov dword [ebp - method.SOUI::SDropDownWnd2.1.virtual_0], 0x5a3574
mov dword [ebp - method.SOUI::SDropDownWnd2.virtual_0], 0x5a33fc
mov dword [ebp - fcn.00417410], vtable.SOUI::SLolSinicizationDlg.0
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x380], esi
call fcn.00490450
lea ecx, [ebp - 0x668]
mov dword [ebp - fcn.00417410], vtable.SOUI::SLolSinicizationDlg.0
mov dword [ebp - method.SOUI::SAreaNodeModeDlg.1.virtual_0], vtable.SOUI::SMaskDialog.4.0
mov dword [ebp - method.SOUI::SMaskDialog.virtual_0], vtable.SOUI::SMaskDialog.0
mov dword [ebp - method.SOUI::SAreaNodeModeDlg.2.virtual_0], vtable.SOUI::SMaskDialog.1.0
mov dword [ebp - method.SOUI::SDropDownWnd2.1.virtual_0], vtable.SOUI::SMaskDialog.3.0
mov dword [ebp - method.SOUI::SDropDownWnd2.virtual_0], vtable.SOUI::SMaskDialog.2.0
call dword [sym.imp.soui4.dll_public_virtual:_void___thiscall_SOUI::SHostDialog::destructor_void_]
mov eax, 1
jmp 0x4c9837
cmp eax, 7
jne 0x4c9650
push 0
push 0x258
push 0x7f8
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x4c9837
mov eax, dword [ebp - 0xeb2]
cmp eax, 1
jne 0x4c96ae
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xeae]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c9680
sub ecx, edx
lea eax, [ebp - 0xeae]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00419c10
cmp dword [ebp - 0x20], 0
je 0x4c90f7
jmp 0x4c90ac
cmp eax, 2
je 0x4c96bc
cmp eax, 3
jne 0x4c952c
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0xeae]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c96e0
sub ecx, edx
lea eax, [ebp - 0xeae]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00419c10
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x20], 0
jne 0x4c9713
xor esi, esi
jmp 0x4c97fb
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 7
movups xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x48], ax
mov dword [ebp - method.GamePicDownloadInfo.virtual_0], vtable.GamePicDownloadInfo.0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xe
push eax
push dword [ebx + 0x10]
push esi
call fcn.004b09b0
cmp dword [ebp - 0x34], 7
lea eax, [ebp - 0x48]
cmova eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c979a
sub esp, 0x28
mov ecx, esp
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CMainDlg_SOUI__AEXHH_ZPAV34_ABU___Ph__00_2_ABU___Ph__01_2__std__XHH_std__.0
mov dword [ecx + 0xc], eax
mov al, byte [ebp - 0x20]
mov dword [ecx + 8], 0x4d1c80
mov byte [ecx + 0x10], al
mov al, byte [ebp - 0x1f]
mov byte [ecx + 0x11], al
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x24], ecx
call fcn.004aa2c0
push dword [ebx + 0x10]
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.004abc30
jmp 0x4c97ac
push dword [ebx + 0x10]
push esi
push 0x8b4
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x34]
mov esi, 1
cmp ecx, 7
jbe 0x4c97e7
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c97dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c9857
push ecx
push edx
call fcn.0052b438
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x4c9831
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c9827
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c9857
push ecx
push edx
call fcn.0052b438
add esp, 8
mov eax, esi
jmp 0x4c9837
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052b3fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0053775e
int3