Function at 0x101472c0
Capabilities:
Check os version

Disassembly:
sub esp, 0xc8
mov eax, dword [0x10206870]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xcc]
push ebx
push ebp
push esi
mov esi, ecx
test dword [esi + 0x20], 0x400
push edi
mov dword [esp + 0x18], eax
jne 0x101472f5
xor eax, eax
jmp 0x10147678
mov ecx, dword [esi + 4]
mov ebp, dword [ecx + 0x1c]
xor edi, edi
cmp ebp, edi
je 0x101472ee
push 0x9c
lea edx, [esp + 0x34]
push edi
push edx
call fcn.1003f7d0
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x9c
call ebx
test eax, eax
jne 0x1014734f
push 0x94
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.1003f7d0
add esp, 0xc
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], 0x94
call ebx
cmp dword [esp + 0x34], 0xa
mov dword [esp + 0x28], edi
jne 0x10147372
cmp dword [esp + 0x38], edi
jne 0x10147372
cmp dword [esp + 0x3c], 0x585d
jb 0x10147372
mov dword [esp + 0x28], 1
cmp dword [ebp + 0x7c], edi
je 0x10147673
mov eax, dword [esi + 0x1134]
mov esi, dword [eax + 8]
xor ecx, ecx
mov eax, esi
mov edx, 0x30
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003de3e
add esp, 4
cmp esi, edi
mov dword [esp + 0x1c], eax
jle 0x101473c9
add eax, 8
mov ecx, esi
lea esp, [esp]
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 0x101473b0
xor ecx, ecx
mov eax, esi
mov edx, 0x30
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003de3e
add esp, 4
cmp esi, edi
mov ebx, eax
mov dword [esp + 0x20], ebx
jle 0x10147412
lea eax, [ebx + 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 0x101473f3
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x7c]
push edi
lea esi, [esi + esi*2]
shl esi, 4
push esi
push eax
push 8
call ecx
test eax, eax
jne 0x10147660
mov edx, dword [ebp + 0x7c]
push edi
push esi
push ebx
push 0x2a
call edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp eax, edi
je 0x10147660
mov ebx, dword [eax + 4]
cmp ebx, edi
je 0x1014765c
mov ecx, dword [ebx + 4]
cmp ecx, edi
je 0x1014765c
mov edx, dword [esp + 0x20]
fldz
mov ebp, dword [esp + 0x1c]
fldz
mov dword [esp + 0x24], edx
add ebp, 0x10
fld qword [0x101f6c38]
cmp dword [esp + 0x28], edi
je 0x1014748d
cmp dword [esp + 0x2c], edi
jne 0x1014748d
mov eax, dword [esp + 0x24]
fild qword [eax]
jmp 0x10147490
fild qword [ebp - 0x10]
mov edx, dword [ecx + 0x488]
fld st(0)
fxch st(1)
fstp qword [edx + 8]
fxch st(3)
fcom qword [edx + 0x10]
fnstsw ax
test ah, 5
jp 0x101474b3
fxch st(3)
fsub qword [edx + 0x10]
fstp dword [edx + 0x18]
jmp 0x101474b5
fstp st(3)
fld qword [edx + 8]
fstp qword [edx + 0x10]
mov edx, dword [ecx + 0x48c]
fild qword [ebp - 8]
fld st(0)
fxch st(1)
fstp qword [edx + 8]
fxch st(3)
fcom qword [edx + 0x10]
fnstsw ax
test ah, 5
jp 0x101474e1
fxch st(3)
fsub qword [edx + 0x10]
fstp dword [edx + 0x18]
jmp 0x101474e3
fstp st(3)
fld qword [edx + 8]
fstp qword [edx + 0x10]
mov edx, dword [ecx + 0x490]
fild qword [ebp]
fld st(0)
fxch st(1)
fstp qword [edx + 8]
fxch st(3)
fcom qword [edx + 0x10]
fnstsw ax
test ah, 5
jp 0x1014750f
fxch st(3)
fsub qword [edx + 0x10]
fstp dword [edx + 0x18]
jmp 0x10147511
fstp st(3)
fld qword [edx + 8]
fstp qword [edx + 0x10]
mov edx, dword [ecx + 0x48c]
fxch st(1)
fcom dword [edx + 0x18]
fnstsw ax
test ah, 0x41
jp 0x10147585
mov eax, dword [ecx + 0x490]
fcom dword [eax + 0x18]
fnstsw ax
test ah, 0x41
jp 0x10147585
mov edx, dword [ecx + 0x488]
fcom dword [edx + 0x18]
fnstsw ax
test ah, 0x41
jp 0x10147585
mov eax, dword [ecx + 0x490]
fld dword [eax + 0x18]
mov eax, dword [ecx + 0x48c]
fadd dword [eax + 0x18]
fld dword [edx + 0x18]
fsubr st(1)
fmul st(3)
fxch st(1)
fadd qword [0x101f6c80]
fdivp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x1014758b
fxch st(1)
fst dword [esp + 0x18]
jmp 0x10147597
fst dword [esp + 0x14]
jmp 0x1014758d
fstp st(0)
fld dword [esp + 0x14]
fst dword [esp + 0x18]
fxch st(1)
fld dword [esp + 0x18]
fcomp st(3)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x101475b5
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x101475c1
fst dword [esp + 0x14]
jmp 0x101475c1
fstp st(0)
fld dword [0x101f6bfc]
fstp dword [esp + 0x14]
mov esi, dword [ecx + 0x4fc]
cmp esi, edi
je 0x10147634
mov edx, dword [esi]
fstp st(1)
mov eax, dword [edx + 4]
fstp st(0)
fld dword [esi + 0x164]
mov ecx, esi
fmul dword [esp + 0x14]
fstp dword [esi + 0x158]
call eax
test eax, eax
je 0x1014762e
fld dword [esi + 0x158]
fld dword [esi + 0x160]
fcompp
fnstsw ax
test ah, 5
jp 0x1014760d
fld dword [esi + 0x158]
fstp dword [esi + 0x160]
fld dword [esi + 0x158]
fld dword [esi + 0x15c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x1014762e
fld dword [esi + 0x158]
fstp dword [esi + 0x15c]
fldz
fldz
fxch st(1)
cmp ebx, edi
je 0x10147646
mov eax, dword [ebx + 8]
cmp eax, edi
je 0x10147646
mov ecx, dword [eax + 4]
mov ebx, eax
jmp 0x10147648
xor ecx, ecx
add dword [esp + 0x24], 0x30
add ebp, 0x30
cmp ecx, edi
jne 0x10147473
fstp st(1)
fstp st(0)
mov ebx, dword [esp + 0x20]
push ebx
call fcn.1003e211
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1003e211
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003dc89
add esp, 0xc8
ret 4