Function at 0x10055ba0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x100fca33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov al, byte [esp + 3]
push ebx
push ebp
push esi
push edi
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
mov byte [esp + 0x20], al
call fcn.10001fd0
fld dword [esp + 0xb8]
fst qword [esp + 0x3c]
mov ebx, 1
fstp qword [esp + 0x2c]
mov eax, dword [esp + 0x30]
sar eax, 0x14
and eax, 0x7ff
cmp eax, 0x7ff
mov dword [esp + 0xac], ebx
je 0x10056069
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 6
push esi
push ebp
call fcn.1009c8ac
mov edx, eax
or ecx, 0xffffffff
add esp, 0x14
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.100021fe
mov eax, dword [esp + 0x18]
cmp eax, 0xfffffffd
jle 0x10055fff
cmp eax, 8
jg 0x10055fff
test eax, eax
jg 0x10055d1c
neg eax
mov esi, eax
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.10001fd0
push 0x30
push esi
lea ecx, [esp + 0x34]
call fcn.10008ea0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x54]
push 0x10111e04
push edx
mov byte [esp + 0xb8], 2
call fcn.1000310e
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x50]
mov bl, 3
push edx
mov byte [esp + 0xc4], bl
call fcn.10004180
add esp, 0x18
mov ecx, dword [0x10100440]
push ecx
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 4
call fcn.10001e54
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], bl
call fcn.10001fd0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], 2
call fcn.10001fd0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.10001fd0
mov dword [esp + 0x18], 1
jmp 0x10055eae
cmp eax, 6
jge 0x10055df5
mov edx, dword [0x10100440]
push edx
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x28]
call fcn.10001b28
mov esi, eax
mov ecx, dword [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 5
call fcn.10001b28
push 0x1010dcbc
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0xb8], 6
call fcn.10004050
push esi
push eax
lea ecx, [esp + 0x64]
mov bl, 7
push ecx
mov byte [esp + 0xc4], bl
call fcn.10004180
add esp, 0x18
mov edx, dword [0x10100440]
push edx
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 8
call fcn.10001e54
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], bl
call fcn.10001fd0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 6
call fcn.10001fd0
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 5
call fcn.10001fd0
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 1
call fcn.10001fd0
jmp 0x10055eae
lea esi, [eax - 6]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.10001fd0
push 0x30
push esi
lea ecx, [esp + 0x34]
call fcn.10008ea0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0xb8], 9
call fcn.10004180
push 0x10111e00
push eax
lea ecx, [esp + 0x74]
mov bl, 0xa
push ecx
mov byte [esp + 0xc4], bl
call fcn.10004050
add esp, 0x18
mov edx, dword [0x10100440]
push edx
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 0xb
call fcn.10001e54
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], bl
call fcn.10001fd0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], 9
call fcn.10001fd0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.10001fd0
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax - 6]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
lea edi, [edx + 1]
lea esi, [eax - 1]
cmp esi, edi
jle 0x10055eef
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], esi
jb 0x10055ee0
test ecx, ecx
je 0x10055ee0
lea ecx, [esp + 0x1c]
call fcn.10001fa4
mov ecx, dword [esp + 0x20]
lea eax, [ecx + esi]
jmp 0x10055ee5
mov eax, 0x10100444
cmp byte [eax], 0x30
jne 0x10055eef
dec esi
cmp esi, edi
jg 0x10055ec4
mov cl, byte [esp + 0x13]
mov byte [esp + 0x2c], cl
push 0
lea ecx, [esp + 0x30]
inc esi
call fcn.10001fd0
push esi
push 0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
call fcn.10001e54
mov eax, dword [0x10100440]
push eax
push 0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 0xc
call fcn.10001e54
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.10001fd0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10055f78
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x64]
push 0x10111dfc
push eax
call fcn.1000310e
add esp, 0xc
mov edi, eax
mov dword [esp + 0x14], 2
mov byte [esp + 0xac], 0xd
jmp 0x10055f7c
lea edi, [esp + 0x1c]
mov cl, byte [edi]
mov esi, dword [esp + 0xb4]
mov byte [esi], cl
push 0
mov ecx, esi
call fcn.10001fd0
mov edx, dword [0x10100440]
push edx
push 0
push edi
mov ecx, esi
call fcn.10001e54
mov eax, dword [esp + 0x14]
or eax, 1
test al, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0xac], 1
je 0x10055fcf
mov ecx, eax
and ecx, 0xfffffffd
mov dword [esp + 0x14], ecx
push 1
lea ecx, [esp + 0x64]
call fcn.10001fd0
mov byte [esp + 0xac], 0
push 1
lea ecx, [esp + 0x20]
call fcn.10001fd0
mov eax, esi
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 8
lea eax, [esp + 0x70]
push eax
push 6
push esi
push ebp
call 0x1009c812
or ecx, 0xffffffff
add esp, 0x10
xor eax, eax
lea edi, [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x24]
call fcn.100021fe
mov esi, dword [esp + 0xb4]
mov dl, byte [esp + 0x1c]
push 0
mov ecx, esi
mov byte [esi], dl
call fcn.10001fd0
mov eax, dword [0x10100440]
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.10001e54
mov dword [esp + 0x14], ebx
mov byte [esp + 0xac], 0
push ebx
jmp 0x10055fd9
fld dword [esp + 0xb8]
fstp qword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, ecx
sar eax, 0x14
and eax, 0x7ff
cmp eax, 0x7ff
jne 0x100560e5
mov edx, dword [esp + 0x3c]
and ecx, 0xfffff
or edx, ecx
neg edx
sbb edx, edx
neg edx
mov dword [esp + 0x3c], edx
je 0x100560e5
mov esi, dword [esp + 0xb4]
mov al, byte [esp + 0x13]
push 0
mov ecx, esi
mov byte [esi], al
call fcn.10001fd0
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x10111df8
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10111df8
mov ecx, esi
call fcn.100021fe
mov dword [esp + 0x14], ebx
mov byte [esp + 0xac], 0
push ebx
jmp 0x10055fd9
fld dword [esp + 0xb8]
fcomp qword [0x10100650]
fnstsw ax
test ah, 0x41
jne 0x1005613d
mov esi, dword [esp + 0xb4]
mov cl, byte [esp + 0x13]
mov byte [esi], cl
push 0
mov ecx, esi
call fcn.10001fd0
or ecx, 0xffffffff
xor eax, eax
mov edi, str.Infinity
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Infinity
mov ecx, esi
call fcn.100021fe
mov dword [esp + 0x14], ebx
mov byte [esp + 0xac], 0
push ebx
jmp 0x10055fd9
fld dword [esp + 0xb8]
fcomp qword [0x10100650]
fnstsw ax
test ah, 1
je 0x100561c9
mov ebp, dword [esp + 0xb4]
mov dl, byte [esp + 0x13]
push 0
mov ecx, ebp
mov byte [ebp], dl
call fcn.10001fd0
or ecx, 0xffffffff
xor eax, eax
mov edi, str._Infinity
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
push 1
push ebx
mov ecx, ebp
call fcn.1000229a
test al, al
je 0x100561a7
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov esi, str._Infinity
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
mov ecx, ebp
call fcn.10004020
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 1
mov byte [esp + 0xb0], 0
call fcn.10001fd0
mov eax, ebp
jmp 0x10055fe4
jmp 0x1009c7fb
push 0xa
call fcn.1009fc77
push 0x16
call fcn.1009e710
pop ecx
pop ecx
push 3
call fcn.1009e51f
push ebp
mov ebp, esp
sub esp, 0x28
fld qword [ebp + 8]
lea eax, [ebp - 0x28]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
push ecx
fstp qword [esp]
call fcn.100a4b4c
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
add esp, 0x10
lea edx, [ecx - 1]
cmp edx, 0xffffffff
jl 0x1009c85a
lea esi, [eax - 1]
cmp edx, esi
jg 0x1009c85a
sub eax, ecx
push eax
lea eax, [ebp + 8]
push dword [ebp + 0x14]
push eax
call fcn.100a14fc
add esp, 0xc
jmp 0x1009c86d
dec eax
push 0
push eax
lea eax, [ebp + 8]
push dword [ebp + 0x14]
push eax
call fcn.100a13d9
add esp, 0x10
mov esi, eax
mov cl, byte [eax]
test cl, cl
je 0x1009c880
cmp cl, byte [0x10114664]
je 0x1009c880
inc eax
jmp 0x1009c86f
mov cl, byte [eax]
inc eax
test cl, cl
je 0x1009c8a7
mov cl, byte [eax]
test cl, cl
je 0x1009c895
cmp cl, 0x65
je 0x1009c895
inc eax
jmp 0x1009c887
mov ecx, eax
dec eax
cmp byte [eax], 0x30
je 0x1009c897
mov dl, byte [ecx]
inc eax
inc ecx
test dl, dl
mov byte [eax], dl
jne 0x1009c89d
mov eax, esi
pop esi
leave
ret