Function at 0x476bb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525510
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.004457d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
lea ecx, [ebp - 0x20]
call fcn.00427e80
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00427f00
mov byte [ebp - 4], 2
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0044f4a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004458f0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0046b0d0
mov ecx, eax
call fcn.00416e80
movzx eax, al
test eax, eax
je 0x476c53
jmp 0x476c90
lea ecx, [ebp - 0x1c]
call fcn.004f1cd0
mov ecx, dword [eax + 4]
add ecx, 4
push ecx
lea ecx, [ebp - 0x10]
call fcn.00418990
lea ecx, [ebp - 0x1c]
call fcn.004f1cd0
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0046ade0
push eax
mov ecx, dword [ebp + 8]
call fcn.00476700
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00427eb0
cmp dword [ebp + 0x10], 3
je 0x476cac
cmp dword [ebp + 0x10], 4
jne 0x476d6d
cmp dword [ebp + 0x10], 4
jne 0x476d06
mov edx, dword [ebp + 8]
add edx, 0xe4
push edx
lea ecx, [ebp - 0x24]
call fcn.00427e80
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.00427f00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0xc4
call fcn.004459a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.004458f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00427eb0
mov eax, dword [ebp + 8]
add eax, 0x158
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [ebp - 0x10]
call fcn.00445980
movzx ecx, al
test ecx, ecx
jne 0x476d68
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00418970
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 5
call fcn.00427ed0
mov byte [ebp - 4], 0
mov ecx, eax
call fcn.00491960
mov dword [ebp - 0x14], 1
jmp 0x476edf
cmp dword [ebp + 0x10], 5
je 0x476d7d
cmp dword [ebp + 0x10], 6
jne 0x476ec9
cmp dword [ebp + 0x10], 6
jne 0x476e79
mov ecx, dword [ebp + 8]
add ecx, 0xe4
push ecx
lea ecx, [ebp - 0x30]
call fcn.00427e80
mov byte [ebp - 4], 6
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x58]
call fcn.00427f00
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0xc4
call fcn.00478c20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.004458f0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc4
call fcn.0046b0d0
mov ecx, eax
call fcn.00416b70
movzx ecx, al
test ecx, ecx
je 0x476e19
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x68]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc4
call fcn.004783e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00427eb0
mov ecx, dword [ebp + 8]
add ecx, 0xa8
push ecx
lea ecx, [ebp - 0x34]
call fcn.00427e80
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x74]
call fcn.00427f00
mov byte [ebp - 4], 9
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x88
call fcn.004459a0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.004458f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00427eb0
lea ecx, [ebp - 0x10]
call fcn.00445980
movzx edx, al
test edx, edx
jne 0x476ec7
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea eax, [ebp - 0x10]
push eax
call fcn.00418970
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 0xa
call fcn.00427ed0
mov byte [ebp - 4], 0
mov ecx, eax
call fcn.00491a20
mov dword [ebp - 0x14], 1
jmp 0x476edf
cmp dword [ebp + 0x10], 2
jne 0x476ed8
mov dword [ebp - 0x14], 1
jmp 0x476edf
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x88], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004458f0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14