Function at 0x468d20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [0x6015a8]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
test dword [ebx + 0x20], 0x400
push esi
push edi
mov dword [esp + 0x10], eax
jne 0x468d68
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.00562d51
mov esp, ebp
pop ebp
ret 4
push 0x9c
xor edi, edi
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.005635a0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], 0x9c
call esi
test eax, eax
jne 0x468db8
push 0x94
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.005635a0
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], 0x94
call esi
cmp dword [esp + 0x2c], 0xa
mov dword [esp + 0x20], edi
jne 0x468ddb
cmp dword [esp + 0x30], edi
jne 0x468ddb
cmp dword [esp + 0x34], 0x585d
jb 0x468ddb
mov dword [esp + 0x20], 1
cmp dword [ebx + 8], edi
je 0x469099
mov edx, dword [ebx + 0x1138]
mov esi, dword [edx + 8]
xor ecx, ecx
mov eax, esi
mov edx, 0x30
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00551daf
add esp, 4
cmp esi, edi
mov dword [esp + 0x14], eax
jle 0x468e2e
add eax, 8
mov ecx, esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax - 8], edi
mov dword [eax - 4], edi
add eax, 0x30
sub ecx, 1
jne 0x468e15
xor ecx, ecx
mov eax, esi
mov edx, 0x30
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00551daf
add esp, 4
cmp esi, edi
mov dword [esp + 0x18], eax
jle 0x468e75
add eax, 0x10
mov ecx, esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax - 8], edi
mov dword [eax - 4], edi
mov dword [eax - 0x10], edi
mov dword [eax - 0xc], edi
add eax, 0x30
sub ecx, 1
jne 0x468e56
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
push edi
lea esi, [esi + esi*2]
shl esi, 4
push esi
push eax
push 8
call ecx
test eax, eax
jne 0x469082
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 8]
push edi
push esi
push edx
push 0x2a
call eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
cmp eax, edi
je 0x469082
mov esi, dword [eax + 4]
cmp esi, edi
je 0x469082
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x469082
mov edx, dword [esp + 0x18]
fldz
mov ebx, dword [esp + 0x14]
fldz
fld qword [0x5cae88]
mov dword [esp + 0x1c], edx
add ebx, 0x10
jmp 0x468ee4
fxch st(1)
cmp dword [esp + 0x20], edi
je 0x468ef8
cmp dword [esp + 0x24], edi
jne 0x468ef8
mov eax, dword [esp + 0x1c]
fild qword [eax]
jmp 0x468efb
fild qword [ebx - 0x10]
mov edx, dword [ecx + 0x5b4]
fld st(0)
fxch st(1)
fstp qword [edx + 8]
fxch st(3)
fcom qword [edx + 0x10]
fnstsw ax
test ah, 5
jp 0x468f1e
fxch st(3)
fsub qword [edx + 0x10]
fstp dword [edx + 0x18]
jmp 0x468f20
fstp st(3)
fld qword [edx + 8]
fstp qword [edx + 0x10]
mov edx, dword [ecx + 0x5b8]
fild qword [ebx - 8]
fld st(0)
fxch st(1)
fstp qword [edx + 8]
fxch st(3)
fcom qword [edx + 0x10]
fnstsw ax
test ah, 5
jp 0x468f4c
fxch st(3)
fsub qword [edx + 0x10]
fstp dword [edx + 0x18]
jmp 0x468f4e
fstp st(3)
fld qword [edx + 8]
fstp qword [edx + 0x10]
mov edx, dword [ecx + 0x5bc]
fild qword [ebx]
fld st(0)
fxch st(1)
fstp qword [edx + 8]
fxch st(3)
fcom qword [edx + 0x10]
fnstsw ax
test ah, 5
jp 0x468f79
fxch st(3)
fsub qword [edx + 0x10]
fstp dword [edx + 0x18]
jmp 0x468f7b
fstp st(3)
fld qword [edx + 8]
fstp qword [edx + 0x10]
mov edx, dword [ecx + 0x5b8]
fxch st(1)
fcom dword [edx + 0x18]
fnstsw ax
test ah, 0x41
jp 0x468fef
mov eax, dword [ecx + 0x5bc]
fcom dword [eax + 0x18]
fnstsw ax
test ah, 0x41
jp 0x468fef
mov edx, dword [ecx + 0x5b4]
fcom dword [edx + 0x18]
fnstsw ax
test ah, 0x41
jp 0x468fef
mov eax, dword [ecx + 0x5bc]
fld dword [eax + 0x18]
mov eax, dword [ecx + 0x5b8]
fadd dword [eax + 0x18]
fld dword [edx + 0x18]
fsubr st(1)
fmul st(3)
fxch st(1)
fadd qword [0x58f9e8]
fdivp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x468ff5
fxch st(1)
fst dword [esp + 0x10]
jmp 0x469001
fst dword [esp + 0xc]
jmp 0x468ff7
fstp st(0)
fld dword [esp + 0xc]
fst dword [esp + 0x10]
fxch st(1)
fld dword [esp + 0x10]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x46901f
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x46902b
fst dword [esp + 0xc]
jmp 0x46902b
fstp st(1)
fld dword [0x59160c]
fstp dword [esp + 0xc]
mov ecx, dword [ecx + 0x628]
cmp ecx, edi
je 0x469058
fstp st(2)
push 1
fstp st(1)
push ecx
fstp st(0)
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.0048ee00
fld qword [0x5cae88]
fldz
fldz
fxch st(2)
fxch st(1)
cmp esi, edi
je 0x46906a
mov eax, dword [esi + 8]
cmp eax, edi
je 0x46906a
mov ecx, dword [eax + 4]
mov esi, eax
jmp 0x46906c
xor ecx, ecx
add dword [esp + 0x1c], 0x30
add ebx, 0x30
cmp ecx, edi
jne 0x468ee2
fstp st(2)
fstp st(1)
fstp st(0)
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00551dba
mov edx, dword [esp + 0x18]
push edx
call fcn.00551dba
add esp, 8
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00562d51
mov esp, ebp
pop ebp
ret 4