Function at 0x614000
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x6df5eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
movss xmm0, dword [0x7389bc]
mov eax, dword [esp + 0xb0]
push ebx
push ebp
xor edx, edx
push esi
lea ebx, [esp + 0x2c]
push edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
movss dword [esp + 0x1c], xmm0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x2c], edx
mov word [esp + 0x30], dx
mov dword [esp + 0xb4], edx
cmp word [eax], dx
mov ebp, eax
mov dword [esp + 0x18], edx
je 0x614175
lea ecx, [ecx]
movzx ecx, word [ebp]
add ebp, 2
cmp ecx, 0xab
mov dword [esp + 0x20], ecx
jne 0x61419f
mov ecx, dword [0x80ed2c]
lea eax, [esp + 0x68]
push eax
push ecx
xor ecx, ecx
mov edx, ebp
call fcn.005c4e70
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
mov edi, dword [edx - 4]
mov edx, dword [ecx - 4]
mov ebx, dword [ecx - 8]
add edx, edi
lea eax, [ecx - 8]
lea esi, [edx + edx + 0x18]
and esi, 0xfffffff0
cmp esi, ebx
jle 0x614104
add ecx, 0xfffffff8
lea edx, [esp + 0x28]
cmp ecx, edx
push esi
jne 0x6140ed
call fcn.0062a380
add eax, 8
mov dword [esp + 0x28], eax
add eax, 0xfffffff8
push eax
mov eax, ebx
lea ecx, [esp + 0x30]
call fcn.00626020
mov eax, dword [esp + 0x2c]
add esp, 8
jmp 0x6140fd
push eax
call fcn.0062a3e0
add esp, 8
add eax, 8
mov dword [esp + 0x24], eax
mov dword [eax - 8], esi
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx - 4]
lea ecx, [ecx + edx*2]
push ecx
mov ecx, dword [esp + 0x6c]
lea eax, [edi + edi + 2]
call fcn.00626020
mov eax, dword [esp + 0x28]
add dword [eax - 4], edi
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx - 4]
add esp, 4
test eax, eax
jne 0x614140
mov dword [esp + 0x18], 1
jmp 0x614140
movzx eax, word [ebp]
add ebp, 2
cmp eax, 0xbb
jne 0x614140
lea edx, [ecx - 8]
lea eax, [esp + 0x6c]
cmp edx, eax
je 0x614165
add ecx, 0xfffffff8
push ecx
call fcn.0062a450
add esp, 4
xor edx, edx
mov ebx, dword [esp + 0x24]
cmp word [ebp], dx
jne 0x614070
cmp dword [0x80ed54], edx
mov esi, ebx
je 0x614245
cmp dword [0x940b38], edx
je 0x61422e
mov eax, dword [0x940b30]
sub eax, dword [0x940b28]
jmp 0x614233
cmp dword [esp + 0x18], edx
je 0x6141aa
cmp ecx, 0x20
je 0x61416b
mov esi, dword [ebx - 4]
mov edi, dword [ebx - 8]
lea eax, [ebx - 8]
lea esi, [esi + esi + 0x1a]
and esi, 0xfffffff0
cmp esi, edi
mov dword [esp + 0x18], edx
jle 0x61420f
add ebx, 0xfffffff8
lea ecx, [esp + 0x28]
cmp ebx, ecx
push esi
jne 0x6141f2
call fcn.0062a380
add eax, 8
mov dword [esp + 0x28], eax
add eax, 0xfffffff8
push eax
mov eax, edi
lea ecx, [esp + 0x30]
call fcn.00626020
mov eax, dword [esp + 0x2c]
add esp, 8
jmp 0x614202
push eax
call fcn.0062a3e0
add esp, 8
add eax, 8
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x20]
mov dword [eax - 8], esi
mov ebx, dword [esp + 0x24]
xor edx, edx
mov eax, dword [ebx - 4]
mov word [ebx + eax*2], cx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 4]
mov word [eax + ecx*2 + 2], dx
mov eax, dword [esp + 0x24]
inc dword [eax - 4]
jmp 0x614167
mov eax, dword [0x940b3c]
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x738b30]
movss dword [esp + 0x1c], xmm0
cmp ebx, edx
je 0x614378
cmp word [ebx], dx
je 0x61434c
jmp 0x614260
mov ebp, dword [esp + 0xc4]
cmp ebp, edx
je 0x61434c
movzx ecx, word [esi]
mov eax, ecx
and eax, 0xff00
add esi, 2
cmp eax, 0xff00
jne 0x61428c
add esi, 2
dec ebp
jmp 0x61433b
cmp ecx, 0xa
jne 0x6142ab
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
dec eax
cmp ecx, eax
jg 0x6142a2
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jmp 0x61433b
cmp ecx, 0xab
jne 0x6142e8
xor eax, eax
mov edx, esi
call fcn.005c4ce0
cmp eax, 6
je 0x6142d5
cmp eax, 5
je 0x6142d5
cmp eax, 7
je 0x6142d5
cmp eax, 0xffffffff
je 0x6142d5
add dword [esp + 0x10], 0x12
movzx eax, word [esi]
add esi, 2
cmp eax, 0xbb
jne 0x6142d5
mov ebx, dword [esp + 0x24]
jmp 0x614339
mov eax, dword [0x80ed54]
mov edi, dword [esp + 0xbc]
cmp eax, edx
mov eax, edi
je 0x61431a
call fcn.00614440
mov edx, dword [edi + 0x14]
lea ecx, [eax + eax*2]
movzx eax, word [edx + ecx*2 + 4]
cvtsi2ss xmm0, eax
mulss xmm0, dword [esp + 0x1c]
cvttss2si ecx, xmm0
jmp 0x61432a
call fcn.00614440
lea edx, [eax + eax*2]
mov eax, dword [edi + 0x14]
movzx ecx, word [eax + edx*2 + 4]
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x10], eax
xor edx, edx
dec ebp
cmp word [esi], dx
mov dword [esp + 0xc4], ebp
jne 0x614260
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
dec eax
cmp ecx, eax
jg 0x61435d
mov dword [esp + 0x14], eax
cmp ebx, edx
je 0x614378
lea edx, [ebx - 8]
lea eax, [esp + 0x28]
cmp edx, eax
je 0x614378
add ebx, 0xfffffff8
push ebx
call fcn.0062a450
add esp, 4
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 0xc