Function at 0x479260
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 0x50e3a5
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1ac0
call fcn.004d35a0
mov eax, dword [0x565040]
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 - 0x1ad0]
mov dword [eax], 1
call fcn.0041ec50
call fcn.0041c8c0
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x1ad0]
push eax
push esi
call fcn.0041ecd0
test al, al
jne 0x4792db
xor eax, eax
jmp 0x47954a
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x108e]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479300
sub ecx, edx
lea eax, [ebp - 0x108e]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00416e10
mov dword [ebp - 4], 0
cmp dword [ebp - 0x4c], 0
je 0x4793fa
cmp dword [ebp - 0x48], 7
lea edx, [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmova edx, dword [ebp - 0x5c]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x7c], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479360
sub ecx, dword [ebp - 0x7c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00416e10
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 1
cmova eax, dword [ebp - 0x2c]
push 0
push 0
push eax
push 0x521e94
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4793c0
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 1
cmova eax, dword [ebp - 0x2c]
push 0
push eax
push 0x521ea0
push 0x521e94
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4793fa
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4793f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47956a
push ecx
push edx
call fcn.004d2c11
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x44], ax
mov dword [ebp - 0x7c], vtable.GamePicDownloadInfo.0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
push esi
call fcn.00485350
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x188e]
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 0x479450
sub ecx, edx
lea eax, [ebp - 0x188e]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00416e10
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4794c5
cmp dword [ebp - 0x64], eax
je 0x4794c5
sub esp, 0x28
mov ecx, esp
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8SToolBoxDlg_SOUI__AEXH_ZPAV34_ABU___Ph__00_2__std__XH_std__.0
mov dword [ecx + 0xc], eax
mov al, byte [ebp - 0x75]
mov dword [ecx + 8], 0x479580
mov byte [ecx + 0x10], al
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x24], ecx
call fcn.0047e870
push esi
lea eax, [ebp - 0x74]
push eax
call fcn.0047f8f0
mov esi, 1
jmp 0x479502
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4794e0
push 0
push esi
jmp 0x4794e8
cmp esi, 1
jne 0x479500
push 0
push esi
push 0xfbb
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 1
jmp 0x479502
xor esi, esi
lea ecx, [ebp - 0x74]
call fcn.00415000
lea ecx, [ebp - 0x44]
call fcn.00415000
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x479548
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47953e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47956f
push ecx
push edx
call fcn.004d2c11
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.004d2bfe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004e23ec
call fcn.004e23ec
int3