Function at 0x49a4e0
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 0x511f43
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1420
call fcn.004d3aa0
mov eax, dword [0x566040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1424], ecx
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 0xc]
push 0x800
push 0
mov dword [eax], 1
lea eax, [ebp - 0x1420]
push eax
call fcn.004d7f00
add esp, 0xc
lea eax, [ebp - 0xc20]
push 0x800
push 0
push eax
call fcn.004d7f00
add esp, 0xc
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
call fcn.0041c830
lea eax, [ebp - 0x1420]
push eax
push esi
call dword [0x5713c4]
add esp, 8
cmp dword [ebp - 0x41c], 0
jne 0x49a59d
xor eax, eax
jmp 0x49a8fc
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x1420]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49a5c0
sub ecx, edx
lea eax, [ebp - 0x1420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00416cf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc20]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49a604
sub ecx, edx
lea eax, [ebp - 0xc20]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00416cf0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x44]
je 0x49a88f
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x49a88f
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
mov dword [ebp - method.GamePicDownloadInfo.virtual_0], vtable.GamePicDownloadInfo.0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
push esi
call fcn.00485f50
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49a68f
xor esi, esi
jmp 0x49a83c
push str.LAYOUT:XML_DLG_STARTUP_ACTIVITIES
lea ecx, [ebp - 0x418]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SHostDialog::constructor_wchar_t_const__]
mov dword [ebp - method.SOUI::SDropDownWnd2.2.virtual_0], 0x52eb3c
mov dword [ebp - 0x414], 0x52ea3c
mov dword [ebp - method.SOUI::SQrCtrl.virtual_0], 0x52ea24
mov dword [ebp - method.SOUI::SQrCtrl.1.virtual_0], 0x52ea10
mov dword [ebp - 0x1dc], 0x52ea2c
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x418]
mov eax, dword [ebp - 0x1424]
push dword [eax + 0x248]
call fcn.00470f70
cmp eax, 1
je 0x49a6fc
xor esi, esi
jmp 0x49a7fe
sub esp, 0x18
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
mov esi, esp
xorps xmm0, xmm0
cmova eax, dword [ebp - 0x44]
mov dword [ebp - 0x1428], eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp edi, 0x7ffffffe
ja 0x49a91c
cmp edi, 7
ja 0x49a749
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x49a7a0
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49a75c
mov eax, 0x7ffffffe
jmp 0x49a766
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x1424], eax
lea eax, [ebp - 0x1424]
push eax
push esi
call fcn.00416ef0
mov ecx, eax
mov dword [esi + 0x10], edi
mov eax, dword [ebp - 0x1424]
mov dword [esi + 0x14], eax
lea eax, [edi*2 + 2]
push eax
push dword [ebp - 0x1428]
mov dword [esi], ecx
push ecx
call fcn.004d7980
add esp, 0x14
mov dl, 1
lea ecx, [ebp - 0x5c]
call fcn.004a52a0
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebp - 0x5c]
add esp, 0x18
cmp dword [ebp - 0x48], 7
cmova eax, dword [ebp - 0x5c]
push 1
push 0
push 0
push eax
push 0x521f8c
push 0
call esi
cmp eax, 0x20
ja 0x49a7f1
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x5c]
push 1
cmova eax, dword [ebp - 0x5c]
push 0
push eax
push 0x521f98
push 0x521f8c
push 0
call esi
lea ecx, [ebp - 0x5c]
mov esi, 1
call fcn.00414f60
lea ecx, [ebp - 0x418]
mov dword [ebp - method.SOUI::SDropDownWnd2.2.virtual_0], vtable.SOUI::SMaskDialog.4.0
mov dword [ebp - method.SOUI::SMaskDialog.2.virtual_0], vtable.SOUI::SMaskDialog.2.0
mov dword [ebp - method.SOUI::SQrCtrl.virtual_0], vtable.SOUI::SMaskDialog.0
mov dword [ebp - method.SOUI::SQrCtrl.1.virtual_0], vtable.SOUI::SMaskDialog.1.0
mov dword [ebp - method.SOUI::SMaskDialog.3.virtual_0], vtable.SOUI::SMaskDialog.3.0
call dword [sym.imp.soui.dll_public_virtual:_void___thiscall_SOUI::SHostDialog::destructor_void_]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x49a876
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49a86c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49a921
push ecx
push edx
call fcn.004d3111
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x49a891
xor esi, esi
mov eax, dword [ebp - 0x30]
cmp eax, 7
jbe 0x49a8c4
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49a8ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49a921
push ecx
push edx
call fcn.004d3111
add esp, 8
mov ecx, dword [ebp - 0x60]
cmp ecx, 7
jbe 0x49a8fa
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49a8f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49a921
push ecx
push edx
call fcn.004d3111
add esp, 8
mov eax, esi
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.004d30fe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.00401610
call fcn.004e2a5c
int3