Function at 0x4095f0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4986f9
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4ba110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0xd8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
je 0x409918
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [ebp - 0x2c]
push eax
call edx
lea esi, [ebx + 0xe4]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040b1e0
mov edi, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], edi
jb 0x409672
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00473515
add esp, 4
push 6
push str.Games_
mov ecx, esi
call fcn.0040b810
cmp dword [esi + 0x14], edi
jb 0x409689
mov eax, dword [esi]
jmp 0x40968b
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x4096ad
cmp dword [esi + 0x14], edi
jb 0x4096a0
mov eax, dword [esi]
jmp 0x4096a2
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebx + 0xc8]
push eax
lea edi, [ebp - 0x84]
mov dword [ebp - 0x84], 0x2f
call fcn.0040b4e0
cmp eax, 0xffffffff
je 0x409918
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebx + 0xc8]
call fcn.0040ab70
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0040b700
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x409711
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
push esi
lea edi, [ebp - 0x84]
mov dword [ebp - 0x84], 0x2d
call fcn.0040b4e0
mov edi, eax
cmp edi, 0xffffffff
je 0x409918
push 4
xor eax, eax
push str.Site
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.0040b930
inc edi
push edi
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0040ab70
mov esi, eax
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebx + 0x120]
mov byte [ebp - 4], 3
call fcn.0040b010
mov ecx, esi
lea esi, [ebp - 0x64]
call fcn.0040cc10
lea esi, [ebx + 0x100]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0040b1e0
mov edi, 8
cmp dword [ebp - 0x50], edi
jb 0x4097b2
mov eax, dword [ebp - 0x64]
push eax
call fcn.00473515
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x18], edi
jb 0x4097d7
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x409803
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00473515
add esp, 4
cmp dword [esi + 0x14], edi
jb 0x40980a
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
mov byte [ebx + 0x11c], al
mov byte [ebx + 0x11d], al
test al, al
jne 0x409918
push str.gamestartdownload
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
lea edx, [ebp - 0x2c]
push edx
mov ecx, ebx
mov dword [ebp - 4], 5
call fcn.00408f60
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ab10
cmp dword [ebx + 0xdc], edi
lea eax, [ebx + 0xc8]
jb 0x409869
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x84]
call fcn.004010e0
lea eax, [ebx + 0xe4]
mov dword [ebp - 4], 6
cmp dword [eax + 0x14], edi
jb 0x409889
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x88]
call fcn.004010e0
lea eax, [ebx + 4]
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], edi
jb 0x4098a3
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
push eax
call fcn.004010e0
mov byte [ebp - 4], 8
mov ecx, dword [ebx]
lea esi, [ebp - 0x80]
call fcn.0041a860
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], edi
jb 0x4098cb
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.004010e0
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x88]
push ecx
push edx
mov cl, 1
mov byte [ebp - 4], 0xa
call fcn.00417a20
lea ecx, [ebp - 0x80]
call fcn.0040ab10
lea ecx, [ebp - 0x88]
call fcn.00401940
lea ecx, [ebp - 0x84]
call fcn.00401940
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047421a
mov esp, ebp
pop ebp
ret 4