Function at 0x4b8a120
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4df92e6
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e7fde0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebp, ecx
fldz
mov eax, dword [esp + 0xe0]
fst dword [esp + 0x30]
xor ebx, ebx
cmp eax, ebx
fst dword [esp + 0x34]
fstp dword [esp + 0x38]
fld1
fstp dword [esp + 0x3c]
jne 0x4b8a18f
mov ecx, dword [0x4e83f60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x98]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0xe0]
push edx
call eax
jmp 0x4b8a1a3
fld dword [eax]
fstp dword [esp + 0x24]
fld dword [eax + 4]
fstp dword [esp + 0x28]
fld dword [eax + 8]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0xe4]
cmp eax, ebx
jne 0x4b8a1cd
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0xe0]
push eax
call edx
jmp 0x4b8a1e8
fld dword [eax]
fstp dword [esp + 0x30]
fld dword [eax + 4]
fstp dword [esp + 0x34]
fld dword [eax + 8]
fstp dword [esp + 0x38]
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
test byte [esp + 0xe8], 0x10
jne 0x4b8a3ef
mov ecx, dword [0x4e83f60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x98]
lea edx, [esp + 0x80]
push edx
mov edx, dword [ebp + 8]
push edx
call eax
fldz
fst dword [esp + 0xa4]
or eax, 0xffffffff
fst dword [esp + 0xa8]
mov dword [esp + 0xb4], ebx
fst dword [esp + 0xac]
mov dword [esp + 0xbc], ebx
fst dword [esp + 0x50]
mov dword [esp + 0xb8], ebx
fst dword [esp + 0x54]
mov dword [esp + 0xc4], ebx
fst dword [esp + 0x58]
mov dword [esp + 0xc0], ebx
fst dword [esp + 0x5c]
mov dword [esp + 0x6c], ebx
fst dword [esp + 0x60]
mov dword [esp + 0x74], eax
fst dword [esp + 0x64]
mov dword [esp + 0x70], eax
fstp dword [esp + 0x68]
mov dword [esp + 0x78], ebx
fld dword [esp + 0x24]
mov dword [esp + 0x7c], eax
fld dword [esp + 0x80]
mov dword [esp + 0xb0], 1
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x28]
fld dword [esp + 0x84]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x2c]
fld dword [esp + 0x88]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fld qword [0x4e55ff0]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x44]
fmul dword [esp + 0x18]
fstp dword [esp + 0x48]
fxch st(2)
fst dword [esp + 0x8c]
fxch st(1)
fst dword [esp + 0x90]
fxch st(2)
fst dword [esp + 0x94]
fld dword [esp + 0x40]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x44]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fadd dword [esp + 0x48]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fstp dword [esp + 0x98]
fld dword [esp + 0x20]
fstp dword [esp + 0x9c]
fld dword [esp + 0x1c]
fstp dword [esp + 0xa0]
mov eax, dword [0x4e83f60]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [eax + 0x64]
lea edx, [esp + 0x90]
push edx
call ecx
add esp, 8
test al, al
je 0x4b8a3ef
mov ecx, dword [0x4e7ffd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x70]
push ebx
push eax
call edx
mov eax, dword [esp + 0x18]
test eax, 0x2000
je 0x4b8a3ef
test al, 1
je 0x4b8a3ef
mov eax, dword [esp + 0x6c]
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx + 0x228]
push eax
call edx
add esp, 4
cmp eax, ebx
je 0x4b8a3ef
mov eax, dword [eax]
cmp eax, 1
je 0x4b8a3ef
cmp eax, 0xa
je 0x4b8a3ef
mov eax, dword [esp + 0x78]
push eax
call fcn.04c98b80
add esp, 4
cmp eax, ebx
je 0x4b8a3ef
cmp dword [eax + 0x470], ebx
je 0x4b8a3e8
mov ecx, dword [0x4e7ffd4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x6c]
mov edx, dword [edx + 4]
push eax
call edx
cmp eax, 0x56
jne 0x4b8a3ef
xor eax, eax
jmp 0x4b8a5e5
mov ecx, dword [0x4e7ffd0]
mov dword [esp + 0x14], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
lea edx, [esp + 0x14]
push edx
call eax
cmp eax, ebx
jne 0x4b8a41a
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
jmp 0x4b8a420
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push 0x10
push 0x2711
mov dword [esp + 0xd8], ebx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [esp + 0xd8]
mov edx, dword [edx + 0x38]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [esp + 0xe8]
mov eax, dword [eax + 0x24]
push 0x20
push edx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x24]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x30]
push edx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push 8
push ebx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push 8
push ebx
call eax
mov esi, dword [esp + 0xec]
cmp esi, ebx
push 1
jne 0x4b8a4b5
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push ebx
jmp 0x4b8a569
mov al, byte [esi]
mov edi, dword [esp + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 0x24]
xor ecx, ecx
cmp al, bl
setne cl
push ecx
mov ecx, edi
call edx
cmp byte [esi], bl
je 0x4b8a56b
fld dword [esi + 4]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x24]
push 0x20
push edx
call eax
fld dword [esi + 0x14]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x24]
push 0x20
push eax
call edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 0x20
push eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 0x20
push eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 0x20
push eax
mov eax, dword [edx + 0x24]
call eax
fld dword [esi + 0x18]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x24]
push 0x20
push eax
call edx
fld dword [esi + 0x1c]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x24]
push 0x20
push edx
call eax
mov eax, dword [ebp + 0x50]
xor esi, esi
cmp eax, ebx
je 0x4b8a57a
mov esi, dword [eax + 0x104]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
call fcn.04b863b0
mov edx, dword [ebp + 4]
mov ecx, dword [edx + 0x24]
mov eax, dword [eax]
mov edx, dword [esp + 0xdc]
cmp ecx, 1
sete cl
mov byte [esp + 0xd0], 1
push ecx
push eax
push edx
push esi
lea ecx, [ebp + 0x58]
call fcn.04ca6b90
mov ecx, dword [esp + 0x4c]
cmp ecx, ebx
mov esi, eax
mov byte [esp + 0xd0], bl
je 0x4b8a5c9
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov dword [esp + 0xd0], 0xffffffff
je 0x4b8a5e3
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, esi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0x18