Function at 0x4bcdb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [0x580fb4]
and esi, 0x8000000f
push edi
jns 0x4bcdcb
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
jle 0x4bce17
fild dword [esp + 0x10]
fild dword [esp + 0xc]
lea ecx, [esp + 0x14]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 8]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 8], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bcdf8
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 8], eax
jge 0x4bce52
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x14]
fsub dword [0x559700]
fild dword [esp + 8]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 8], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bce36
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
push ebx
lea eax, [edx + 1]
test eax, eax
jle 0x4bcf89
mov ebx, eax
fld dword [esp + 0x18]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
je 0x4bcef8
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bcef8
fld dword [esp + 0x40]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bcf40
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
xor ecx, ecx
test edi, edi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bcee3
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bcec5
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bcf40
fld dword [esp + 0x24]
fadd dword [esp + 0x18]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x18]
jle 0x4bcf40
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bcf22
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bcf76
fld dword [esp + 0x2c]
fcomp dword [esp + 0x54]
fld dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bcf6c
fadd dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bcf82
fsub dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bcf82
fld dword [esp + 0x48]
fsub dword [esp + 0x38]
fstp dword [esp + 0x48]
dec ebx
jne 0x4bce6a
fld dword [esp + 0x1c]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x4bd01e
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bd01e
fld dword [esp + 0x44]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bd066
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bd009
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bcfeb
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bd066
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x1c]
jle 0x4bd066
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd048
fstp st(0)
fstp st(0)
push 0
call fcn.0054d0cc
push eax
call fcn.0054d0f6
mov edi, dword [0x580fb4]
add esp, 8
and edi, 0x8000000f
jns 0x4bd089
dec edi
or edi, 0xfffffff0
inc edi
mov ebx, 0x10
xor eax, eax
sub ebx, edi
mov dword [esp + 0x14], edi
test edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
jle 0x4bd0d5
fild dword [esp + 0x14]
fild dword [esp + 0x10]
lea ecx, [esp + 0x18]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, edi
mov dword [esp + 0xc], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bd0b6
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, edi
cmp edi, 0x10
mov dword [esp + 0xc], eax
jge 0x4bd110
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea ecx, [esp + edi*4 + 0x18]
fsub dword [0x559700]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0xc], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bd0f4
fstp st(0)
fstp st(0)
mov eax, edi
mov ecx, 3
cdq
idiv ecx
push ebp
lea eax, [edx + 1]
test eax, eax
jle 0x4bd247
mov ebp, eax
fld dword [esp + 0x1c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
je 0x4bd1b6
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4bd1b6
fld dword [esp + 0x44]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4bd1fe
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4bd1a1
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, ebx
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd183
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bd1fe
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x1c]
jle 0x4bd1fe
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd1e0
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4bd234
fld dword [esp + 0x30]
fcomp dword [esp + 0x58]
fld dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4bd22a
fadd dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4bd240
fsub dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4bd240
fld dword [esp + 0x4c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x4c]
dec ebp
jne 0x4bd128
fld dword [esp + 0x20]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x4bd2dc
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4bd2dc
fld dword [esp + 0x48]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4bd324
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
mov ecx, 1
cmp ebx, ecx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4bd2c7
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x20]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, ebx
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd2a9
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bd324
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x20]
jle 0x4bd324
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd306
fstp st(0)
fstp st(0)
mov ebp, 0x580aa4
mov esi, dword [0x580fb4]
and esi, 0x8000000f
jns 0x4bd33c
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
jle 0x4bd388
fild dword [esp + 0x18]
fild dword [esp + 0x14]
lea ecx, [esp + 0x6c]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0x10], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bd369
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0x10], eax
jge 0x4bd3c3
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x6c]
fsub dword [0x559700]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0x10], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bd3a7
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4bd533
mov ebx, eax
fld dword [esp + 0x6c]
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 0x41
je 0x4bd481
fld dword [esp + 0x78]
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 0x41
je 0x4bd481
fld dword [esp + 0x94]
fcomp dword [esp + 0xa8]
fnstsw ax
test ah, 0x40
jne 0x4bd4c9
fld dword [esp + 0x8c]
fadd dword [esp + 0x84]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x8c]
jle 0x4bd46c
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x6c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd44e
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bd4c9
fld dword [esp + 0x78]
fadd dword [esp + 0x6c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x6c]
jle 0x4bd4c9
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x6c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd4ab
fstp st(0)
fstp st(0)
fld dword [esp + 0x70]
fcomp dword [esp + 0x80]
fnstsw ax
test ah, 1
je 0x4bd517
fld dword [esp + 0x80]
fcomp dword [esp + 0xa8]
fld dword [esp + 0x80]
fnstsw ax
test ah, 1
je 0x4bd507
fadd dword [esp + 0x94]
fstp dword [esp + 0x80]
jmp 0x4bd52c
fsub dword [esp + 0x94]
fstp dword [esp + 0x80]
jmp 0x4bd52c
fld dword [esp + 0x9c]
fsub dword [esp + 0x8c]
fstp dword [esp + 0x9c]
dec ebx
jne 0x4bd3da
fld dword [esp + 0x70]
fcomp dword [esp + 0x74]
fnstsw ax
test ah, 0x41
je 0x4bd5de
fld dword [esp + 0x78]
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 0x41
je 0x4bd5de
fld dword [esp + 0x98]
fcomp dword [esp + 0xa8]
fnstsw ax
test ah, 0x40
jne 0x4bd626
fld dword [esp + 0x8c]
fadd dword [esp + 0x84]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x8c]
jle 0x4bd5c9
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x70]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd5ab
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bd626
fld dword [esp + 0x7c]
fadd dword [esp + 0x70]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x70]
jle 0x4bd626
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x6c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd608
fstp st(0)
fstp st(0)
fld dword [esp + 0x74]
fcomp dword [esp + 0x80]
fnstsw ax
test ah, 1
je 0x4bd675
fld dword [esp + 0x80]
fcomp dword [esp + 0xa8]
fnstsw ax
test ah, 1
je 0x4bd65e
fld dword [esp + 0x94]
fadd dword [esp + 0x78]
fstp dword [esp + 0x78]
jmp 0x4bd687
fld dword [esp + 0x80]
fsub dword [esp + 0x94]
fstp dword [esp + 0x80]
jmp 0x4bd687
fld dword [esp + 0x98]
fsub dword [esp + 0x7c]
fstp dword [esp + 0x98]
call fcn.00481d5e
test ax, ax
mov word [ebp], ax
ja 0x4bd69b
mov word [ebp], 0x4d2
mov edi, dword [0x580fb4]
and edi, 0x8000000f
jns 0x4bd6ae
dec edi
or edi, 0xfffffff0
inc edi
mov ebx, 0x10
xor eax, eax
sub ebx, edi
mov dword [esp + 0x18], edi
test edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
jle 0x4bd6fa
fild dword [esp + 0x18]
fild dword [esp + 0x14]
lea ecx, [esp + 0x1c]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, edi
mov dword [esp + 0x10], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bd6db
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, edi
cmp edi, 0x10
mov dword [esp + 0x10], eax
jge 0x4bd735
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea ecx, [esp + edi*4 + 0x1c]
fsub dword [0x559700]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0x10], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bd719
fstp st(0)
fstp st(0)
mov eax, edi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4bd86b
mov esi, eax
fld dword [esp + 0x1c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
je 0x4bd7da
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4bd7da
fld dword [esp + 0x44]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4bd822
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4bd7c5
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, ebx
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd7a7
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bd822
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x1c]
jle 0x4bd822
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd804
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4bd858
fld dword [esp + 0x30]
fcomp dword [esp + 0x58]
fld dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4bd84e
fadd dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4bd864
fsub dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4bd864
fld dword [esp + 0x4c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x4c]
dec esi
jne 0x4bd74c
fld dword [esp + 0x20]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x4bd900
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4bd900
fld dword [esp + 0x48]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4bd948
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
mov ecx, 1
cmp ebx, ecx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4bd8eb
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x20]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, ebx
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd8cd
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bd948
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x20]
jle 0x4bd948
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bd92a
fstp st(0)
fstp st(0)
fld dword [esp + 0x24]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4bd982
fld dword [esp + 0x30]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 1
je 0x4bd974
fld dword [esp + 0x44]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
jmp 0x4bd98e
fld dword [esp + 0x30]
fsub dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4bd98e
fld dword [esp + 0x48]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x48]
add ebp, 2
cmp ebp, 0x580ca4
jl 0x4bd329
mov esi, dword [0x580fb4]
and esi, 0x8000000f
jns 0x4bd9b0
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
jle 0x4bd9fc
fild dword [esp + 0x18]
fild dword [esp + 0x14]
lea ecx, [esp + 0x1c]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0x10], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bd9dd
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0x10], eax
jge 0x4bda37
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x1c]
fsub dword [0x559700]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0x10], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bda1b
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4bdb6d
mov ebx, eax
fld dword [esp + 0x1c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
je 0x4bdadc
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4bdadc
fld dword [esp + 0x44]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4bdb24
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4bdac7
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bdaa9
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bdb24
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x1c]
jle 0x4bdb24
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bdb06
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4bdb5a
fld dword [esp + 0x30]
fcomp dword [esp + 0x58]
fld dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4bdb50
fadd dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4bdb66
fsub dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4bdb66
fld dword [esp + 0x4c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x4c]
dec ebx
jne 0x4bda4e
fld dword [esp + 0x20]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x4bdc02
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4bdc02
fld dword [esp + 0x48]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4bdc4a
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4bdbed
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x20]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bdbcf
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bdc4a
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x20]
jle 0x4bdc4a
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bdc2c
fstp st(0)
fstp st(0)
push 0
call fcn.0054d0cc
mov ebp, dword [0x580fb4]
add esp, 4
mov edi, ebp
mov dword [0x580c34], eax
and edi, 0x8000000f
jns 0x4bdc6e
dec edi
or edi, 0xfffffff0
inc edi
mov ebx, 0x10
xor eax, eax
sub ebx, edi
mov dword [esp + 0x18], edi
test edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
jle 0x4bdcba
fild dword [esp + 0x18]
fild dword [esp + 0x14]
lea ecx, [esp + 0x1c]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, edi
mov dword [esp + 0x10], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bdc9b
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, edi
cmp edi, 0x10
mov dword [esp + 0x10], eax
jge 0x4bdcf5
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea ecx, [esp + edi*4 + 0x1c]
fsub dword [0x559700]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0x10], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bdcd9
fstp st(0)
fstp st(0)
mov eax, edi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4bde31
mov esi, eax
fld dword [esp + 0x1c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
je 0x4bdda0
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4bdda0
fld dword [esp + 0x44]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4bdde8
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4bdd89
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, ebx
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bdd6b
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov ebp, edx
mov dword [0x580fb4], ebp
jmp 0x4bdde8
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x1c]
jle 0x4bdde8
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bddca
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4bde1e
fld dword [esp + 0x30]
fcomp dword [esp + 0x58]
fld dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4bde14
fadd dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4bde2a
fsub dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4bde2a
fld dword [esp + 0x4c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x4c]
dec esi
jne 0x4bdd0c
fld dword [esp + 0x20]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x4bdec8
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4bdec8
fld dword [esp + 0x48]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4bdf10
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
mov ecx, 1
cmp ebx, ecx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4bdeb1
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x20]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, ebx
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bde93
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov ebp, edx
mov dword [0x580fb4], ebp
jmp 0x4bdf10
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x20]
jle 0x4bdf10
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bdef2
fstp st(0)
fstp st(0)
mov eax, dword [0x580ad4]
mov edi, ebp
and eax, 0xffff
and edi, 0x8000000f
mov dword [esp + 0x60], eax
jns 0x4bdf2d
dec edi
or edi, 0xfffffff0
inc edi
mov ebx, 0x10
xor eax, eax
sub ebx, edi
mov dword [esp + 0x18], edi
test edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
jle 0x4bdf79
fild dword [esp + 0x18]
fild dword [esp + 0x14]
lea ecx, [esp + 0x1c]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, edi
mov dword [esp + 0x10], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bdf5a
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, edi
cmp edi, 0x10
mov dword [esp + 0x10], eax
jge 0x4bdfb4
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea ecx, [esp + edi*4 + 0x1c]
fsub dword [0x559700]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0x10], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bdf98
fstp st(0)
fstp st(0)
mov eax, edi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4be0f0
mov esi, eax
fld dword [esp + 0x1c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
je 0x4be05f
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4be05f
fld dword [esp + 0x44]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4be0a7
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4be048
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, ebx
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be02a
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov ebp, edx
mov dword [0x580fb4], ebp
jmp 0x4be0a7
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x1c]
jle 0x4be0a7
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be089
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4be0dd
fld dword [esp + 0x30]
fcomp dword [esp + 0x58]
fld dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4be0d3
fadd dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4be0e9
fsub dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4be0e9
fld dword [esp + 0x4c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x4c]
dec esi
jne 0x4bdfcb
fld dword [esp + 0x20]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x4be187
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4be187
fld dword [esp + 0x48]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4be1cf
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
mov ecx, 1
cmp ebx, ecx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4be170
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x20]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, ebx
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be152
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov ebp, edx
mov dword [0x580fb4], ebp
jmp 0x4be1cf
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x20]
jle 0x4be1cf
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be1b1
fstp st(0)
fstp st(0)
xor eax, eax
mov esi, ebp
mov ax, word [0x580c36]
and esi, 0x8000000f
mov dword [esp + 0x68], eax
jns 0x4be1ea
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
jle 0x4be236
fild dword [esp + 0x18]
fild dword [esp + 0x14]
lea ecx, [esp + 0x1c]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0x10], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4be217
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0x10], eax
jge 0x4be271
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x1c]
fsub dword [0x559700]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0x10], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4be255
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4be3a7
mov ebx, eax
fld dword [esp + 0x1c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
je 0x4be316
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4be316
fld dword [esp + 0x44]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4be35e
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4be301
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be2e3
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4be35e
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x1c]
jle 0x4be35e
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be340
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4be394
fld dword [esp + 0x30]
fcomp dword [esp + 0x58]
fld dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4be38a
fadd dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4be3a0
fsub dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4be3a0
fld dword [esp + 0x4c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x4c]
dec ebx
jne 0x4be288
fld dword [esp + 0x20]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x4be43c
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4be43c
fld dword [esp + 0x48]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4be484
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4be427
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x20]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be409
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4be484
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x20]
jle 0x4be484
fild dword [esp + 0x14]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be466
fstp st(0)
fstp st(0)
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
push edx
push eax
mov ecx, 0x580590
call fcn.004ef8d0
mov esi, dword [0x580fb4]
mov dword [esp + 0x14], eax
and esi, 0x8000000f
jns 0x4be4af
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x10], eax
jle 0x4be4fb
fild dword [esp + 0x18]
fild dword [esp + 0x5c]
lea ecx, [esp + 0x1c]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0x10], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4be4dc
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0x10], eax
jge 0x4be536
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x1c]
fsub dword [0x559700]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0x10], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4be51a
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4be66c
mov ebx, eax
fld dword [esp + 0x1c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
je 0x4be5db
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4be5db
fld dword [esp + 0x44]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4be623
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4be5c6
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be5a8
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4be623
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x1c]
jle 0x4be623
fild dword [esp + 0x5c]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be605
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4be659
fld dword [esp + 0x30]
fcomp dword [esp + 0x58]
fld dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4be64f
fadd dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4be665
fsub dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4be665
fld dword [esp + 0x4c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x4c]
dec ebx
jne 0x4be54d
fld dword [esp + 0x20]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x4be701
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4be701
fld dword [esp + 0x48]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4be749
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4be6ec
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x20]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be6ce
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4be749
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x20]
jle 0x4be749
fild dword [esp + 0x5c]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be72b
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
cdq
lea ebp, [ecx + esi]
idiv ebp
sub edx, ecx
sub edx, esi
mov esi, dword [0x580fb4]
inc edx
and esi, 0x8000000f
mov dword [esp + 0x64], edx
jns 0x4be777
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x10], eax
jle 0x4be7c3
fild dword [esp + 0x18]
fild dword [esp + 0x5c]
lea ecx, [esp + 0x1c]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0x10], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4be7a4
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0x10], eax
jge 0x4be7fe
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x1c]
fsub dword [0x559700]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0x10], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4be7e2
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4be934
mov ebx, eax
fld dword [esp + 0x1c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
je 0x4be8a3
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4be8a3
fld dword [esp + 0x44]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4be8eb
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4be88e
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be870
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4be8eb
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x1c]
jle 0x4be8eb
fild dword [esp + 0x5c]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be8cd
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4be921
fld dword [esp + 0x30]
fcomp dword [esp + 0x58]
fld dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4be917
fadd dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4be92d
fsub dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4be92d
fld dword [esp + 0x4c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x4c]
dec ebx
jne 0x4be815
fld dword [esp + 0x20]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x4be9c9
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4be9c9
fld dword [esp + 0x48]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4bea11
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4be9b4
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x20]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be996
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bea11
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x20]
jle 0x4bea11
fild dword [esp + 0x5c]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4be9f3
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4becfa
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
push edx
push eax
mov ecx, 0x580590
call fcn.004ef8d0
mov esi, dword [0x580fb4]
mov dword [esp + 0x14], eax
and esi, 0x8000000f
jns 0x4bea48
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x10], eax
jle 0x4bea94
fild dword [esp + 0x18]
fild dword [esp + 0x5c]
lea ecx, [esp + 0x1c]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0x10], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bea75
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0x10], eax
jge 0x4beacf
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x1c]
fsub dword [0x559700]
fild dword [esp + 0x10]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0x10], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4beab3
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4bec05
mov ebx, eax
fld dword [esp + 0x1c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
je 0x4beb74
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4beb74
fld dword [esp + 0x44]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4bebbc
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4beb5f
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4beb41
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bebbc
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x1c]
jle 0x4bebbc
fild dword [esp + 0x5c]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4beb9e
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4bebf2
fld dword [esp + 0x30]
fcomp dword [esp + 0x58]
fld dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4bebe8
fadd dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4bebfe
fsub dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x4bebfe
fld dword [esp + 0x4c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x4c]
dec ebx
jne 0x4beae6
fld dword [esp + 0x20]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x4bec9a
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
je 0x4bec9a
fld dword [esp + 0x48]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x40
jne 0x4bece2
fld dword [esp + 0x3c]
fadd dword [esp + 0x34]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x3c]
jle 0x4bec85
fild dword [esp + 0x18]
fild dword [0x580fb4]
lea eax, [esp + 0x20]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bec67
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bece2
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x20]
jle 0x4bece2
fild dword [esp + 0x5c]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0x10]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0x10], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4becc4
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x68]
cdq
idiv ebp
mov ecx, dword [esp + 0x60]
sub edx, esi
sub edx, ecx
inc edx
mov dword [esp + 0x64], edx
mov esi, dword [0x580fb4]
and esi, 0x8000000f
jns 0x4bed0d
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x60], esi
test esi, esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x10], eax
pop ebp
jle 0x4bed5a
fild dword [esp + 0x5c]
fild dword [esp + 0x58]
lea ecx, [esp + 0x18]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0xc], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bed3b
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0xc], eax
jge 0x4bed95
fild dword [esp + 0x5c]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x18]
fsub dword [0x559700]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0xc], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bed79
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4beecb
mov ebx, eax
fld dword [esp + 0x18]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
je 0x4bee3a
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bee3a
fld dword [esp + 0x40]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bee82
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
xor ecx, ecx
test edi, edi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bee25
fild dword [esp + 0x5c]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bee07
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bee82
fld dword [esp + 0x18]
fadd dword [esp + 0x24]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x18]
jle 0x4bee82
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bee64
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4beeb8
fld dword [esp + 0x2c]
fcomp dword [esp + 0x54]
fld dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4beeae
fadd dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4beec4
fsub dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4beec4
fld dword [esp + 0x48]
fsub dword [esp + 0x38]
fstp dword [esp + 0x48]
dec ebx
jne 0x4bedac
fld dword [esp + 0x1c]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x4bef60
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bef60
fld dword [esp + 0x44]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4befa8
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bef4b
fild dword [esp + 0x5c]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bef2d
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4befa8
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x1c]
jle 0x4befa8
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bef8a
fstp st(0)
fstp st(0)
mov edx, dword [esp + 0x10]
mov esi, dword [0x580fb4]
add edx, 0xfffffffb
and esi, 0x8000000f
mov dword [0x580c5c], edx
jns 0x4befc8
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x58], edi
mov dword [esp + 0xc], eax
jle 0x4bf014
fild dword [esp + 0x10]
fild dword [esp + 0x58]
lea ecx, [esp + 0x18]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0xc], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4beff5
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0xc], eax
jge 0x4bf04f
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x18]
fsub dword [0x559700]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0xc], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bf033
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4bf185
mov ebx, eax
fld dword [esp + 0x18]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
je 0x4bf0f4
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bf0f4
fld dword [esp + 0x40]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bf13c
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
xor ecx, ecx
test edi, edi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bf0df
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf0c1
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bf13c
fld dword [esp + 0x24]
fadd dword [esp + 0x18]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x18]
jle 0x4bf13c
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf11e
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bf172
fld dword [esp + 0x2c]
fcomp dword [esp + 0x54]
fld dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bf168
fadd dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bf17e
fsub dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bf17e
fld dword [esp + 0x48]
fsub dword [esp + 0x38]
fstp dword [esp + 0x48]
dec ebx
jne 0x4bf066
fld dword [esp + 0x1c]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x4bf21a
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bf21a
fld dword [esp + 0x44]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bf262
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bf205
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf1e7
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bf262
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x1c]
jle 0x4bf262
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf244
fstp st(0)
fstp st(0)
mov esi, dword [0x580fb4]
mov edx, dword [0x580ca4]
and esi, 0x8000000f
mov dword [0x580b58], edx
jns 0x4bf281
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x58], edi
mov dword [esp + 0xc], eax
jle 0x4bf2cd
fild dword [esp + 0x10]
fild dword [esp + 0x58]
lea ecx, [esp + 0x18]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0xc], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bf2ae
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0xc], eax
jge 0x4bf308
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x18]
fsub dword [0x559700]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0xc], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bf2ec
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4bf43e
mov ebx, eax
fld dword [esp + 0x18]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
je 0x4bf3ad
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bf3ad
fld dword [esp + 0x40]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bf3f5
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
xor ecx, ecx
test edi, edi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bf398
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf37a
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bf3f5
fld dword [esp + 0x24]
fadd dword [esp + 0x18]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x18]
jle 0x4bf3f5
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf3d7
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bf42b
fld dword [esp + 0x2c]
fcomp dword [esp + 0x54]
fld dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bf421
fadd dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bf437
fsub dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bf437
fld dword [esp + 0x48]
fsub dword [esp + 0x38]
fstp dword [esp + 0x48]
dec ebx
jne 0x4bf31f
fld dword [esp + 0x1c]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x4bf4d3
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bf4d3
fld dword [esp + 0x44]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bf51b
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bf4be
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf4a0
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bf51b
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x1c]
jle 0x4bf51b
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf4fd
fstp st(0)
fstp st(0)
xor ecx, ecx
mov al, byte [ecx + 0x580aa4]
mov dl, al
and dl, 0xf
shl dl, 4
shr al, 4
add dl, al
mov byte [ecx + 0x580aa4], dl
inc ecx
cmp ecx, 0x1ff
jle 0x4bf51d
mov esi, dword [0x580fb4]
and esi, 0x8000000f
jns 0x4bf552
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x58], edi
mov dword [esp + 0xc], eax
jle 0x4bf59e
fild dword [esp + 0x10]
fild dword [esp + 0x58]
lea ecx, [esp + 0x18]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0xc], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bf57f
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0xc], eax
jge 0x4bf5d9
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x18]
fsub dword [0x559700]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0xc], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bf5bd
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4bf70f
mov ebx, eax
fld dword [esp + 0x18]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
je 0x4bf67e
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bf67e
fld dword [esp + 0x40]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bf6c6
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
xor ecx, ecx
test edi, edi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bf669
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf64b
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bf6c6
fld dword [esp + 0x24]
fadd dword [esp + 0x18]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x18]
jle 0x4bf6c6
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf6a8
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bf6fc
fld dword [esp + 0x2c]
fcomp dword [esp + 0x54]
fld dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bf6f2
fadd dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bf708
fsub dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bf708
fld dword [esp + 0x48]
fsub dword [esp + 0x38]
fstp dword [esp + 0x48]
dec ebx
jne 0x4bf5f0
fld dword [esp + 0x1c]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x4bf7a4
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bf7a4
fld dword [esp + 0x44]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bf7ec
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bf78f
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf771
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bf7ec
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x1c]
jle 0x4bf7ec
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf7ce
fstp st(0)
fstp st(0)
xor bl, bl
xor eax, eax
test eax, eax
jne 0x4bf7fd
mov bl, byte [0x580ca3]
and bl, 1
mov dl, byte [eax + 0x580aa4]
mov cl, dl
shr cl, 1
cmp bl, 1
mov byte [eax + 0x580aa4], cl
jne 0x4bf81b
or cl, 0x80
mov byte [eax + 0x580aa4], cl
and dl, 1
inc eax
cmp eax, 0x1ff
mov bl, dl
jle 0x4bf7f0
mov esi, dword [0x580fb4]
and esi, 0x8000000f
jns 0x4bf83b
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x58], edi
mov dword [esp + 0xc], eax
jle 0x4bf887
fild dword [esp + 0x10]
fild dword [esp + 0x58]
lea ecx, [esp + 0x18]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0xc], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bf868
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0xc], eax
jge 0x4bf8c2
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x18]
fsub dword [0x559700]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0xc], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bf8a6
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4bf9f8
mov ebx, eax
fld dword [esp + 0x18]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
je 0x4bf967
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bf967
fld dword [esp + 0x40]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bf9af
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
xor ecx, ecx
test edi, edi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bf952
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf934
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bf9af
fld dword [esp + 0x24]
fadd dword [esp + 0x18]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x18]
jle 0x4bf9af
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bf991
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bf9e5
fld dword [esp + 0x2c]
fcomp dword [esp + 0x54]
fld dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bf9db
fadd dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bf9f1
fsub dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bf9f1
fld dword [esp + 0x48]
fsub dword [esp + 0x38]
fstp dword [esp + 0x48]
dec ebx
jne 0x4bf8d9
fld dword [esp + 0x1c]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x4bfa8d
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bfa8d
fld dword [esp + 0x44]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bfad5
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bfa78
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bfa5a
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bfad5
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x1c]
jle 0x4bfad5
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bfab7
fstp st(0)
fstp st(0)
xor bl, bl
xor eax, eax
test eax, eax
jne 0x4bfae6
mov bl, byte [0x580ca3]
and bl, 1
mov dl, byte [eax + 0x580aa4]
mov cl, dl
shr cl, 1
cmp bl, 1
mov byte [eax + 0x580aa4], cl
jne 0x4bfb04
or cl, 0x80
mov byte [eax + 0x580aa4], cl
and dl, 1
inc eax
cmp eax, 0x1ff
mov bl, dl
jle 0x4bfad9
mov esi, dword [0x580fb4]
and esi, 0x8000000f
jns 0x4bfb24
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x58], edi
mov dword [esp + 0xc], eax
jle 0x4bfb70
fild dword [esp + 0x10]
fild dword [esp + 0x58]
lea ecx, [esp + 0x18]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0xc], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bfb51
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0xc], eax
jge 0x4bfbab
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x18]
fsub dword [0x559700]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0xc], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bfb8f
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4bfce1
mov ebx, eax
fld dword [esp + 0x18]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
je 0x4bfc50
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bfc50
fld dword [esp + 0x40]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bfc98
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
xor ecx, ecx
test edi, edi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bfc3b
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bfc1d
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bfc98
fld dword [esp + 0x24]
fadd dword [esp + 0x18]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x18]
jle 0x4bfc98
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bfc7a
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bfcce
fld dword [esp + 0x2c]
fcomp dword [esp + 0x54]
fld dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bfcc4
fadd dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bfcda
fsub dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bfcda
fld dword [esp + 0x48]
fsub dword [esp + 0x38]
fstp dword [esp + 0x48]
dec ebx
jne 0x4bfbc2
fld dword [esp + 0x1c]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x4bfd76
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bfd76
fld dword [esp + 0x44]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bfdbe
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bfd61
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x1c]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bfd43
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bfdbe
fld dword [esp + 0x28]
fadd dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x1c]
jle 0x4bfdbe
fild dword [esp + 0x58]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bfda0
fstp st(0)
fstp st(0)
xor bl, bl
xor eax, eax
test eax, eax
jne 0x4bfdcf
mov bl, byte [0x580ca3]
and bl, 1
mov dl, byte [eax + 0x580aa4]
mov cl, dl
shr cl, 1
cmp bl, 1
mov byte [eax + 0x580aa4], cl
jne 0x4bfded
or cl, 0x80
mov byte [eax + 0x580aa4], cl
and dl, 1
inc eax
cmp eax, 0x1ff
mov bl, dl
jle 0x4bfdc2
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4bfe0c
mov dword [0x580ca4], 0
mov esi, dword [0x580fb4]
and esi, 0x8000000f
jns 0x4bfe1f
dec esi
or esi, 0xfffffff0
inc esi
mov edi, 0x10
xor eax, eax
sub edi, esi
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x60], edi
mov dword [esp + 0xc], eax
jle 0x4bfe6b
fild dword [esp + 0x10]
fild dword [esp + 0x60]
lea ecx, [esp + 0x18]
fld st(0)
fsub dword [0x559704]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, esi
mov dword [esp + 0xc], eax
fmul st(3)
fsub st(2)
fmul st(1)
fstp dword [ecx - 4]
jl 0x4bfe4c
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, esi
cmp esi, 0x10
mov dword [esp + 0xc], eax
jge 0x4bfea6
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea ecx, [esp + esi*4 + 0x18]
fsub dword [0x559700]
fild dword [esp + 0xc]
inc eax
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0xc], eax
fsub st(2)
fadd st(1)
fstp dword [ecx - 4]
jl 0x4bfe8a
fstp st(0)
fstp st(0)
mov eax, esi
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 1]
test eax, eax
jle 0x4bffdc
mov ebx, eax
fld dword [esp + 0x18]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
je 0x4bff4b
fld dword [esp + 0x24]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
je 0x4bff4b
fld dword [esp + 0x40]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x40
jne 0x4bff93
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
xor ecx, ecx
test edi, edi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x38]
jle 0x4bff36
fild dword [esp + 0x10]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bff18
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x580fb4], edx
jmp 0x4bff93
fld dword [esp + 0x24]
fadd dword [esp + 0x18]
xor ecx, ecx
test esi, esi
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x18]
jle 0x4bff93
fild dword [esp + 0x60]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 0xc]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 0xc], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4bff75
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bffc9
fld dword [esp + 0x2c]
fcomp dword [esp + 0x54]
fld dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4bffbf
fadd dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bffd5
fsub dword [esp + 0x40]
fstp dword [esp + 0x2c]
jmp 0x4bffd5
fld dword [esp + 0x48]
fsub dword [esp + 0x38]
fstp dword [esp + 0x48]
dec ebx
jne 0x4bfebd
fld dword [esp + 0x1c]
fcomp dword [esp + 0x20]
pop ebx
fnstsw ax
test ah, 0x41
je 0x4c0079
fld dword [esp + 0x20]
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 0x41
je 0x4c0079
fld dword [esp + 0x40]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x40
jne 0x4c00c1
fld dword [esp + 0x34]
fadd dword [esp + 0x2c]
mov ecx, 1
cmp edi, ecx
mov dword [esp + 8], ecx
fstp dword [esp + 0x34]
jle 0x4c005d
fild dword [esp + 0xc]
fild dword [0x580fb4]
lea eax, [esp + 0x18]
fmul dword [0x55778c]
fild dword [esp + 8]
inc ecx
add eax, 4
cmp ecx, edi
mov dword [esp + 8], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4c003f
fstp st(0)
fstp st(0)
call fcn.00481d5e
cdq
mov ecx, 0x3e8
pop edi
idiv ecx
pop esi
mov dword [0x580fb4], edx
add esp, 0x9c
ret
fld dword [esp + 0x24]
fadd dword [esp + 0x18]
xor ecx, ecx
test esi, esi
mov dword [esp + 8], ecx
fstp dword [esp + 0x18]
jle 0x4c00c1
fild dword [esp + 0x5c]
fild dword [0x580fb4]
lea eax, [esp + 0x14]
fmul dword [0x55778c]
fild dword [esp + 8]
inc ecx
add eax, 4
cmp ecx, esi
mov dword [esp + 8], ecx
fmul st(2)
fadd dword [eax - 4]
fsub st(1)
fstp dword [eax - 4]
jl 0x4c00a3
fstp st(0)
fstp st(0)
pop edi
pop esi
add esp, 0x9c
ret