Function at 0x40ee10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60b17f
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push ebx
sub esp, 0x1c
mov dword [esp + 0x70], ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x6124b0
mov dword [esp + 0x70], eax
call dword [0x610498]
lea esi, [esp + 0x90]
call fcn.004e2b20
mov edx, dword [ebp + 0x10]
push edx
sub esp, 0x1c
mov dword [esp + 0x158], ebx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x6117cc
call dword [0x610498]
call fcn.004e2f80
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x612368
call dword [0x610498]
call fcn.004e2f80
mov eax, dword [ebp + 8]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.gameid
call dword [0x610498]
call fcn.004e2f80
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.00407460
sub esp, 0x1c
mov byte [esp + 0x174], 1
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x612374
call dword [0x610498]
lea esi, [esp + 0xac]
mov byte [esp + 0x174], bl
call fcn.004e2e40
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 1
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 2
call fcn.004049e0
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x612394
call dword [0x610498]
call fcn.004e2f80
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push ecx
lea esi, [esp + 0x40]
call fcn.00404bb0
sub esp, 0x1c
mov byte [esp + 0x174], 3
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x612510
call dword [0x610498]
lea esi, [esp + 0xac]
mov byte [esp + 0x174], 2
call fcn.004e2e40
mov dword [esp + 0x10], ebx
mov dword [esp + 0x3c], 0x6124ac
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x138], 4
lea edi, [esp + 0x54]
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.004e30b0
push 0x84000000
lea edx, [esp + 0x1c]
push edx
push 9
lea esi, [esp + 0x48]
mov ecx, eax
mov byte [esp + 0x144], 5
call fcn.004e0200
add esp, 0xc
test al, al
mov ecx, edi
sete byte [esp + 0x17]
mov byte [esp + 0x138], 4
call dword [0x6105a0]
cmp byte [esp + 0x17], bl
je 0x40f027
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov esi, 0xe0003002
je 0x40f19f
push eax
call fcn.005e6a6c
add esp, 4
jmp 0x40f19f
lea eax, [esp + 0xac]
push eax
call fcn.004e5860
and dword [esp + 0x34], 0xfffffe00
mov dword [esp + 0x38], ebx
push ebx
mov byte [esp + 0x13c], 8
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ecx
lea eax, [esi + edx]
push eax
push esi
lea ecx, [esp + 0xbc]
push ecx
call fcn.004e58e0
test al, al
jne 0x40f0d1
lea eax, [esp + 0x2c]
mov byte [esp + 0x138], 6
call fcn.004e36b0
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x13c], 4
call fcn.0040f290
cmp esi, ebx
je 0x40f09f
push esi
call fcn.005e6a6c
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40f0b2
push eax
call dword [0x610040]
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.00498240
mov eax, 0xe0003006
jmp 0x40f269
mov al, byte [esp + 0x34]
cmp al, bl
je 0x40f142
cmp al, 6
je 0x40f142
cmp al, 7
je 0x40f142
lea eax, [esp + 0x2c]
mov byte [esp + 0x138], 6
call fcn.004e36b0
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x13c], 4
call fcn.0040f290
lea ecx, [esp + 0x3c]
call fcn.0040eb40
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40f123
push eax
call dword [0x610040]
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x13c], 0xffffffff
call fcn.00498240
mov eax, 0xe0003006
jmp 0x40f269
push 0x612524
lea ecx, [esp + 0x30]
call fcn.004e3f80
cmp eax, 0x66e328
jne 0x40f1ce
push str.recent
lea ecx, [esp + 0x30]
call fcn.004e3f80
cmp eax, 0x66e328
jne 0x40f1ce
lea eax, [esp + 0x2c]
mov byte [esp + 0x138], 6
call fcn.004e36b0
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0x13c], 4
call fcn.0040f290
lea ecx, [esp + 0x3c]
call fcn.0040eb40
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40f1b2
push eax
call dword [0x610040]
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x13c], 0xffffffff
call fcn.00498240
mov eax, esi
jmp 0x40f269
push 0x612524
lea edx, [esp + 0x30]
push edx
call fcn.004e3dd0
push eax
mov eax, dword [esp + 0x50]
push eax
call fcn.0040f300
mov edi, dword [esp + 0x58]
add esp, 8
cmp edi, ebx
je 0x40f20c
push str.recent
lea ecx, [esp + 0x30]
push ecx
call fcn.004e3dd0
push eax
push edi
call fcn.0040f300
add esp, 8
lea eax, [esp + 0x2c]
mov byte [esp + 0x138], 6
call fcn.004e36b0
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x13c], 4
call fcn.0040f290
cmp esi, ebx
je 0x40f23f
push esi
call fcn.005e6a6c
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40f252
push eax
call dword [0x610040]
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.00498240
xor eax, eax
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.005e693f
mov esp, ebp
pop ebp
ret