Function at 0x4c9190
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x522b3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov eax, dword [0x57373c]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov edx, dword [esi + 0x8e]
mov eax, 0x14
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov eax, 1
xor ecx, ecx
cmp word [edx + 0x2c], ax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0xa0
mov dword [esp + 0x30], 0x122
mov dword [esp + 0x34], 0x190
mov dword [esp + 0x38], 0x1fe
mov dword [esp + 0x40], 0x37
mov dword [esp + 0x44], 0x91
mov dword [esp + 0x48], 0x113
mov dword [esp + 0x4c], 0x177
mov dword [esp + 0x50], 0x1f4
mov dword [esp + 0x54], 0x217
mov dword [esp + 0x58], 0x271
mov dword [esp + 0x5c], 0x2f3
mov dword [esp + 0x60], 0x357
mov dword [esp + 0x64], 0x3bb
jne 0x4c9270
lea edx, [esp + 0x24]
mov dword [esp + 0x18], 5
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x20
jmp 0x4c928d
lea edx, [esp + 0x3c]
mov eax, 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], 0xa
mov dword [esp + 0xc], 0x10
mov edx, dword [esp + 0xa0]
cmp ax, cx
mov dword [esp + 0x20], edx
jle 0x4c9473
movsx eax, ax
push ebx
push ebp
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
xor ebx, ebx
mov ecx, dword [esp + 0x20]
lea edi, [ecx + ebx]
lea ecx, [esp + 0x10]
call fcn.004f3349
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
push ebx
push edx
lea ecx, [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esi + 0x52]
call fcn.00489ba0
mov edx, eax
mov eax, dword [edx]
push eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x80], ecx
mov ecx, 0x595e30
mov edx, dword [edx + 0xc]
mov dword [esp + 0x84], edx
call fcn.004044e0
push eax
lea ecx, [esp + 0x14]
call fcn.004f3547
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
movsx eax, di
mov ebp, dword [esp + 0xa8]
push 0
mov edi, dword [ecx + eax*4]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xa8]
push 0
push edx
push eax
push edi
push ebp
push ecx
mov ecx, esi
call fcn.004cbf50
test ebx, ebx
mov dword [esp + 0xac], eax
jne 0x4c938d
mov edx, dword [esi + 0x8e]
push 2
cmp word [edx + 0x2c], 1
jne 0x4c9371
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [ecx + edx*4]
jmp 0x4c9377
lea ecx, [edi + 0x1c2]
mov edx, dword [esp + 0xa8]
push ecx
add eax, 4
push edi
push eax
push ebp
push edx
mov ecx, esi
call fcn.004cbe20
mov eax, dword [esp + 0x18]
xor ebp, ebp
test eax, eax
jle 0x4c943e
lea ecx, [esp + 0x10]
call fcn.004f3349
test ebx, ebx
jne 0x4c93c7
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
add eax, ebp
movsx ecx, ax
inc ecx
push ecx
push 0x563178
push edx
call fcn.004f0a68
add esp, 0xc
jmp 0x4c9401
mov ecx, dword [esi + 0x52]
lea eax, [ebp + 1]
push ebx
push eax
call fcn.004889c0
test eax, eax
je 0x4c93f3
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [ecx + ebp]
mov ecx, dword [esi + 0x52]
movsx edx, ax
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00488470
jmp 0x4c9401
push 0x53b670
lea ecx, [esp + 0x14]
call fcn.004f3547
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
push 0
push 1
push ecx
mov ecx, dword [esp + 0xb0]
push edx
push edi
push eax
push ecx
mov ecx, esi
call fcn.004cbf50
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x4c939b
inc ebx
cmp ebx, 5
jl 0x4c92b5
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
add edx, 5
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
add ecx, edx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
jne 0x4c92b3
pop edi
pop ebp
pop ebx
lea ecx, [esp + 4]
mov dword [esp + 0x90], 0xffffffff
call fcn.004f33be
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0xa0]
pop esi
mov dword fs:[0], ecx
add esp, 0x90
ret 0x14