Function at 0x100570a0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x10101793
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.10002047
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 0x10057569
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.100a073d
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.10002275
mov eax, dword [esp + 0x18]
cmp eax, 0xfffffffd
jle 0x100574ff
cmp eax, 8
jg 0x100574ff
test eax, eax
jg 0x1005721c
neg eax
mov esi, eax
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.10002047
push 0x30
push esi
lea ecx, [esp + 0x34]
call fcn.100090d0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x54]
push 0x101170ec
push edx
mov byte [esp + 0xb8], 2
call fcn.10003185
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x50]
mov bl, 3
push edx
mov byte [esp + 0xc4], bl
call fcn.10004250
add esp, 0x18
mov ecx, dword [0x10105430]
push ecx
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 4
call fcn.10001ecb
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], bl
call fcn.10002047
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], 2
call fcn.10002047
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.10002047
mov dword [esp + 0x18], 1
jmp 0x100573ae
cmp eax, 6
jge 0x100572f5
mov edx, dword [0x10105430]
push edx
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x28]
call fcn.10001bf3
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.10001bf3
push 0x10112f00
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0xb8], 6
call fcn.10004120
push esi
push eax
lea ecx, [esp + 0x64]
mov bl, 7
push ecx
mov byte [esp + 0xc4], bl
call fcn.10004250
add esp, 0x18
mov edx, dword [0x10105430]
push edx
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 8
call fcn.10001ecb
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], bl
call fcn.10002047
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 6
call fcn.10002047
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 5
call fcn.10002047
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 1
call fcn.10002047
jmp 0x100573ae
lea esi, [eax - 6]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.10002047
push 0x30
push esi
lea ecx, [esp + 0x34]
call fcn.100090d0
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.10004250
push 0x101170e8
push eax
lea ecx, [esp + 0x74]
mov bl, 0xa
push ecx
mov byte [esp + 0xc4], bl
call fcn.10004120
add esp, 0x18
mov edx, dword [0x10105430]
push edx
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 0xb
call fcn.10001ecb
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], bl
call fcn.10002047
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], 9
call fcn.10002047
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.10002047
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 0x100573ef
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], esi
jb 0x100573e0
test ecx, ecx
je 0x100573e0
lea ecx, [esp + 0x1c]
call fcn.1000201b
mov ecx, dword [esp + 0x20]
lea eax, [ecx + esi]
jmp 0x100573e5
mov eax, 0x10105434
cmp byte [eax], 0x30
jne 0x100573ef
dec esi
cmp esi, edi
jg 0x100573c4
mov cl, byte [esp + 0x13]
mov byte [esp + 0x2c], cl
push 0
lea ecx, [esp + 0x30]
inc esi
call fcn.10002047
push esi
push 0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
call fcn.10001ecb
mov eax, dword [0x10105430]
push eax
push 0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 0xc
call fcn.10001ecb
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.10002047
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10057478
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x64]
push 0x101170e4
push eax
call fcn.10003185
add esp, 0xc
mov edi, eax
mov dword [esp + 0x14], 2
mov byte [esp + 0xac], 0xd
jmp 0x1005747c
lea edi, [esp + 0x1c]
mov cl, byte [edi]
mov esi, dword [esp + 0xb4]
mov byte [esi], cl
push 0
mov ecx, esi
call fcn.10002047
mov edx, dword [0x10105430]
push edx
push 0
push edi
mov ecx, esi
call fcn.10001ecb
mov eax, dword [esp + 0x14]
or eax, 1
test al, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0xac], 1
je 0x100574cf
mov ecx, eax
and ecx, 0xfffffffd
mov dword [esp + 0x14], ecx
push 1
lea ecx, [esp + 0x64]
call fcn.10002047
mov byte [esp + 0xac], 0
push 1
lea ecx, [esp + 0x20]
call fcn.10002047
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.100a06a3
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.10002275
mov esi, dword [esp + 0xb4]
mov dl, byte [esp + 0x1c]
push 0
mov ecx, esi
mov byte [esi], dl
call fcn.10002047
mov eax, dword [0x10105430]
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.10001ecb
mov dword [esp + 0x14], ebx
mov byte [esp + 0xac], 0
push ebx
jmp 0x100574d9
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 0x100575e5
mov edx, dword [esp + 0x3c]
and ecx, 0xfffff
or edx, ecx
neg edx
sbb edx, edx
neg edx
mov dword [esp + 0x3c], edx
je 0x100575e5
mov esi, dword [esp + 0xb4]
mov al, byte [esp + 0x13]
push 0
mov ecx, esi
mov byte [esi], al
call fcn.10002047
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x101170e0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x101170e0
mov ecx, esi
call fcn.10002275
mov dword [esp + 0x14], ebx
mov byte [esp + 0xac], 0
push ebx
jmp 0x100574d9
fld dword [esp + 0xb8]
fcomp qword [0x10105640]
fnstsw ax
test ah, 0x41
jne 0x1005763d
mov esi, dword [esp + 0xb4]
mov cl, byte [esp + 0x13]
mov byte [esi], cl
push 0
mov ecx, esi
call fcn.10002047
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.10002275
mov dword [esp + 0x14], ebx
mov byte [esp + 0xac], 0
push ebx
jmp 0x100574d9
fld dword [esp + 0xb8]
fcomp qword [0x10105640]
fnstsw ax
test ah, 1
je 0x100576c9
mov ebp, dword [esp + 0xb4]
mov dl, byte [esp + 0x13]
push 0
mov ecx, ebp
mov byte [ebp], dl
call fcn.10002047
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.10002311
test al, al
je 0x100576a7
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.100040f0
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 1
mov byte [esp + 0xb0], 0
call fcn.10002047
mov eax, ebp
jmp 0x100574e4
jmp 0x100a04eb
push 0xa
call fcn.100a3997
push 0x16
call fcn.100a2440
pop ecx
pop ecx
push 3
call fcn.100a224f
int3