Function at 0x100576f0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x100f3453
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.10002040
fld dword [esp + 0xb8]
mov ebx, 1
fst qword [esp + 0x3c]
fstp qword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xac], ebx
sar eax, 0x14
and eax, 0x7ff
cmp eax, 0x7ff
je 0x10057bbb
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x18]
push ecx
push edx
push 6
push esi
push ebp
call fcn.100dff2d
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.100022af
mov eax, dword [esp + 0x18]
cmp eax, 0xfffffffd
jle 0x10057b4e
cmp eax, 8
jg 0x10057b4e
test eax, eax
jg 0x1005786c
neg eax
mov esi, eax
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.10002040
push 0x30
push esi
lea ecx, [esp + 0x34]
call fcn.100095a0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x50]
push ecx
push 0x1010d084
push edx
mov byte [esp + 0xb8], 2
call fcn.10003575
lea ecx, [esp + 0x28]
lea edx, [esp + 0x48]
push ecx
mov bl, 3
push eax
push edx
mov byte [esp + 0xc4], bl
call fcn.10004640
add esp, 0x18
mov ecx, dword [0x100f7360]
mov byte [esp + 0xac], 4
push ecx
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.10001ec4
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], bl
call fcn.10002040
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], 2
call fcn.10002040
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.10002040
mov dword [esp + 0x18], 1
jmp 0x100579fe
cmp eax, 6
jge 0x10057945
mov edx, dword [0x100f7360]
lea ecx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10001be6
mov esi, eax
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push ecx
push 0
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 5
call fcn.10001be6
push 0x10108ec0
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0xb4], 6
push eax
call fcn.10004510
push esi
lea ecx, [esp + 0x60]
mov bl, 7
push eax
push ecx
mov byte [esp + 0xc4], bl
call fcn.10004640
add esp, 0x18
mov edx, dword [0x100f7360]
lea ecx, [esp + 0x1c]
push edx
push 0
push eax
mov byte [esp + 0xb8], 8
call fcn.10001ec4
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], bl
call fcn.10002040
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 6
call fcn.10002040
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 5
call fcn.10002040
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 1
call fcn.10002040
jmp 0x100579fe
lea esi, [eax - 6]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.10002040
push 0x30
push esi
lea ecx, [esp + 0x34]
call fcn.100095a0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
mov byte [esp + 0xb8], 9
call fcn.10004640
push 0x1010d080
lea ecx, [esp + 0x70]
mov bl, 0xa
push eax
push ecx
mov byte [esp + 0xc4], bl
call fcn.10004510
add esp, 0x18
mov edx, dword [0x100f7360]
lea ecx, [esp + 0x1c]
push edx
push 0
push eax
mov byte [esp + 0xb8], 0xb
call fcn.10001ec4
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], bl
call fcn.10002040
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], 9
call fcn.10002040
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.10002040
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 0x10057a3f
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], esi
jb 0x10057a30
test ecx, ecx
je 0x10057a30
lea ecx, [esp + 0x1c]
call fcn.10002014
mov ecx, dword [esp + 0x20]
lea eax, [ecx + esi]
jmp 0x10057a35
mov eax, 0x100f7364
cmp byte [eax], 0x30
jne 0x10057a3f
dec esi
cmp esi, edi
jg 0x10057a14
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
inc esi
call fcn.10002040
push esi
lea edx, [esp + 0x20]
push 0
push edx
lea ecx, [esp + 0x38]
call fcn.10001ec4
mov eax, dword [0x100f7360]
lea ecx, [esp + 0x2c]
push eax
push 0
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 0xc
call fcn.10001ec4
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.10002040
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10057ac8
lea edx, [esp + 0x1c]
lea eax, [esp + 0x60]
push edx
push 0x1010d07c
push eax
call fcn.10003575
add esp, 0xc
mov edi, eax
mov dword [esp + 0x14], 2
mov byte [esp + 0xac], 0xd
jmp 0x10057acc
lea edi, [esp + 0x1c]
mov esi, dword [esp + 0xb4]
mov cl, byte [edi]
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.10002040
mov edx, dword [0x100f7360]
mov ecx, esi
push edx
push 0
push edi
call fcn.10001ec4
mov dword [esp + 0xac], 1
mov eax, dword [esp + 0x14]
or al, 1
test al, 2
mov dword [esp + 0x14], eax
je 0x10057b1e
mov ecx, eax
push 1
and ecx, 0xfffffffd
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x64]
call fcn.10002040
mov byte [esp + 0xac], 0
push 1
lea ecx, [esp + 0x20]
call fcn.10002040
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 fcn.100dfe93
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x24]
call fcn.100022af
push 0
mov esi, dword [esp + 0xb8]
mov dl, byte [esp + 0x20]
mov ecx, esi
mov byte [esi], dl
call fcn.10002040
mov eax, dword [0x100f7360]
lea ecx, [esp + 0x1c]
push eax
push 0
push ecx
mov ecx, esi
call fcn.10001ec4
mov dword [esp + 0x14], ebx
mov byte [esp + 0xac], 0
push ebx
jmp 0x10057b28
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 0x10057c37
mov edx, dword [esp + 0x3c]
and ecx, 0xfffff
or edx, ecx
neg edx
sbb edx, edx
neg edx
mov dword [esp + 0x3c], edx
je 0x10057c37
mov esi, dword [esp + 0xb4]
mov al, byte [esp + 0x13]
push 0
mov ecx, esi
mov byte [esi], al
call fcn.10002040
mov edi, 0x1010d078
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1010d078
mov ecx, esi
call fcn.100022af
mov dword [esp + 0x14], ebx
mov byte [esp + 0xac], 0
push ebx
jmp 0x10057b28
fld dword [esp + 0xb8]
fcomp qword [0x100f74c0]
fnstsw ax
test ah, 0x41
jne 0x10057c8f
mov esi, dword [esp + 0xb4]
mov cl, byte [esp + 0x13]
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.10002040
mov edi, str.Infinity
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Infinity
mov ecx, esi
call fcn.100022af
mov dword [esp + 0x14], ebx
mov byte [esp + 0xac], 0
push ebx
jmp 0x10057b28
fld dword [esp + 0xb8]
fcomp qword [0x100f74c0]
fnstsw ax
test ah, 1
je 0x10057d1b
mov ebp, dword [esp + 0xb4]
mov dl, byte [esp + 0x13]
push 0
mov ecx, ebp
mov byte [ebp], dl
call fcn.10002040
mov edi, str._Infinity
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.1000234b
test al, al
je 0x10057cf9
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
mov esi, str._Infinity
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.100044e0
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 1
mov byte [esp + 0xb0], 0
call fcn.10002040
mov eax, ebp
jmp 0x10057b33
jmp 0x100dfcdb
push 0xa
call fcn.100e384e
push 0x16
call fcn.100e24ae
pop ecx
pop ecx
push 3
call fcn.100e0673
int3