Function at 0x479d40
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 0x50fab5
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1ac0
call fcn.004d4ad0
mov eax, dword [0x567040]
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.0041f140
call fcn.0041cdc0
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x1ad0]
push eax
push esi
call fcn.0041f1c0
test al, al
jne 0x479dbb
xor eax, eax
jmp 0x47a02a
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 0x479de0
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 0x479eda
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 0x479e40
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 0x522f8c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x479ea0
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 1
cmova eax, dword [ebp - 0x2c]
push 0
push eax
push 0x522f98
push 0x522f8c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x479eda
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x479ed0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a04a
push ecx
push edx
call fcn.004d4141
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.00485e30
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 0x479f30
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 0x479fa5
cmp dword [ebp - 0x64], eax
je 0x479fa5
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], 0x47a060
mov byte [ecx + 0x10], al
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x24], ecx
call fcn.0047f350
push esi
lea eax, [ebp - 0x74]
push eax
call fcn.004803d0
mov esi, 1
jmp 0x479fe2
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 0x479fc0
push 0
push esi
jmp 0x479fc8
cmp esi, 1
jne 0x479fe0
push 0
push esi
push 0xfbb
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 1
jmp 0x479fe2
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 0x47a028
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47a01e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a04f
push ecx
push edx
call fcn.004d4141
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.004d412e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004e392c
call fcn.004e392c
int3