Function at 0x442980
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [0x614b80]
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 0x4429c8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0057943e
mov esp, ebp
pop ebp
ret 4
push 0x9c
xor edi, edi
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.0057ad60
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 0x442a18
push 0x94
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.0057ad60
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 0x442a3b
cmp dword [esp + 0x30], edi
jne 0x442a3b
cmp dword [esp + 0x34], 0x585d
jb 0x442a3b
mov dword [esp + 0x20], 1
cmp dword [ebx + 8], edi
je 0x442cf9
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.005684a2
add esp, 4
cmp esi, edi
mov dword [esp + 0x14], eax
jle 0x442a8e
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 0x442a75
xor ecx, ecx
mov eax, esi
mov edx, 0x30
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005684a2
add esp, 4
cmp esi, edi
mov dword [esp + 0x18], eax
jle 0x442ad5
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 0x442ab6
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 0x442ce2
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 0x442ce2
mov esi, dword [eax + 4]
cmp esi, edi
je 0x442ce2
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x442ce2
mov edx, dword [esp + 0x18]
fldz
mov ebx, dword [esp + 0x14]
fldz
fld qword [0x5dd010]
mov dword [esp + 0x1c], edx
add ebx, 0x10
jmp 0x442b44
fxch st(1)
cmp dword [esp + 0x20], edi
je 0x442b58
cmp dword [esp + 0x24], edi
jne 0x442b58
mov eax, dword [esp + 0x1c]
fild qword [eax]
jmp 0x442b5b
fild qword [ebx - 0x10]
mov edx, dword [ecx + 0x5f8]
fld st(0)
fxch st(1)
fstp qword [edx + 8]
fxch st(3)
fcom qword [edx + 0x10]
fnstsw ax
test ah, 5
jp 0x442b7e
fxch st(3)
fsub qword [edx + 0x10]
fstp dword [edx + 0x18]
jmp 0x442b80
fstp st(3)
fld qword [edx + 8]
fstp qword [edx + 0x10]
mov edx, dword [ecx + 0x5fc]
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 0x442bac
fxch st(3)
fsub qword [edx + 0x10]
fstp dword [edx + 0x18]
jmp 0x442bae
fstp st(3)
fld qword [edx + 8]
fstp qword [edx + 0x10]
mov edx, dword [ecx + 0x600]
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 0x442bd9
fxch st(3)
fsub qword [edx + 0x10]
fstp dword [edx + 0x18]
jmp 0x442bdb
fstp st(3)
fld qword [edx + 8]
fstp qword [edx + 0x10]
mov edx, dword [ecx + 0x5fc]
fxch st(1)
fcom dword [edx + 0x18]
fnstsw ax
test ah, 0x41
jp 0x442c4f
mov eax, dword [ecx + 0x600]
fcom dword [eax + 0x18]
fnstsw ax
test ah, 0x41
jp 0x442c4f
mov edx, dword [ecx + 0x5f8]
fcom dword [edx + 0x18]
fnstsw ax
test ah, 0x41
jp 0x442c4f
mov eax, dword [ecx + 0x600]
fld dword [eax + 0x18]
mov eax, dword [ecx + 0x5fc]
fadd dword [eax + 0x18]
fld dword [edx + 0x18]
fsubr st(1)
fmul st(3)
fxch st(1)
fadd qword [0x5a1348]
fdivp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x442c55
fxch st(1)
fst dword [esp + 0x10]
jmp 0x442c61
fst dword [esp + 0xc]
jmp 0x442c57
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 0x442c7f
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x442c8b
fst dword [esp + 0xc]
jmp 0x442c8b
fstp st(1)
fld dword [0x5a1340]
fstp dword [esp + 0xc]
mov ecx, dword [ecx + 0x66c]
cmp ecx, edi
je 0x442cb8
fstp st(2)
push 1
fstp st(1)
push ecx
fstp st(0)
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.0046cad0
fld qword [0x5dd010]
fldz
fldz
fxch st(2)
fxch st(1)
cmp esi, edi
je 0x442cca
mov eax, dword [esi + 8]
cmp eax, edi
je 0x442cca
mov ecx, dword [eax + 4]
mov esi, eax
jmp 0x442ccc
xor ecx, ecx
add dword [esp + 0x1c], 0x30
add ebx, 0x30
cmp ecx, edi
jne 0x442b42
fstp st(2)
fstp st(1)
fstp st(0)
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005684ad
mov edx, dword [esp + 0x18]
push edx
call fcn.005684ad
add esp, 8
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0057943e
mov esp, ebp
pop ebp
ret 4