Function at 0x418b70
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x475148
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x495278]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x495278]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x20], ecx
mov ecx, 9
mov esi, 0x48a150
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
mov byte [esp + 0x1b], 0
mov word [esp + 0x8c], 0x20
mov word [esp + 0x8e], 0x3a
mov word [esp + 0x90], 0x5c
mov word [esp + 0x92], 0
movsw word es:[edi], word [esi]
call dword [0x4790d0]
xor edi, edi
xor esi, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edi
or ebx, 0xffffffff
mov al, byte [esp + 0x1b]
test al, al
jne 0x418e1d
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x30]
test ecx, eax
je 0x418e09
lea eax, [esp + 0x8c]
lea edx, [edi + 0x41]
push eax
mov word [esp + 0x90], dx
call dword [0x4790d4]
cmp eax, 3
je 0x418c5d
cmp eax, 6
jne 0x418e09
push 0
push 0
push 3
push 0
push 7
lea ecx, [esi + 0x30]
push 0xc0000000
lea edx, [esp + 0xac]
add esi, 1
push edx
mov word [esp + 0xd2], cx
mov dword [esp + 0x40], esi
call dword [0x4792ac]
mov ebp, eax
cmp ebp, ebx
je 0x418e09
mov esi, dword [0x4790e0]
xor eax, eax
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x18
lea edx, [esp + 0x48]
push edx
push eax
push eax
push 0x74080
push ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call esi
test eax, eax
je 0x418dfe
push 0x221
call fcn.00455331
mov edi, eax
add esp, 4
test edi, edi
je 0x418dfa
push 0
lea eax, [esp + 0x30]
push eax
push 0x221
push edi
push 0x21
push edi
push 0x7c088
push ebp
mov byte [edi + 0xa], 0xec
mov dword [esp + 0x4c], 0
call esi
test eax, eax
je 0x418df1
mov eax, dword [edi]
lea esi, [edi + 0x10]
test esi, esi
je 0x418df1
cmp eax, 0x2e
jbe 0x418df1
lea ecx, [esp + 0x54]
push esi
push ecx
mov ecx, 0x13
lea edx, [ecx - 9]
call fcn.004185e0
add esp, 8
mov ecx, dword [esp + 0x38]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 0
call fcn.0040bed0
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.0040bc20
lea edx, [esp + 0x54]
push esi
mov ecx, 0x2e
push edx
lea edx, [ecx - 0x13]
call fcn.004185e0
add esp, 8
mov ecx, dword [esp + 0x20]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 1
call fcn.0040bed0
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.0040bc20
lea eax, [esp + 0x70]
mov ecx, 0x1a
push esi
push eax
lea edx, [ecx - 3]
call fcn.004185e0
add esp, 8
mov ecx, dword [esp + 0x34]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 2
call fcn.0040bed0
lea ecx, [esp + 0x70]
mov dword [esp + 0xcc], ebx
call fcn.0040bc20
mov byte [esp + 0x1b], 1
push edi
call fcn.004553f4
add esp, 4
mov edi, dword [esp + 0x1c]
push ebp
call dword [0x4792d0]
mov esi, dword [esp + 0x24]
add edi, 1
cmp edi, 0x20
mov dword [esp + 0x1c], edi
jl 0x418c15
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00454f15
add esp, 0xbc
ret