Function at 0x419c00
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xf4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov byte [esi + 4], 1
cmp byte [edi + 0x75], 0
mov dword [esp + 0xbc], edi
jne 0x420eff
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
call edx
mov ecx, edi
call fcn.0040b860
test al, al
je 0x419c89
fld qword [ebp + 0x24]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
sub esp, 8
fstp qword [esp]
push eax
fld dword [ebp + 0x30]
mov eax, dword [ebp + 0x18]
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp + 0x2c]
fstp dword [esp]
push ecx
fld dword [ebp + 0x10]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [ecx + 0x30]
push edx
push eax
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp + 0xc]
fstp dword [esp]
push esi
call fcn.004083b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
cmp byte [edi + 0x79], 0
jne 0x420ec0
cmp byte [edi + 0x52], 0
jne 0x420ec0
cmp byte [edi + 0x51], 0
je 0x419cad
cmp byte [edi + 0x77], 0
je 0x420ec0
mov edx, dword [edi + 0x6c]
cmp byte [edx + 0x38], 0
jne 0x420ec0
fldz
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
fst qword [esp + 0xd8]
fst qword [esp + 0xe0]
sub esp, 0x10
fst qword [esp + 0xf8]
lea eax, [esp + 0xe8]
fstp qword [esp + 0x100]
fld qword [ebp + 0x24]
fstp qword [esp + 8]
fld dword [ebp + 0x30]
fstp dword [esp + 4]
fld dword [ebp + 0x2c]
fstp dword [esp]
push eax
push ecx
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
call fcn.00432dc0
test al, al
je 0x420eff
push 0
push 0x5da660
push 0x5da628
push 0
push esi
call fcn.0056a77a
add esp, 0x14
push 0
push 0x5da644
push 0x5da628
push 0
push esi
mov ebx, eax
call fcn.0056a77a
add esp, 0x14
test ebx, ebx
je 0x420e36
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
mov ecx, ebx
call eax
cmp dword [ebp + 0x20], 0
mov ecx, ebx
jne 0x41f387
mov edi, dword [ebx + 0x48]
call fcn.00427cd0
test edi, edi
jne 0x41c75f
mov edx, dword [ebx]
mov edi, eax
mov eax, dword [ebp + 0x14]
imul edi, dword [eax + 4]
add edi, dword [eax]
mov eax, dword [edx + 0x7c]
add edi, edi
add edi, edi
call eax
add eax, edi
fld qword [ebp + 0x24]
mov dword [esp + 0x80], eax
call fcn.00569f50
fstp qword [esp + 0xc8]
fld qword [ebp + 0x24]
call fcn.00569e20
fst qword [esp + 0xc0]
fld qword [esp + 0xc8]
fld qword [0x5ba890]
fmul st(1), st(0)
fxch st(1)
call fcn.005690a0
fmulp st(1)
mov edi, eax
mov dword [esp + 0x94], edi
call fcn.005690a0
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0xbc]
mov dword [esp + 0x70], ebx
call eax
test al, al
je 0x420eff
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 0x6c]
mov edx, dword [eax + 0x20]
mov dword [esp + 0xa4], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0xd4], edx
mov edx, 0x20
sub edx, dword [eax + 0x14]
mov dword [esp + 0xd0], edx
mov edx, 0x18
sub edx, dword [eax + 0x18]
mov dword [esp + 0x98], edx
mov edx, 0x10
sub edx, dword [eax + 0x1c]
mov eax, dword [ecx + 0xd4]
cmp eax, 0x10
mov dword [esp + 0xb8], edx
mov edx, dword [ecx + 0xd8]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 0xdc]
mov ecx, dword [ecx + 0xe0]
mov dword [esp + 0xac], edx
mov dword [esp + 0x40], ecx
jne 0x41b7ff
fld qword [esp + 0xe0]
call fcn.005690a0
fld qword [esp + 0xd8]
mov dword [esp + 0x3c], eax
call fcn.005690a0
mov edx, dword [esp + 0xbc]
mov ecx, dword [edx + 0x90]
mov dword [esp + 0x64], eax
mov eax, ecx
imul eax, dword [esp + 0x3c]
cdq
sub eax, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0xa4]
sar eax, 1
add eax, dword [esp + 0x64]
lea eax, [edx + eax*2]
mov dword [esp + 0x50], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x1c]
call fcn.00404aa0
test al, al
fld qword [esp + 0xf0]
fcomp qword [0x5ba798]
je 0x41b2a5
cmp byte [0x5dcd4b], 0
je 0x41adb0
mov eax, dword [esp + 0xac]
cmp eax, 0x7e0
jne 0x41a3df
fnstsw ax
mov dword [esp + 0xa4], 0
test ah, 0x41
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov ecx, dword [esp + 0x8c]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
lea edx, [ecx + ecx]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x30], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], edx
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp edi, 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], edx
jg 0x41a02e
test eax, eax
jl 0x41a3a6
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x27fff
cdq
idiv edi
test eax, eax
jl 0x41a016
mov dword [esp + 0x2c], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x30]
cdq
idiv edi
cmp eax, dword [esp + 0x40]
jge 0x41a09f
mov dword [esp + 0x40], eax
jmp 0x41a09f
cmp edi, 1
jl 0x41a07b
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41a3a6
mov eax, 0x10000
sub eax, dword [esp + 0x30]
cdq
idiv edi
test eax, eax
jle 0x41a05c
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x17fff
cdq
idiv edi
cmp eax, dword [esp + 0x40]
jge 0x41a09f
mov dword [esp + 0x40], eax
jmp 0x41a09f
cmp dword [esp + 0x30], 0
jl 0x41a3a6
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x30], edx
jge 0x41a3a6
cmp ebx, 0xffffffff
jg 0x41a0df
cmp dword [esp + 0x44], 0
jl 0x41a3a6
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jle 0x41a0cc
mov dword [esp + 0x2c], eax
mov eax, ecx
cdq
idiv ebx
neg eax
cmp eax, dword [esp + 0x40]
jge 0x41a14b
mov dword [esp + 0x40], eax
jmp 0x41a14b
cmp ebx, 1
jl 0x41a12c
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x3c], eax
add eax, 0xffffffff
cmp dword [esp + 0x44], eax
jge 0x41a3a6
mov eax, 0x10000
sub eax, ecx
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jle 0x41a10f
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x40]
jge 0x41a14b
mov dword [esp + 0x40], eax
jmp 0x41a14b
test ecx, ecx
jl 0x41a3a6
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
shl edx, 0x10
sub edx, 0x10000
cmp ecx, edx
jge 0x41a3a6
mov eax, dword [esp + 0x2c]
imul eax, edi
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov edx, eax
imul edx, ebx
add ecx, edx
cmp eax, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
lea edx, [edx + eax*2]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x90], edx
jg 0x41a3a6
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x2c]
add eax, 1
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x30]
mov eax, ecx
sar eax, 0x10
imul eax, dword [esp + 0x90]
mov edi, edx
sar edi, 0x10
add eax, edi
mov edi, dword [esp + 0x80]
mov ebx, dword [edi + eax*4]
lea edi, [edi + eax*4]
mov eax, ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x24]
lea edi, [edi + ecx*4]
mov ecx, dword [edi]
and eax, 0xfffe
add eax, 1
and edx, 0xfffe
add edx, 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [edi + 4]
mov edi, 0x10000
sub edi, edx
mov edx, edi
imul edi, eax
mov esi, 0x10000
sub esi, eax
imul eax, dword [esp + 0x44]
imul edx, esi
imul esi, dword [esp + 0x44]
shr esi, 0x10
mov dword [esp + 0x4c], ebx
shr ebx, 0x18
shr edx, 0x10
imul edx, ebx
mov ebx, dword [esp + 0x48]
shr ebx, 0x18
imul esi, ebx
mov ebx, dword [esp + 0x5c]
shr esi, 0x10
mov dword [esp + 0x54], esi
shr edi, 0x10
mov esi, ebx
shr esi, 0x18
imul edi, esi
shr eax, 0x10
mov esi, ecx
shr esi, 0x18
imul eax, esi
shr eax, 0x10
mov esi, eax
mov dword [esp + 0x74], esi
mov eax, ecx
and eax, 0xffff00ff
imul eax, esi
shr edi, 0x10
mov esi, ebx
and esi, 0xffff00ff
imul esi, edi
add eax, esi
mov esi, dword [esp + 0x48]
and esi, 0xffff00ff
imul esi, dword [esp + 0x54]
add eax, esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x84], edi
and esi, 0xffff00ff
shr edx, 0x10
imul esi, edx
mov edi, ecx
and edi, 0xff00
imul edi, dword [esp + 0x74]
and ebx, 0xff00
imul ebx, dword [esp + 0x84]
add eax, esi
mov esi, dword [esp + 0x48]
and esi, 0xff00
add edi, ebx
imul esi, dword [esp + 0x54]
add edi, esi
mov esi, dword [esp + 0x4c]
mov ebx, esi
and ebx, 0xff00
imul ebx, edx
and ecx, 0xff00ff
imul ecx, dword [esp + 0x74]
add edi, ebx
xor eax, edi
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x54]
and edi, 0xff00ff
imul edi, dword [esp + 0x84]
add ecx, edi
mov edi, dword [esp + 0x48]
and edi, 0xff00ff
imul edi, ebx
add ecx, edi
mov edi, dword [esp + 0x60]
and esi, 0xff00ff
imul esi, edx
add ecx, esi
movzx esi, word [edi]
and eax, 0xff0000
xor eax, ecx
mov ecx, 0x100
sub ecx, dword [esp + 0x74]
shr eax, 8
sub ecx, dword [esp + 0x84]
add edi, 2
sub ecx, ebx
sub ecx, edx
sar ecx, 3
mov edx, esi
shl edx, 0x10
or edx, esi
and edx, 0x7e0f81f
imul ecx, edx
mov edx, eax
mov ebx, dword [esp + 0x70]
shr ecx, 5
and edx, 0xfc00
and ecx, 0x7e0f81f
mov esi, dword [ebp + 8]
shl edx, 0xb
add ecx, edx
mov edx, eax
shr eax, 8
shr edx, 3
and eax, 0xf800
and edx, 0x1f
add ecx, edx
add ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
mov ecx, dword [esp + 0x58]
mov word [edi - 2], ax
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x94]
add dword [esp + 0x30], edi
add ecx, ebx
sub dword [esp + 0x68], 1
mov dword [esp + 0x58], ecx
jne 0x41a193
mov ecx, dword [esp + 0x6c]
add dword [esp + 0x50], ecx
mov eax, 1
add dword [esp + 0xa4], eax
fild dword [esp + 0xa4]
add dword [esp + 0x98], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x419f8a
jmp 0x41f357
cmp eax, 0x3e0
fnstsw ax
jne 0x41a8bd
test ah, 0x41
mov dword [esp + 0x98], 0
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov edx, dword [esp + 0x8c]
fld qword [0x5ba890]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
lea eax, [edx + edx]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x84], ecx
fild dword [esp + 0x84]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x30], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], edx
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp edi, 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], edx
jg 0x41a508
test eax, eax
jl 0x41a884
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x27fff
cdq
idiv edi
test eax, eax
jl 0x41a4f0
mov dword [esp + 0x2c], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x30]
cdq
idiv edi
cmp eax, dword [esp + 0x40]
jge 0x41a579
mov dword [esp + 0x40], eax
jmp 0x41a579
cmp edi, 1
jl 0x41a555
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41a884
mov eax, 0x10000
sub eax, dword [esp + 0x30]
cdq
idiv edi
test eax, eax
jle 0x41a536
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x17fff
cdq
idiv edi
cmp eax, dword [esp + 0x40]
jge 0x41a579
mov dword [esp + 0x40], eax
jmp 0x41a579
cmp dword [esp + 0x30], 0
jl 0x41a884
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x30], edx
jge 0x41a884
cmp ebx, 0xffffffff
jg 0x41a5b9
cmp dword [esp + 0x44], 0
jl 0x41a884
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jle 0x41a5a6
mov dword [esp + 0x2c], eax
mov eax, ecx
cdq
idiv ebx
neg eax
cmp eax, dword [esp + 0x40]
jge 0x41a625
mov dword [esp + 0x40], eax
jmp 0x41a625
cmp ebx, 1
jl 0x41a606
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x3c], eax
add eax, 0xffffffff
cmp dword [esp + 0x44], eax
jge 0x41a884
mov eax, 0x10000
sub eax, ecx
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jle 0x41a5e9
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x40]
jge 0x41a625
mov dword [esp + 0x40], eax
jmp 0x41a625
test ecx, ecx
jl 0x41a884
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
shl edx, 0x10
sub edx, 0x10000
cmp ecx, edx
jge 0x41a884
mov eax, dword [esp + 0x2c]
imul eax, edi
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov edx, eax
imul edx, ebx
add ecx, edx
cmp eax, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
lea edx, [edx + eax*2]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x90], edx
jg 0x41a884
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x2c]
add eax, 1
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0x30]
mov eax, ecx
sar eax, 0x10
imul eax, dword [esp + 0x90]
mov edx, edi
sar edx, 0x10
add eax, edx
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov eax, ecx
mov ecx, dword [edx + 4]
and edi, 0xfffe
and eax, 0xfffe
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x24]
add edi, 1
add eax, 1
lea edx, [edx + ecx*4]
mov ecx, dword [edx]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x48], ecx
mov ecx, dword [edx + 4]
mov esi, 0x10000
sub esi, eax
mov edx, 0x10000
sub edx, edi
imul edi, esi
shr edi, 0x10
mov dword [esp + 0xb0], edx
imul edx, esi
mov esi, dword [esp + 0x54]
shr esi, 0x18
imul edi, esi
mov esi, eax
imul eax, dword [esp + 0x9c]
imul esi, dword [esp + 0xb0]
mov dword [esp + 0x44], ebx
shr ebx, 0x18
shr edx, 0x10
imul edx, ebx
mov ebx, dword [esp + 0x48]
shr ebx, 0x18
shr esi, 0x10
imul esi, ebx
shr eax, 0x10
mov ebx, ecx
shr ebx, 0x18
imul eax, ebx
shr eax, 0x10
mov ebx, eax
mov dword [esp + 0x74], ebx
mov eax, ecx
and eax, 0xffff00ff
imul eax, ebx
mov ebx, dword [esp + 0x48]
and ebx, 0xffff00ff
shr esi, 0x10
imul ebx, esi
add eax, ebx
mov ebx, dword [esp + 0x54]
shr edi, 0x10
mov dword [esp + 0x4c], edi
and ebx, 0xffff00ff
imul ebx, edi
mov edi, dword [esp + 0x44]
and edi, 0xffff00ff
shr edx, 0x10
imul edi, edx
add eax, ebx
mov ebx, dword [esp + 0x48]
add eax, edi
mov edi, ecx
and edi, 0xff00
imul edi, dword [esp + 0x74]
and ebx, 0xff00
imul ebx, esi
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x54]
add edi, ebx
and esi, 0xff00
imul esi, dword [esp + 0x4c]
add edi, esi
mov esi, dword [esp + 0x44]
mov ebx, esi
and ebx, 0xff00
imul ebx, edx
and ecx, 0xff00ff
imul ecx, dword [esp + 0x74]
add edi, ebx
xor eax, edi
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
and edi, 0xff00ff
imul edi, dword [esp + 0x5c]
add ecx, edi
mov edi, dword [esp + 0x54]
and edi, 0xff00ff
imul edi, ebx
add ecx, edi
mov edi, dword [esp + 0x60]
and esi, 0xff00ff
imul esi, edx
add ecx, esi
movzx esi, word [edi]
and eax, 0xff0000
xor eax, ecx
mov ecx, 0x100
sub ecx, dword [esp + 0x74]
shr eax, 8
sub ecx, dword [esp + 0x5c]
add edi, 2
sub ecx, ebx
sub ecx, edx
sar ecx, 3
mov edx, esi
shl edx, 0x10
or edx, esi
and edx, 0x3e07c1f
imul ecx, edx
mov edx, eax
mov ebx, dword [esp + 0x70]
shr ecx, 5
shr edx, 3
and ecx, 0x3e07c1f
mov esi, dword [ebp + 8]
and edx, 0x1f
add ecx, edx
mov edx, eax
and eax, 0xf800
shr edx, 9
shl eax, 0xa
and edx, 0x7c00
add ecx, edx
add ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
mov ecx, dword [esp + 0x58]
mov word [edi - 2], ax
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x94]
add dword [esp + 0x30], edi
add ecx, ebx
sub dword [esp + 0x68], 1
mov dword [esp + 0x58], ecx
jne 0x41a66d
mov ecx, dword [esp + 0x6c]
add dword [esp + 0x50], ecx
mov eax, 1
add dword [esp + 0x98], eax
fild dword [esp + 0x98]
add dword [esp + 0x84], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41a464
jmp 0x41f357
test ah, 0x41
mov dword [esp + 0x58], 0
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov edx, dword [esp + 0x8c]
fld qword [0x5ba890]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
lea eax, [edx + edx]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
fild dword [esp + 0x68]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x30], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp edi, 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], edx
jg 0x41a9d0
test eax, eax
jl 0x41ad80
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x27fff
cdq
idiv edi
test eax, eax
jl 0x41a9b8
mov dword [esp + 0x38], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x30]
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41aa41
mov dword [esp + 0x2c], eax
jmp 0x41aa41
cmp edi, 1
jl 0x41aa1d
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41ad80
mov eax, 0x10000
sub eax, dword [esp + 0x30]
cdq
idiv edi
test eax, eax
jle 0x41a9fe
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x17fff
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41aa41
mov dword [esp + 0x2c], eax
jmp 0x41aa41
cmp dword [esp + 0x30], 0
jl 0x41ad80
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x30], edx
jge 0x41ad80
cmp ebx, 0xffffffff
jg 0x41aa81
cmp dword [esp + 0x44], 0
jl 0x41ad80
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41aa6e
mov dword [esp + 0x38], eax
mov eax, ecx
cdq
idiv ebx
neg eax
cmp eax, dword [esp + 0x2c]
jge 0x41aaed
mov dword [esp + 0x2c], eax
jmp 0x41aaed
cmp ebx, 1
jl 0x41aace
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x3c], eax
add eax, 0xffffffff
cmp dword [esp + 0x44], eax
jge 0x41ad80
mov eax, 0x10000
sub eax, ecx
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41aab1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41aaed
mov dword [esp + 0x2c], eax
jmp 0x41aaed
test ecx, ecx
jl 0x41ad80
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
shl edx, 0x10
sub edx, 0x10000
cmp ecx, edx
jge 0x41ad80
mov eax, dword [esp + 0x38]
imul eax, edi
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov edx, eax
imul edx, ebx
add ecx, edx
mov edx, dword [esp + 0x50]
lea edx, [edx + eax*2]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x2c]
cmp eax, edx
mov dword [esp + 0x5c], ecx
jg 0x41ad80
sub edx, eax
add edx, 1
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x30]
mov esi, dword [esi + 0x24]
mov eax, ecx
sar eax, 0x10
imul eax, dword [esp + 0x90]
mov edi, edx
sar edi, 0x10
add eax, edi
mov edi, dword [esp + 0x80]
mov ebx, dword [edi + eax*4]
lea eax, [edi + eax*4]
mov edi, dword [eax + 4]
lea eax, [eax + esi*4]
mov esi, dword [eax]
and ecx, 0xfffe
add ecx, 1
mov dword [esp + 0x48], esi
and edx, 0xfffe
add edx, 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x9c], edx
mov eax, dword [eax + 4]
mov esi, 0x10000
sub esi, ecx
mov edi, 0x10000
sub edi, edx
imul edx, esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0xb0], edi
imul edi, esi
mov esi, dword [esp + 0x54]
shr ebx, 0x18
shr esi, 0x18
shr edx, 0x10
imul edx, esi
mov esi, ecx
imul ecx, dword [esp + 0x9c]
imul esi, dword [esp + 0xb0]
shr edi, 0x10
imul edi, ebx
mov ebx, dword [esp + 0x48]
shr ebx, 0x18
shr ecx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
mov ebx, dword [esp + 0x3c]
movzx ebx, word [ebx]
mov dword [esp + 0xb0], ebx
shr ecx, 0x10
shr edx, 0x10
shr esi, 0x10
mov ebx, 0x100
sub ebx, ecx
sub ebx, esi
sub ebx, edx
shr edi, 0x10
sub ebx, edi
mov dword [esp + 0x38], ebx
movzx ebx, word [esp + 0xb0]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x44], ecx
movzx ebx, al
imul ebx, ecx
movzx ecx, byte [esp + 0x48]
imul ecx, esi
add ebx, ecx
movzx ecx, byte [esp + 0x54]
imul ecx, edx
mov dword [esp + 0x4c], edx
movzx edx, byte [esp + 0x74]
imul edx, edi
add ebx, ecx
mov ecx, dword [esp + 0xb8]
add ebx, edx
shr ebx, cl
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x78], esi
shl ebx, cl
mov ecx, dword [esp + 0x8c]
and ecx, dword [esp + 0x40]
mov edx, eax
imul ecx, dword [esp + 0x38]
shr ecx, 8
and ecx, dword [esp + 0x40]
and edx, 0xff0000
add ebx, ecx
imul edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
and ecx, 0xff0000
imul ecx, esi
add edx, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff0000
imul ecx, dword [esp + 0x4c]
add edx, ecx
mov ecx, dword [esp + 0x74]
and ecx, 0xff0000
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0xd0]
shr edx, cl
mov ecx, dword [esp + 0xa4]
and eax, 0xff00
imul eax, dword [esp + 0x44]
shl edx, cl
mov ecx, dword [esp + 0x8c]
and ecx, dword [esp + 0x34]
imul ecx, dword [esp + 0x38]
shr ecx, 8
and ecx, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff00
imul ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00
imul ecx, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0x74]
and ecx, 0xff00
imul ecx, edi
add eax, ecx
mov ecx, dword [esp + 0x98]
shr eax, cl
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x94]
add dword [esp + 0x30], edi
shl eax, cl
mov ecx, dword [esp + 0x8c]
or ebx, edx
mov edx, dword [esp + 0xac]
and ecx, edx
imul ecx, dword [esp + 0x38]
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x5c]
or ebx, eax
mov eax, dword [esp + 0x3c]
mov word [eax], bx
mov ebx, dword [esp + 0x70]
add eax, 2
add ecx, ebx
sub dword [esp + 0x60], 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], ecx
jne 0x41ab31
mov edx, dword [esp + 0x6c]
add dword [esp + 0x50], edx
mov eax, 1
add dword [esp + 0x58], eax
fild dword [esp + 0x58]
add dword [esp + 0x68], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41a92f
jmp 0x41f357
fnstsw ax
mov dword [esp + 0x5c], 0
test ah, 0x41
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov edx, dword [esp + 0x3c]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
lea ecx, [eax + eax]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], edx
fild dword [esp + 0x60]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x30], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov ecx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp edi, 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], edx
jg 0x41aec5
test eax, eax
jl 0x41b275
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x27fff
cdq
idiv edi
test eax, eax
jl 0x41aead
mov dword [esp + 0x38], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x30]
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41af36
mov dword [esp + 0x2c], eax
jmp 0x41af36
cmp edi, 1
jl 0x41af12
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41b275
mov eax, 0x10000
sub eax, dword [esp + 0x30]
cdq
idiv edi
test eax, eax
jle 0x41aef3
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x17fff
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41af36
mov dword [esp + 0x2c], eax
jmp 0x41af36
cmp dword [esp + 0x30], 0
jl 0x41b275
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x30], edx
jge 0x41b275
cmp ebx, 0xffffffff
jg 0x41af76
cmp dword [esp + 0x44], 0
jl 0x41b275
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41af63
mov dword [esp + 0x38], eax
mov eax, ecx
cdq
idiv ebx
neg eax
cmp eax, dword [esp + 0x2c]
jge 0x41afe2
mov dword [esp + 0x2c], eax
jmp 0x41afe2
cmp ebx, 1
jl 0x41afc3
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x3c], eax
add eax, 0xffffffff
cmp dword [esp + 0x44], eax
jge 0x41b275
mov eax, 0x10000
sub eax, ecx
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41afa6
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41afe2
mov dword [esp + 0x2c], eax
jmp 0x41afe2
test ecx, ecx
jl 0x41b275
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
shl edx, 0x10
sub edx, 0x10000
cmp ecx, edx
jge 0x41b275
mov eax, dword [esp + 0x38]
imul eax, edi
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov edx, eax
imul edx, ebx
add ecx, edx
mov edx, dword [esp + 0x50]
lea edx, [edx + eax*2]
mov dword [esp + 0x8c], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x2c]
cmp eax, edx
mov dword [esp + 0x38], ecx
jg 0x41b275
sub edx, eax
add edx, 1
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov esi, dword [esi + 0x24]
mov eax, ecx
sar eax, 0x10
imul eax, dword [esp + 0x90]
mov edi, edx
sar edi, 0x10
add eax, edi
mov edi, dword [esp + 0x80]
mov ebx, dword [edi + eax*4]
lea eax, [edi + eax*4]
mov edi, dword [eax + 4]
lea eax, [eax + esi*4]
mov esi, dword [eax]
and ecx, 0xfffe
add ecx, 1
mov dword [esp + 0x48], esi
and edx, 0xfffe
add edx, 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x9c], edx
mov eax, dword [eax + 4]
mov esi, 0x10000
sub esi, ecx
mov edi, 0x10000
sub edi, edx
imul edx, esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0xb0], edi
imul edi, esi
mov esi, dword [esp + 0x54]
shr ebx, 0x18
shr esi, 0x18
shr edx, 0x10
imul edx, esi
mov esi, ecx
imul ecx, dword [esp + 0x9c]
imul esi, dword [esp + 0xb0]
shr edi, 0x10
imul edi, ebx
mov ebx, dword [esp + 0x48]
shr ebx, 0x18
shr ecx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
mov ebx, dword [esp + 0x8c]
movzx ebx, word [ebx]
mov dword [esp + 0xb0], ebx
shr ecx, 0x10
shr edx, 0x10
shr esi, 0x10
mov ebx, 0x100
sub ebx, ecx
sub ebx, esi
sub ebx, edx
shr edi, 0x10
sub ebx, edi
mov dword [esp + 0x74], ebx
movzx ebx, word [esp + 0xb0]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x44], ecx
movzx ebx, al
imul ebx, ecx
movzx ecx, byte [esp + 0x48]
imul ecx, esi
add ebx, ecx
movzx ecx, byte [esp + 0x54]
imul ecx, edx
mov dword [esp + 0x4c], edx
movzx edx, byte [esp + 0x58]
imul edx, edi
add ebx, ecx
mov ecx, dword [esp + 0xb8]
add ebx, edx
shr ebx, cl
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x78], esi
shl ebx, cl
mov ecx, dword [esp + 0x68]
and ecx, dword [esp + 0x40]
mov edx, eax
imul ecx, dword [esp + 0x74]
shr ecx, 8
and ecx, dword [esp + 0x40]
and edx, 0xff0000
add ebx, ecx
imul edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
and ecx, 0xff0000
imul ecx, esi
add edx, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff0000
imul ecx, dword [esp + 0x4c]
add edx, ecx
mov ecx, dword [esp + 0x58]
and ecx, 0xff0000
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0xd0]
shr edx, cl
mov ecx, dword [esp + 0xa4]
and eax, 0xff00
imul eax, dword [esp + 0x44]
shl edx, cl
mov ecx, dword [esp + 0x68]
and ecx, dword [esp + 0x34]
imul ecx, dword [esp + 0x74]
shr ecx, 8
and ecx, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff00
imul ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00
imul ecx, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0x58]
and ecx, 0xff00
imul ecx, edi
add eax, ecx
mov ecx, dword [esp + 0x98]
shr eax, cl
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x94]
add dword [esp + 0x30], edi
shl eax, cl
mov ecx, dword [esp + 0x68]
or ebx, edx
mov edx, dword [esp + 0xac]
and ecx, edx
imul ecx, dword [esp + 0x74]
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x38]
or ebx, eax
mov eax, dword [esp + 0x8c]
mov word [eax], bx
mov ebx, dword [esp + 0x70]
add eax, 2
add ecx, ebx
sub dword [esp + 0x2c], 1
mov dword [esp + 0x8c], eax
mov dword [esp + 0x38], ecx
jne 0x41b029
mov edx, dword [esp + 0x6c]
add dword [esp + 0x50], edx
mov eax, 1
add dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
add dword [esp + 0x60], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41ae24
jmp 0x41f357
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax]
add ecx, 1
mov dword [esp + 0xa0], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
add eax, 1
mov dword [esp + 0x88], eax
fnstsw ax
add ecx, 1
test ah, 0x41
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x4c], 0
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov edx, dword [esp + 0x8c]
fld qword [0x5ba890]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
lea eax, [edx + edx]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x8c], ecx
fild dword [esp + 0x8c]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x30], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp edi, 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], edx
jg 0x41b3ed
test eax, eax
jl 0x41b7cc
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x27fff
cdq
idiv edi
test eax, eax
jl 0x41b3d5
mov dword [esp + 0x38], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x30]
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41b45e
mov dword [esp + 0x2c], eax
jmp 0x41b45e
cmp edi, 1
jl 0x41b43a
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41b7cc
mov eax, 0x10000
sub eax, dword [esp + 0x30]
cdq
idiv edi
test eax, eax
jle 0x41b41b
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x17fff
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41b45e
mov dword [esp + 0x2c], eax
jmp 0x41b45e
cmp dword [esp + 0x30], 0
jl 0x41b7cc
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x30], edx
jge 0x41b7cc
cmp ebx, 0xffffffff
jg 0x41b49e
cmp dword [esp + 0x44], 0
jl 0x41b7cc
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41b48b
mov dword [esp + 0x38], eax
mov eax, ecx
cdq
idiv ebx
neg eax
cmp eax, dword [esp + 0x2c]
jge 0x41b50a
mov dword [esp + 0x2c], eax
jmp 0x41b50a
cmp ebx, 1
jl 0x41b4eb
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x3c], eax
add eax, 0xffffffff
cmp dword [esp + 0x44], eax
jge 0x41b7cc
mov eax, 0x10000
sub eax, ecx
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41b4ce
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41b50a
mov dword [esp + 0x2c], eax
jmp 0x41b50a
test ecx, ecx
jl 0x41b7cc
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
shl edx, 0x10
sub edx, 0x10000
cmp ecx, edx
jge 0x41b7cc
mov eax, dword [esp + 0x38]
imul eax, edi
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov edx, eax
imul edx, ebx
add ecx, edx
mov edx, dword [esp + 0x50]
lea edx, [edx + eax*2]
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x2c]
cmp eax, edx
mov dword [esp + 0x3c], ecx
jg 0x41b7cc
sub edx, eax
add edx, 1
mov dword [esp + 0x2c], edx
mov esi, dword [esi + 0x24]
mov edx, dword [esp + 0x30]
mov eax, ecx
sar eax, 0x10
imul eax, dword [esp + 0x90]
mov edi, edx
sar edi, 0x10
add eax, edi
mov edi, dword [esp + 0x80]
mov ebx, dword [edi + eax*4]
lea eax, [edi + eax*4]
mov edi, dword [eax + 4]
lea eax, [eax + esi*4]
mov esi, dword [eax]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x68]
movzx esi, word [esi]
and ecx, 0xfffe
mov dword [esp + 0x78], esi
add ecx, 1
mov dword [esp + 0x74], edi
and edx, 0xfffe
add edx, 1
mov dword [esp + 0x9c], edx
mov eax, dword [eax + 4]
mov esi, 0x10000
sub esi, ecx
mov edi, 0x10000
sub edi, edx
imul edx, esi
mov dword [esp + 0xb0], edi
imul edi, esi
mov esi, dword [esp + 0x74]
shr esi, 0x18
shr edx, 0x10
imul edx, esi
mov esi, ecx
imul ecx, dword [esp + 0x9c]
imul esi, dword [esp + 0xb0]
mov dword [esp + 0x5c], ebx
shr ebx, 0x18
shr edi, 0x10
imul edi, ebx
mov ebx, dword [esp + 0x54]
shr ebx, 0x18
shr esi, 0x10
imul esi, ebx
shr ecx, 0x10
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
shr ecx, 0x10
imul ecx, dword [esp + 0x48]
shr esi, 0x10
imul esi, dword [esp + 0x48]
shr edx, 0x10
imul edx, dword [esp + 0x48]
shr edi, 0x10
imul edi, dword [esp + 0x48]
sar ecx, 8
sar esi, 8
mov ebx, 0x100
sub ebx, ecx
sub ebx, esi
sar edx, 8
sub ebx, edx
sar edi, 8
sub ebx, edi
mov dword [esp + 0x58], ebx
movzx ebx, word [esp + 0x78]
mov dword [esp + 0x60], ebx
movzx ebx, al
imul ebx, ecx
mov dword [esp + 0x44], ecx
movzx ecx, byte [esp + 0x54]
imul ecx, esi
add ebx, ecx
movzx ecx, byte [esp + 0x74]
mov dword [esp + 0x38], edx
imul ecx, edx
mov dword [esp + 0xb0], esi
add ebx, ecx
movzx edx, byte [esp + 0x5c]
imul edx, edi
add ebx, edx
mov ecx, dword [esp + 0xb8]
shr ebx, 8
imul ebx, dword [esp + 0x88]
shr ebx, cl
mov ecx, dword [esp + 0xd4]
mov edx, eax
and edx, 0xff0000
shl ebx, cl
imul edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x60]
and ecx, dword [esp + 0x40]
and eax, 0xff00
imul ecx, dword [esp + 0x58]
imul eax, dword [esp + 0x44]
shr ecx, 8
and ecx, dword [esp + 0x40]
add ebx, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff0000
imul ecx, esi
add edx, ecx
mov ecx, dword [esp + 0x74]
and ecx, 0xff0000
imul ecx, dword [esp + 0x38]
add edx, ecx
mov ecx, dword [esp + 0x5c]
and ecx, 0xff0000
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0xd0]
shr edx, 8
imul edx, dword [esp + 0xa0]
shr edx, cl
mov ecx, dword [esp + 0xa4]
shl edx, cl
mov ecx, dword [esp + 0x60]
and ecx, dword [esp + 0x34]
imul ecx, dword [esp + 0x58]
shr ecx, 8
and ecx, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00
imul ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x74]
and ecx, 0xff00
imul ecx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x5c]
and ecx, 0xff00
imul ecx, edi
add eax, ecx
mov ecx, dword [esp + 0x98]
shr eax, 8
imul eax, dword [esp + 0x7c]
shr eax, cl
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x94]
add dword [esp + 0x30], edi
shl eax, cl
mov ecx, dword [esp + 0x60]
or ebx, edx
mov edx, dword [esp + 0xac]
and ecx, edx
imul ecx, dword [esp + 0x58]
shr ecx, 8
and ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x3c]
or ebx, eax
mov eax, dword [esp + 0x68]
mov word [eax], bx
mov ebx, dword [esp + 0x70]
add eax, 2
mov dword [esp + 0x68], eax
add ecx, ebx
sub dword [esp + 0x2c], 1
mov esi, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
jne 0x41b54e
mov edx, dword [esp + 0x6c]
add dword [esp + 0x50], edx
mov eax, 1
add dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
add dword [esp + 0x8c], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41b349
jmp 0x41f357
cmp eax, 0x20
jne 0x41f361
fld qword [esp + 0xe0]
call fcn.005690a0
fld qword [esp + 0xd8]
mov dword [esp + 0x3c], eax
call fcn.005690a0
mov ecx, dword [esp + 0xbc]
mov ecx, dword [ecx + 0x90]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
imul eax, ecx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0xa4]
sar eax, 2
add eax, dword [esp + 0x64]
lea eax, [edx + eax*4]
mov dword [esp + 0x6c], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x1c]
call fcn.00404aa0
test al, al
fld qword [esp + 0xf0]
fcomp qword [0x5ba798]
je 0x41c226
cmp byte [0x5dcd4b], 0
fnstsw ax
je 0x41bd55
test ah, 0x41
mov dword [esp + 0x68], 0
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov ecx, dword [esp + 0x4c]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
lea edx, [ecx*4]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x30], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp edi, 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], edx
jg 0x41b9a3
test eax, eax
jl 0x41bd22
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x27fff
cdq
idiv edi
test eax, eax
jl 0x41b98b
mov dword [esp + 0x38], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x30]
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41ba14
mov dword [esp + 0x2c], eax
jmp 0x41ba14
cmp edi, 1
jl 0x41b9f0
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41bd22
mov eax, 0x10000
sub eax, dword [esp + 0x30]
cdq
idiv edi
test eax, eax
jle 0x41b9d1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x17fff
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41ba14
mov dword [esp + 0x2c], eax
jmp 0x41ba14
cmp dword [esp + 0x30], 0
jl 0x41bd22
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x30], edx
jge 0x41bd22
cmp ebx, 0xffffffff
jg 0x41ba54
cmp dword [esp + 0x44], 0
jl 0x41bd22
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41ba41
mov dword [esp + 0x38], eax
mov eax, ecx
cdq
idiv ebx
neg eax
cmp eax, dword [esp + 0x2c]
jge 0x41bac0
mov dword [esp + 0x2c], eax
jmp 0x41bac0
cmp ebx, 1
jl 0x41baa1
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x3c], eax
add eax, 0xffffffff
cmp dword [esp + 0x44], eax
jge 0x41bd22
mov eax, 0x10000
sub eax, ecx
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41ba84
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41bac0
mov dword [esp + 0x2c], eax
jmp 0x41bac0
test ecx, ecx
jl 0x41bd22
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
shl edx, 0x10
sub edx, 0x10000
cmp ecx, edx
jge 0x41bd22
mov eax, dword [esp + 0x38]
imul eax, edi
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov edx, eax
imul edx, ebx
add ecx, edx
mov edx, dword [esp + 0x6c]
lea edx, [edx + eax*4]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x2c]
cmp eax, edx
mov dword [esp + 0x98], ecx
jg 0x41bd22
sub edx, eax
add edx, 1
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x30]
mov esi, dword [esi + 0x24]
mov eax, ecx
sar eax, 0x10
imul eax, dword [esp + 0x7c]
mov edi, edx
sar edi, 0x10
add eax, edi
mov edi, dword [esp + 0x80]
mov ebx, dword [edi + eax*4]
lea eax, [edi + eax*4]
mov edi, dword [eax + 4]
lea eax, [eax + esi*4]
mov esi, dword [eax]
and ecx, 0xfffe
add ecx, 1
mov dword [esp + 0x48], esi
and edx, 0xfffe
add edx, 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x90], edx
mov eax, dword [eax + 4]
mov esi, 0x10000
sub esi, ecx
mov edi, 0x10000
sub edi, edx
imul edx, esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xa0], edi
imul edi, esi
mov esi, dword [esp + 0x54]
shr ebx, 0x18
shr esi, 0x18
shr edx, 0x10
imul edx, esi
mov esi, ecx
imul ecx, dword [esp + 0x90]
imul esi, dword [esp + 0xa0]
shr edi, 0x10
imul edi, ebx
mov ebx, dword [esp + 0x48]
shr ebx, 0x18
shr ecx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx]
mov dword [esp + 0x5c], ebx
shr ecx, 0x10
shr edx, 0x10
shr esi, 0x10
mov ebx, 0x100
sub ebx, ecx
sub ebx, esi
sub ebx, edx
shr edi, 0x10
sub ebx, edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x74], ecx
mov ebx, eax
and ebx, 0xff00
imul ebx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff00
imul ecx, esi
add ebx, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00
imul ecx, edx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x4c]
and edx, 0xff00
imul edx, edi
add ebx, ecx
mov ecx, dword [esp + 0x5c]
add ebx, edx
mov dword [esp + 0xa0], esi
and ebx, 0xffff0000
and ecx, 0xff00
imul ecx, dword [esp + 0x44]
movzx edx, byte [esp + 0x48]
add ebx, ecx
imul edx, esi
movzx ecx, al
imul ecx, dword [esp + 0x74]
add ecx, edx
movzx edx, byte [esp + 0x54]
imul edx, dword [esp + 0x84]
add ecx, edx
movzx edx, byte [esp + 0x4c]
mov esi, dword [esp + 0x5c]
imul edx, edi
add ecx, edx
mov edx, dword [esp + 0x44]
and ecx, 0xff00
and esi, 0xffff00ff
imul esi, edx
add ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff00ff
imul ecx, dword [esp + 0xa0]
and eax, 0xff00ff
imul eax, dword [esp + 0x74]
add eax, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00ff
imul ecx, dword [esp + 0x84]
add eax, ecx
mov ecx, dword [esp + 0x4c]
and ecx, 0xff00ff
imul ecx, edi
add eax, ecx
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x94]
add dword [esp + 0x30], edi
mov esi, dword [ebp + 8]
and ecx, 0xff00ff
imul ecx, edx
and eax, 0xff00ff00
add eax, ecx
mov ecx, dword [esp + 0x98]
and ebx, 0xff0000
xor ebx, eax
mov eax, dword [esp + 0x60]
shr ebx, 8
mov dword [eax], ebx
mov ebx, dword [esp + 0x70]
add eax, 4
add ecx, ebx
sub dword [esp + 0xa4], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x98], ecx
jne 0x41bb07
mov eax, 1
add dword [esp + 0x68], eax
fild dword [esp + 0x68]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x8c]
add dword [esp + 0x6c], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41b908
jmp 0x41f357
test ah, 0x41
mov dword [esp + 0x74], 0
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov ecx, dword [esp + 0x4c]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
lea edx, [ecx*4]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x30], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp edi, 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], edx
jg 0x41be60
test eax, eax
jl 0x41c1f3
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x27fff
cdq
idiv edi
test eax, eax
jl 0x41be48
mov dword [esp + 0x38], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x30]
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41bed1
mov dword [esp + 0x2c], eax
jmp 0x41bed1
cmp edi, 1
jl 0x41bead
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41c1f3
mov eax, 0x10000
sub eax, dword [esp + 0x30]
cdq
idiv edi
test eax, eax
jle 0x41be8e
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x17fff
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41bed1
mov dword [esp + 0x2c], eax
jmp 0x41bed1
cmp dword [esp + 0x30], 0
jl 0x41c1f3
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x30], edx
jge 0x41c1f3
cmp ebx, 0xffffffff
jg 0x41bf11
cmp dword [esp + 0x44], 0
jl 0x41c1f3
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41befe
mov dword [esp + 0x38], eax
mov eax, ecx
cdq
idiv ebx
neg eax
cmp eax, dword [esp + 0x2c]
jge 0x41bf7d
mov dword [esp + 0x2c], eax
jmp 0x41bf7d
cmp ebx, 1
jl 0x41bf5e
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x3c], eax
add eax, 0xffffffff
cmp dword [esp + 0x44], eax
jge 0x41c1f3
mov eax, 0x10000
sub eax, ecx
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41bf41
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41bf7d
mov dword [esp + 0x2c], eax
jmp 0x41bf7d
test ecx, ecx
jl 0x41c1f3
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
shl edx, 0x10
sub edx, 0x10000
cmp ecx, edx
jge 0x41c1f3
mov eax, dword [esp + 0x38]
imul eax, edi
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov edx, eax
imul edx, ebx
add ecx, edx
mov edx, dword [esp + 0x6c]
lea edx, [edx + eax*4]
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x2c]
cmp eax, edx
mov dword [esp + 0x3c], ecx
jg 0x41c1f3
sub edx, eax
add edx, 1
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov esi, dword [esi + 0x24]
mov eax, ecx
sar eax, 0x10
imul eax, dword [esp + 0x7c]
mov edi, edx
sar edi, 0x10
add eax, edi
mov edi, dword [esp + 0x80]
mov ebx, dword [edi + eax*4]
lea eax, [edi + eax*4]
mov edi, dword [eax + 4]
lea eax, [eax + esi*4]
mov esi, dword [eax]
and ecx, 0xfffe
add ecx, 1
mov dword [esp + 0x48], esi
and edx, 0xfffe
add edx, 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x90], edx
mov eax, dword [eax + 4]
mov esi, 0x10000
sub esi, ecx
mov edi, 0x10000
sub edi, edx
imul edx, esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xa0], edi
imul edi, esi
mov esi, dword [esp + 0x54]
shr ebx, 0x18
shr esi, 0x18
shr edx, 0x10
imul edx, esi
mov esi, ecx
imul ecx, dword [esp + 0x90]
imul esi, dword [esp + 0xa0]
shr edi, 0x10
imul edi, ebx
mov ebx, dword [esp + 0x48]
shr ebx, 0x18
shr ecx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
mov ebx, dword [esp + 0x58]
mov ebx, dword [ebx]
mov dword [esp + 0x5c], ebx
shr ecx, 0x10
shr edx, 0x10
shr esi, 0x10
mov ebx, 0x100
sub ebx, ecx
sub ebx, esi
sub ebx, edx
shr edi, 0x10
sub ebx, edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x44], ecx
mov ebx, eax
and ebx, 0xff00
imul ebx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff00
imul ecx, esi
add ebx, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00
imul ecx, edx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x4c]
and edx, 0xff00
imul edx, edi
add ebx, ecx
mov ecx, dword [esp + 0x98]
add ebx, edx
mov dword [esp + 0xa0], esi
shr ebx, cl
mov ecx, dword [esp + 0x84]
shl ebx, cl
mov ecx, dword [esp + 0x5c]
and ecx, dword [esp + 0xac]
movzx edx, al
imul ecx, dword [esp + 0x60]
imul edx, dword [esp + 0x44]
shr ecx, 8
and ecx, dword [esp + 0xac]
and eax, 0xff0000
add ebx, ecx
imul eax, dword [esp + 0x44]
movzx ecx, byte [esp + 0x48]
imul ecx, esi
add edx, ecx
movzx ecx, byte [esp + 0x54]
imul ecx, dword [esp + 0x38]
add edx, ecx
movzx ecx, byte [esp + 0x4c]
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0xb8]
shr edx, cl
mov ecx, dword [esp + 0xd4]
shl edx, cl
mov ecx, dword [esp + 0x5c]
and ecx, dword [esp + 0x40]
imul ecx, dword [esp + 0x60]
shr ecx, 8
and ecx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff0000
imul ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff0000
imul ecx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x4c]
and ecx, 0xff0000
imul ecx, edi
add eax, ecx
mov ecx, dword [esp + 0xd0]
shr eax, cl
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0x94]
add dword [esp + 0x30], edi
shl eax, cl
mov ecx, dword [esp + 0x5c]
or ebx, edx
mov edx, dword [esp + 0x34]
and ecx, edx
imul ecx, dword [esp + 0x60]
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x3c]
or ebx, eax
mov eax, dword [esp + 0x58]
mov dword [eax], ebx
mov ebx, dword [esp + 0x70]
add eax, 4
add ecx, ebx
sub dword [esp + 0x2c], 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], ecx
jne 0x41bfbe
mov edx, dword [esp + 0x8c]
add dword [esp + 0x6c], edx
mov eax, 1
add dword [esp + 0x74], eax
fild dword [esp + 0x74]
add dword [esp + 0x68], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41bdc5
jmp 0x41f357
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
add eax, 1
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 4]
add eax, 1
mov dword [esp + 0xb0], eax
mov eax, dword [ecx + 8]
add eax, 1
mov dword [esp + 0xa0], eax
fnstsw ax
mov dword [esp + 0x68], 0
test ah, 0x41
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov ecx, dword [esp + 0x4c]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
lea edx, [ecx*4]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x30], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp edi, 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], edx
jg 0x41c363
test eax, eax
jl 0x41c72c
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x27fff
cdq
idiv edi
test eax, eax
jl 0x41c34b
mov dword [esp + 0x38], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x30]
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41c3d4
mov dword [esp + 0x2c], eax
jmp 0x41c3d4
cmp edi, 1
jl 0x41c3b0
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41c72c
mov eax, 0x10000
sub eax, dword [esp + 0x30]
cdq
idiv edi
test eax, eax
jle 0x41c391
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x30]
sub eax, 0x17fff
cdq
idiv edi
cmp eax, dword [esp + 0x2c]
jge 0x41c3d4
mov dword [esp + 0x2c], eax
jmp 0x41c3d4
cmp dword [esp + 0x30], 0
jl 0x41c72c
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x30], edx
jge 0x41c72c
cmp ebx, 0xffffffff
jg 0x41c414
cmp dword [esp + 0x44], 0
jl 0x41c72c
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41c401
mov dword [esp + 0x38], eax
mov eax, ecx
cdq
idiv ebx
neg eax
cmp eax, dword [esp + 0x2c]
jge 0x41c480
mov dword [esp + 0x2c], eax
jmp 0x41c480
cmp ebx, 1
jl 0x41c461
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x3c], eax
add eax, 0xffffffff
cmp dword [esp + 0x44], eax
jge 0x41c72c
mov eax, 0x10000
sub eax, ecx
cdq
idiv ebx
cmp eax, dword [esp + 0x38]
jle 0x41c444
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41c480
mov dword [esp + 0x2c], eax
jmp 0x41c480
test ecx, ecx
jl 0x41c72c
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
shl edx, 0x10
sub edx, 0x10000
cmp ecx, edx
jge 0x41c72c
mov eax, dword [esp + 0x38]
imul eax, edi
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov edx, eax
imul edx, ebx
add ecx, edx
mov edx, dword [esp + 0x6c]
lea edx, [edx + eax*4]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x2c]
cmp eax, edx
mov dword [esp + 0x50], ecx
jg 0x41c72c
sub edx, eax
add edx, 1
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x60]
mov esi, dword [esi + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [edx]
mov eax, ecx
sar eax, 0x10
imul eax, dword [esp + 0x7c]
mov ebx, edi
sar ebx, 0x10
add eax, ebx
mov ebx, dword [esp + 0x80]
lea eax, [ebx + eax*4]
mov ebx, dword [eax]
mov dword [esp + 0x38], ebx
mov ebx, dword [eax + 4]
lea eax, [eax + esi*4]
mov esi, dword [eax]
mov dword [esp + 0x48], esi
and edi, 0xfffe
and ecx, 0xfffe
mov dword [esp + 0x4c], edx
add edi, 1
add ecx, 1
mov dword [esp + 0x44], edi
mov edx, 0x10000
sub edx, edi
mov edi, edx
imul edx, ecx
mov esi, 0x10000
sub esi, ecx
imul ecx, dword [esp + 0x44]
imul edi, esi
imul esi, dword [esp + 0x44]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x38]
shr ebx, 0x18
shr esi, 0x10
shr edi, 0x10
imul edi, ebx
mov ebx, dword [esp + 0x54]
shr ebx, 0x18
imul esi, ebx
mov eax, dword [eax + 4]
shr esi, 0x10
imul esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x5c]
sar esi, 8
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x48]
shr edx, 0x10
shr esi, 0x18
imul edx, esi
shr ecx, 0x10
mov esi, eax
shr esi, 0x18
imul ecx, esi
shr ecx, 0x10
imul ecx, ebx
shr edx, 0x10
imul edx, ebx
sar ecx, 8
movzx esi, al
imul esi, ecx
sar edx, 8
mov dword [esp + 0x44], ecx
mov ebx, 0x100
sub ebx, ecx
movzx ecx, byte [esp + 0x48]
sub ebx, edx
imul ecx, edx
sub ebx, dword [esp + 0x74]
shr edi, 0x10
imul edi, dword [esp + 0x5c]
mov dword [esp + 0x2c], edx
movzx edx, byte [esp + 0x54]
imul edx, dword [esp + 0x74]
sar edi, 8
sub ebx, edi
add esi, ecx
movzx ecx, byte [esp + 0x38]
mov dword [esp + 0x3c], ebx
add esi, edx
imul ecx, edi
add esi, ecx
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x4c]
shr esi, 8
imul esi, dword [esp + 0xa0]
shr esi, cl
mov ecx, dword [esp + 0xd4]
shl esi, cl
mov ecx, dword [esp + 0x40]
and edx, ecx
imul edx, ebx
shr edx, 8
and edx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff0000
imul ecx, dword [esp + 0x2c]
add esi, edx
mov edx, eax
and edx, 0xff0000
imul edx, dword [esp + 0x44]
add edx, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff0000
imul ecx, dword [esp + 0x74]
add edx, ecx
mov ecx, dword [esp + 0x38]
and ecx, 0xff0000
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0xd0]
shr edx, 8
imul edx, dword [esp + 0x90]
shr edx, cl
mov ecx, dword [esp + 0xa4]
and eax, 0xff00
imul eax, dword [esp + 0x44]
shl edx, cl
mov ecx, dword [esp + 0x4c]
and ecx, dword [esp + 0x34]
imul ecx, ebx
shr ecx, 8
and ecx, dword [esp + 0x34]
add edx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff00
imul ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00
imul ecx, dword [esp + 0x74]
add eax, ecx
mov ecx, dword [esp + 0x38]
and ecx, 0xff00
imul ecx, edi
add eax, ecx
mov ecx, dword [esp + 0x98]
shr eax, 8
imul eax, dword [esp + 0xb0]
shr eax, cl
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x94]
add dword [esp + 0x30], edi
shl eax, cl
mov ecx, dword [esp + 0x4c]
or esi, edx
mov edx, dword [esp + 0xac]
and ecx, edx
imul ecx, ebx
mov ebx, dword [esp + 0x70]
shr ecx, 8
and ecx, edx
mov edx, dword [esp + 0x60]
add eax, ecx
mov ecx, dword [esp + 0x50]
or esi, eax
mov dword [edx], esi
add edx, 4
add ecx, ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], ecx
sub dword [esp + 0x88], 1
mov esi, dword [ebp + 8]
jne 0x41c4c8
mov edx, dword [esp + 0x8c]
add dword [esp + 0x6c], edx
mov eax, 1
add dword [esp + 0x68], eax
fild dword [esp + 0x68]
add dword [esp + 0x58], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41c2c8
jmp 0x41f357
mov edx, dword [ebp + 0x14]
fld qword [ebp + 0x24]
imul eax, dword [edx + 4]
add eax, dword [ecx + 0x4c]
add eax, dword [edx]
mov dword [esp + 0xd4], eax
call fcn.00569f50
fstp qword [esp + 0xc8]
fld qword [ebp + 0x24]
call fcn.00569e20
fst qword [esp + 0xc0]
fld qword [esp + 0xc8]
fld qword [0x5ba890]
fmul st(1), st(0)
fxch st(1)
call fcn.005690a0
fmulp st(1)
mov ebx, eax
mov dword [esp + 0xac], ebx
call fcn.005690a0
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x50], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xbc]
call edx
test al, al
je 0x420eff
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 0x6c]
mov edx, dword [eax + 0x20]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0xa4], edx
mov edx, 0x20
sub edx, dword [eax + 0x14]
mov dword [esp + 0xd0], edx
mov edx, 0x18
sub edx, dword [eax + 0x18]
mov dword [esp + 0x54], edx
mov edx, 0x10
sub edx, dword [eax + 0x1c]
mov eax, dword [ecx + 0xd4]
cmp eax, 0x10
mov dword [esp + 0x98], edx
mov edx, dword [ecx + 0xd8]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 0xdc]
mov ecx, dword [ecx + 0xe0]
mov dword [esp + 0x8c], edx
mov dword [esp + 0xb8], ecx
jne 0x41e2b9
fld qword [esp + 0xe0]
call fcn.005690a0
fld qword [esp + 0xd8]
mov dword [esp + 0x3c], eax
call fcn.005690a0
mov edx, dword [esp + 0xbc]
mov ecx, dword [edx + 0x90]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
imul eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0xa4]
sar eax, 1
add eax, dword [esp + 0x64]
lea eax, [edx + eax*2]
mov dword [esp + 0x30], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x1c]
call fcn.00404aa0
test al, al
fld qword [esp + 0xf0]
fcomp qword [0x5ba798]
je 0x41dd36
cmp byte [0x5dcd4b], 0
je 0x41d7fd
mov eax, dword [esp + 0x8c]
cmp eax, 0x7e0
jne 0x41cde0
fnstsw ax
mov dword [esp + 0x58], 0
test ah, 0x41
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov ecx, dword [esp + 0x84]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
lea edx, [ecx + ecx]
mov dword [esp + 0x80], edx
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x34], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x40], eax
sar eax, 0x10
sar edx, 0x10
cmp ebx, 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x88], eax
jg 0x41c9ef
test edx, edx
jl 0x41cdad
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x27fff
cdq
idiv ebx
test eax, eax
jl 0x41c9e4
mov dword [esp + 0x2c], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x34]
jmp 0x41ca2d
cmp ebx, 1
jl 0x41ca3c
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
add eax, 0xffffffff
cmp edx, eax
jge 0x41cdad
mov eax, 0x10000
sub eax, dword [esp + 0x34]
cdq
idiv ebx
test eax, eax
jle 0x41ca1d
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, ecx
jge 0x41ca5f
mov ecx, eax
mov dword [esp + 0x48], ecx
jmp 0x41ca5f
cmp dword [esp + 0x34], 0
jl 0x41cdad
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
shl eax, 0x10
sub eax, 0x10000
cmp dword [esp + 0x34], eax
jge 0x41cdad
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
jg 0x41caae
cmp dword [esp + 0x88], 0
jl 0x41cdad
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xc]
shl eax, 0x10
sub eax, dword [esp + 0x40]
sub eax, 0x27fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x2c]
jle 0x41ca97
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
cdq
idiv dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
neg eax
cmp eax, ecx
jge 0x41cb27
mov ecx, eax
jmp 0x41cb27
cmp eax, 1
jl 0x41cb04
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x88], eax
jge 0x41cdad
mov eax, 0x10000
sub eax, dword [esp + 0x40]
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x2c]
jle 0x41cae1
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
sub eax, 0x17fff
cdq
idiv dword [esp + 0x50]
cmp eax, ecx
jge 0x41cb27
mov ecx, eax
jmp 0x41cb27
cmp dword [esp + 0x40], 0
jl 0x41cdad
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp dword [esp + 0x40], eax
jge 0x41cdad
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
imul edx, ebx
imul eax, dword [esp + 0x50]
add dword [esp + 0x34], edx
add dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
mov edx, dword [esp + 0x30]
lea edx, [edx + eax*2]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x7c], edx
jg 0x41cdad
sub ecx, eax
add ecx, 1
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov edx, eax
sar edx, 0x10
imul edx, dword [esp + 0x7c]
add edx, dword [esp + 0xd4]
mov ecx, ebx
sar ecx, 0x10
add ecx, edx
movzx edx, byte [ecx]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x74], edx
movzx edx, byte [ecx + 1]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x24]
add ecx, edx
movzx edx, byte [ecx]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x48], edx
and ebx, 0xfffe
add ebx, 1
and eax, 0xfffe
add eax, 1
mov dword [esp + 0x88], ebx
mov esi, 0x10000
sub esi, ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xa0], esi
mov edx, 0x10000
sub edx, eax
imul esi, edx
imul edx, dword [esp + 0x88]
shr ebx, 0x18
shr edx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, dword [esp + 0x54]
shr ebx, 0x18
imul edx, ebx
movzx ecx, byte [ecx + 1]
mov ebx, dword [esp + 0x48]
mov ecx, dword [edi + ecx*4]
shr edx, 0x10
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xa0]
imul edx, eax
imul eax, dword [esp + 0x88]
shr edx, 0x10
shr ebx, 0x18
imul edx, ebx
shr eax, 0x10
mov ebx, ecx
shr ebx, 0x18
imul eax, ebx
shr eax, 0x10
mov ebx, eax
shr edx, 0x10
mov eax, ecx
and eax, 0xffff00ff
imul eax, ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x48]
and ebx, 0xffff00ff
imul ebx, edx
mov edx, dword [esp + 0x54]
and edx, 0xffff00ff
imul edx, dword [esp + 0x84]
add eax, ebx
add eax, edx
mov edx, dword [esp + 0x74]
shr esi, 0x10
and edx, 0xffff00ff
imul edx, esi
add eax, edx
mov edx, ecx
and edx, 0xff00
imul edx, dword [esp + 0x4c]
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0x48]
and esi, 0xff00
imul esi, dword [esp + 0x5c]
add edx, esi
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x74]
and esi, 0xff00
imul esi, dword [esp + 0x84]
add edx, esi
mov esi, dword [esp + 0x90]
and ebx, 0xff00
imul ebx, esi
add edx, ebx
xor eax, edx
mov edx, dword [esp + 0x48]
and ecx, 0xff00ff
imul ecx, dword [esp + 0x4c]
and edx, 0xff00ff
imul edx, dword [esp + 0x5c]
add ecx, edx
mov edx, dword [esp + 0x54]
and edx, 0xff00ff
imul edx, dword [esp + 0x84]
add ecx, edx
mov edx, dword [esp + 0x74]
and edx, 0xff00ff
imul edx, esi
add ecx, edx
mov edx, dword [esp + 0x44]
movzx ebx, word [edx]
and eax, 0xff0000
xor eax, ecx
mov ecx, 0x100
sub ecx, dword [esp + 0x4c]
shr eax, 8
sub ecx, dword [esp + 0x5c]
add edx, 2
sub ecx, dword [esp + 0x84]
mov dword [esp + 0x44], edx
sub ecx, esi
sar ecx, 3
mov esi, ebx
shl esi, 0x10
or esi, ebx
and esi, 0x7e0f81f
imul ecx, esi
mov ebx, dword [esp + 0xac]
add dword [esp + 0x34], ebx
mov esi, eax
shr ecx, 5
and esi, 0xfc00
shl esi, 0xb
and ecx, 0x7e0f81f
add ecx, esi
mov esi, eax
shr esi, 3
shr eax, 8
and esi, 0x1f
and eax, 0xf800
add ecx, esi
mov esi, dword [ebp + 8]
add ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
mov ecx, dword [esp + 0x50]
add dword [esp + 0x40], ecx
sub dword [esp + 0x68], 1
mov word [edx - 2], ax
jne 0x41cb66
mov edx, dword [esp + 0x80]
add dword [esp + 0x30], edx
mov eax, 1
add dword [esp + 0x58], eax
fild dword [esp + 0x58]
add dword [esp + 0x60], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41c95e
jmp 0x41f357
cmp eax, 0x3e0
fnstsw ax
jne 0x41d2de
test ah, 0x41
mov dword [esp + 0x58], 0
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov edx, dword [esp + 0x3c]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x84]
lea ecx, [eax + eax]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x60], edx
fild dword [esp + 0x60]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x34], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x40], eax
sar eax, 0x10
sar edx, 0x10
cmp ebx, 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x88], eax
jg 0x41ceed
test edx, edx
jl 0x41d2ab
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x27fff
cdq
idiv ebx
test eax, eax
jl 0x41cee2
mov dword [esp + 0x2c], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x34]
jmp 0x41cf2b
cmp ebx, 1
jl 0x41cf3a
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
add eax, 0xffffffff
cmp edx, eax
jge 0x41d2ab
mov eax, 0x10000
sub eax, dword [esp + 0x34]
cdq
idiv ebx
test eax, eax
jle 0x41cf1b
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, ecx
jge 0x41cf5d
mov ecx, eax
mov dword [esp + 0x48], ecx
jmp 0x41cf5d
cmp dword [esp + 0x34], 0
jl 0x41d2ab
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
shl eax, 0x10
sub eax, 0x10000
cmp dword [esp + 0x34], eax
jge 0x41d2ab
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
jg 0x41cfac
cmp dword [esp + 0x88], 0
jl 0x41d2ab
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xc]
shl eax, 0x10
sub eax, dword [esp + 0x40]
sub eax, 0x27fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x2c]
jle 0x41cf95
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
cdq
idiv dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
neg eax
cmp eax, ecx
jge 0x41d025
mov ecx, eax
jmp 0x41d025
cmp eax, 1
jl 0x41d002
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x88], eax
jge 0x41d2ab
mov eax, 0x10000
sub eax, dword [esp + 0x40]
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x2c]
jle 0x41cfdf
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
sub eax, 0x17fff
cdq
idiv dword [esp + 0x50]
cmp eax, ecx
jge 0x41d025
mov ecx, eax
jmp 0x41d025
cmp dword [esp + 0x40], 0
jl 0x41d2ab
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp dword [esp + 0x40], eax
jge 0x41d2ab
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
imul edx, ebx
imul eax, dword [esp + 0x50]
add dword [esp + 0x34], edx
add dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
mov edx, dword [esp + 0x30]
lea edx, [edx + eax*2]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x7c], edx
jg 0x41d2ab
sub ecx, eax
add ecx, 1
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov edx, eax
sar edx, 0x10
imul edx, dword [esp + 0x7c]
add edx, dword [esp + 0xd4]
mov ecx, ebx
sar ecx, 0x10
add ecx, edx
movzx edx, byte [ecx]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x74], edx
movzx edx, byte [ecx + 1]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x24]
add ecx, edx
movzx edx, byte [ecx]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x48], edx
and ebx, 0xfffe
add ebx, 1
and eax, 0xfffe
add eax, 1
mov dword [esp + 0x88], ebx
mov esi, 0x10000
sub esi, ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xa0], esi
mov edx, 0x10000
sub edx, eax
imul esi, edx
imul edx, dword [esp + 0x88]
shr ebx, 0x18
shr edx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, dword [esp + 0x54]
shr ebx, 0x18
imul edx, ebx
movzx ecx, byte [ecx + 1]
mov ebx, dword [esp + 0x48]
mov ecx, dword [edi + ecx*4]
shr edx, 0x10
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xa0]
imul edx, eax
imul eax, dword [esp + 0x88]
shr edx, 0x10
shr ebx, 0x18
imul edx, ebx
shr eax, 0x10
mov ebx, ecx
shr ebx, 0x18
imul eax, ebx
shr eax, 0x10
mov ebx, eax
shr edx, 0x10
mov eax, ecx
and eax, 0xffff00ff
imul eax, ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x48]
and ebx, 0xffff00ff
imul ebx, edx
mov edx, dword [esp + 0x54]
and edx, 0xffff00ff
imul edx, dword [esp + 0x84]
add eax, ebx
add eax, edx
mov edx, dword [esp + 0x74]
shr esi, 0x10
and edx, 0xffff00ff
imul edx, esi
add eax, edx
mov edx, ecx
and edx, 0xff00
imul edx, dword [esp + 0x4c]
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0x48]
and esi, 0xff00
imul esi, dword [esp + 0x5c]
add edx, esi
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x74]
and esi, 0xff00
imul esi, dword [esp + 0x84]
add edx, esi
mov esi, dword [esp + 0x90]
and ebx, 0xff00
imul ebx, esi
add edx, ebx
xor eax, edx
mov edx, dword [esp + 0x48]
and ecx, 0xff00ff
imul ecx, dword [esp + 0x4c]
and edx, 0xff00ff
imul edx, dword [esp + 0x5c]
add ecx, edx
mov edx, dword [esp + 0x54]
and edx, 0xff00ff
imul edx, dword [esp + 0x84]
add ecx, edx
mov edx, dword [esp + 0x74]
and edx, 0xff00ff
imul edx, esi
add ecx, edx
mov edx, dword [esp + 0x44]
movzx ebx, word [edx]
and eax, 0xff0000
xor eax, ecx
mov ecx, 0x100
sub ecx, dword [esp + 0x4c]
shr eax, 8
sub ecx, dword [esp + 0x5c]
add edx, 2
sub ecx, dword [esp + 0x84]
mov dword [esp + 0x44], edx
sub ecx, esi
sar ecx, 3
mov esi, ebx
shl esi, 0x10
or esi, ebx
and esi, 0x3e07c1f
imul ecx, esi
mov ebx, dword [esp + 0xac]
add dword [esp + 0x34], ebx
mov esi, eax
shr ecx, 5
shr esi, 3
and esi, 0x1f
and ecx, 0x3e07c1f
add ecx, esi
mov esi, eax
shr esi, 9
and eax, 0xf800
and esi, 0x7c00
shl eax, 0xa
add ecx, esi
mov esi, dword [ebp + 8]
add ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
mov ecx, dword [esp + 0x50]
add dword [esp + 0x40], ecx
sub dword [esp + 0x68], 1
mov word [edx - 2], ax
jne 0x41d064
mov edx, dword [esp + 0x80]
add dword [esp + 0x30], edx
mov eax, 1
add dword [esp + 0x58], eax
fild dword [esp + 0x58]
add dword [esp + 0x60], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41ce5c
jmp 0x41f357
test ah, 0x41
mov dword [esp + 0x68], 0
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov edx, dword [esp + 0x3c]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x84]
lea ecx, [eax + eax]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x34], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov ecx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp ebx, 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x88], edx
jg 0x41d3eb
test eax, eax
jl 0x41d7ca
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x27fff
cdq
idiv ebx
test eax, eax
jl 0x41d3d3
mov dword [esp + 0x2c], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x34]
cdq
idiv ebx
cmp eax, dword [esp + 0x6c]
jge 0x41d45c
mov dword [esp + 0x6c], eax
jmp 0x41d45c
cmp ebx, 1
jl 0x41d438
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41d7ca
mov eax, 0x10000
sub eax, dword [esp + 0x34]
cdq
idiv ebx
test eax, eax
jle 0x41d419
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x6c]
jge 0x41d45c
mov dword [esp + 0x6c], eax
jmp 0x41d45c
cmp dword [esp + 0x34], 0
jl 0x41d7ca
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x34], edx
jge 0x41d7ca
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
jg 0x41d4a7
cmp dword [esp + 0x88], 0
jl 0x41d7ca
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x2c]
jle 0x41d492
mov dword [esp + 0x2c], eax
mov eax, ecx
cdq
idiv dword [esp + 0x50]
neg eax
cmp eax, dword [esp + 0x6c]
jge 0x41d517
mov dword [esp + 0x6c], eax
jmp 0x41d517
cmp eax, 1
jl 0x41d4f9
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x88], eax
jge 0x41d7ca
mov eax, 0x10000
sub eax, ecx
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x2c]
jle 0x41d4d8
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x6c]
jge 0x41d517
mov dword [esp + 0x6c], eax
jmp 0x41d517
test ecx, ecx
jl 0x41d7ca
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp ecx, eax
jge 0x41d7ca
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
imul edx, ebx
imul eax, dword [esp + 0x50]
add dword [esp + 0x34], edx
mov edx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x2c]
lea edx, [edx + eax*2]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x6c]
cmp eax, edx
mov dword [esp + 0x70], ecx
jg 0x41d7ca
sub edx, eax
add edx, 1
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x34]
mov edx, ecx
sar edx, 0x10
imul edx, dword [esp + 0x7c]
add edx, dword [esp + 0xd4]
mov eax, ebx
sar eax, 0x10
add eax, edx
movzx edx, byte [eax]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x40], edx
movzx edx, byte [eax + 1]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x24]
and ebx, 0xfffe
add ebx, 1
add eax, edx
movzx edx, byte [eax]
mov edx, dword [edi + edx*4]
and ecx, 0xfffe
add ecx, 1
mov dword [esp + 0x88], ebx
mov dword [esp + 0x94], edx
mov edx, 0x10000
sub edx, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xa0], edx
shr ebx, 0x18
mov esi, 0x10000
sub esi, ecx
imul edx, esi
imul esi, dword [esp + 0x88]
shr edx, 0x10
imul edx, ebx
mov ebx, dword [esp + 0x2c]
shr ebx, 0x18
shr esi, 0x10
imul esi, ebx
movzx eax, byte [eax + 1]
mov ebx, dword [esp + 0x94]
mov eax, dword [edi + eax*4]
shr esi, 0x10
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0xa0]
imul esi, ecx
imul ecx, dword [esp + 0x88]
shr ebx, 0x18
shr ecx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
shr ecx, 0x10
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x60]
movzx ecx, word [ecx]
shr esi, 0x10
mov ebx, 0x100
sub ebx, dword [esp + 0x84]
movzx ecx, cx
sub ebx, esi
sub ebx, dword [esp + 0x6c]
shr edx, 0x10
sub ebx, edx
mov dword [esp + 0x4c], ecx
movzx ecx, byte [esp + 0x94]
mov dword [esp + 0x5c], ebx
imul ecx, esi
movzx ebx, al
imul ebx, dword [esp + 0x84]
add ebx, ecx
movzx ecx, byte [esp + 0x2c]
imul ecx, dword [esp + 0x6c]
add ebx, ecx
movzx ecx, byte [esp + 0x40]
imul ecx, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], esi
add ebx, ecx
mov ecx, dword [esp + 0x98]
shr ebx, cl
mov ecx, dword [esp + 0xa4]
shl ebx, cl
mov ecx, dword [esp + 0xb8]
mov edx, ecx
and edx, dword [esp + 0x4c]
imul edx, dword [esp + 0x5c]
shr edx, 8
and edx, ecx
mov ecx, dword [esp + 0x94]
and ecx, 0xff0000
imul ecx, esi
add ebx, edx
mov edx, eax
and edx, 0xff0000
imul edx, dword [esp + 0x84]
add edx, ecx
mov ecx, dword [esp + 0x2c]
and ecx, 0xff0000
imul ecx, dword [esp + 0x6c]
add edx, ecx
mov ecx, dword [esp + 0x40]
and ecx, 0xff0000
imul ecx, dword [esp + 0x3c]
add edx, ecx
mov ecx, dword [esp + 0xd0]
shr edx, cl
mov ecx, dword [esp + 0x74]
and eax, 0xff00
imul eax, dword [esp + 0x84]
shl edx, cl
mov ecx, dword [esp + 0x38]
and ecx, dword [esp + 0x4c]
imul ecx, dword [esp + 0x5c]
shr ecx, 8
and ecx, dword [esp + 0x38]
add edx, ecx
mov ecx, dword [esp + 0x94]
and ecx, 0xff00
imul ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x2c]
and ecx, 0xff00
imul ecx, dword [esp + 0x6c]
add eax, ecx
mov ecx, dword [esp + 0x40]
and ecx, 0xff00
imul ecx, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [esp + 0x54]
shr eax, cl
mov ecx, dword [esp + 0x48]
or ebx, edx
mov esi, dword [ebp + 8]
shl eax, cl
mov ecx, dword [esp + 0x8c]
mov edx, ecx
and edx, dword [esp + 0x4c]
imul edx, dword [esp + 0x5c]
shr edx, 8
and edx, ecx
mov ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x50]
add eax, edx
or ebx, eax
mov eax, dword [esp + 0x60]
mov word [eax], bx
mov ebx, dword [esp + 0xac]
add dword [esp + 0x34], ebx
add eax, 2
sub dword [esp + 0x78], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], ecx
jne 0x41d55c
mov eax, 1
add dword [esp + 0x68], eax
fild dword [esp + 0x68]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x80]
add dword [esp + 0x30], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41d34d
jmp 0x41f357
fnstsw ax
mov dword [esp + 0x68], 0
test ah, 0x41
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov ecx, dword [esp + 0x84]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
lea edx, [ecx + ecx]
mov dword [esp + 0x80], edx
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x34], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], edx
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp ebx, 0xffffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], edx
jg 0x41d909
test eax, eax
jl 0x41dd03
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x27fff
cdq
idiv ebx
test eax, eax
jl 0x41d8f1
mov dword [esp + 0x6c], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x34]
cdq
idiv ebx
cmp eax, dword [esp + 0x40]
jge 0x41d97a
mov dword [esp + 0x40], eax
jmp 0x41d97a
cmp ebx, 1
jl 0x41d956
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41dd03
mov eax, 0x10000
sub eax, dword [esp + 0x34]
cdq
idiv ebx
test eax, eax
jle 0x41d937
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x40]
jge 0x41d97a
mov dword [esp + 0x40], eax
jmp 0x41d97a
cmp dword [esp + 0x34], 0
jl 0x41dd03
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x34], edx
jge 0x41dd03
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
jg 0x41d9c2
cmp dword [esp + 0x78], 0
jl 0x41dd03
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x6c]
jle 0x41d9ad
mov dword [esp + 0x6c], eax
mov eax, ecx
cdq
idiv dword [esp + 0x50]
neg eax
cmp eax, dword [esp + 0x40]
jge 0x41da2f
mov dword [esp + 0x40], eax
jmp 0x41da2f
cmp eax, 1
jl 0x41da11
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jge 0x41dd03
mov eax, 0x10000
sub eax, ecx
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x6c]
jle 0x41d9f0
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x40]
jge 0x41da2f
mov dword [esp + 0x40], eax
jmp 0x41da2f
test ecx, ecx
jl 0x41dd03
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp ecx, eax
jge 0x41dd03
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
imul edx, ebx
imul eax, dword [esp + 0x50]
add dword [esp + 0x34], edx
mov edx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x40]
lea edx, [edx + eax*2]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x7c], edx
jg 0x41dd03
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x6c]
add eax, 1
mov dword [esp + 0x44], eax
jmp 0x41da7e
mov ecx, dword [esp + 0x2c]
mov esi, dword [esi + 0x24]
mov eax, ecx
mov ecx, dword [esp + 0x34]
sar eax, 0x10
imul eax, dword [esp + 0x7c]
add eax, dword [esp + 0xd4]
mov edx, ecx
sar edx, 0x10
movzx ebx, byte [edx + eax]
mov ebx, dword [edi + ebx*4]
add edx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], ebx
movzx ebx, byte [edx + 1]
mov ebx, dword [edi + ebx*4]
add edx, esi
movzx esi, byte [edx]
mov esi, dword [edi + esi*4]
movzx edx, byte [edx + 1]
mov edx, dword [edi + edx*4]
and eax, 0xfffe
mov dword [esp + 0x70], esi
add eax, 1
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x84], edx
and ecx, 0xfffe
add ecx, 1
mov dword [esp + 0x90], ecx
mov esi, 0x10000
sub esi, eax
mov edx, 0x10000
sub edx, ecx
imul ecx, esi
mov dword [esp + 0xa0], edx
imul edx, esi
mov esi, dword [esp + 0x94]
shr ebx, 0x18
shr esi, 0x18
shr ecx, 0x10
imul ecx, esi
mov esi, eax
imul eax, dword [esp + 0x90]
imul esi, dword [esp + 0xa0]
shr edx, 0x10
imul edx, ebx
mov ebx, dword [esp + 0x70]
shr ebx, 0x18
shr esi, 0x10
imul esi, ebx
mov ebx, dword [esp + 0x84]
shr ebx, 0x18
shr eax, 0x10
imul eax, ebx
mov ebx, dword [esp + 0x60]
movzx ebx, word [ebx]
mov dword [esp + 0xa0], ebx
shr eax, 0x10
shr esi, 0x10
mov ebx, 0x100
sub ebx, eax
sub ebx, esi
shr ecx, 0x10
sub ebx, ecx
shr edx, 0x10
sub ebx, edx
mov dword [esp + 0x5c], ebx
movzx ebx, word [esp + 0xa0]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x78], eax
and ebx, 0xff0000
imul ebx, eax
mov eax, dword [esp + 0x70]
and eax, 0xff0000
imul eax, esi
add ebx, eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x88], ecx
mov dword [esp + 0xb0], esi
and eax, 0xff0000
imul eax, ecx
mov ecx, dword [esp + 0x6c]
and ecx, 0xff0000
imul ecx, edx
add ebx, eax
mov eax, dword [esp + 0x38]
and eax, dword [esp + 0x4c]
add ebx, ecx
imul eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xd0]
shr ebx, cl
mov ecx, dword [esp + 0x74]
shr eax, 8
and eax, dword [esp + 0x38]
shl ebx, cl
mov ecx, dword [esp + 0x70]
and ecx, 0xff00
imul ecx, esi
add ebx, eax
mov eax, dword [esp + 0x84]
and eax, 0xff00
imul eax, dword [esp + 0x78]
add eax, ecx
mov ecx, dword [esp + 0x94]
and ecx, 0xff00
imul ecx, dword [esp + 0x88]
add eax, ecx
mov ecx, dword [esp + 0x6c]
and ecx, 0xff00
imul ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x54]
shr eax, cl
mov ecx, dword [esp + 0x48]
movzx esi, byte [esp + 0x84]
shl eax, cl
imul esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x8c]
and ecx, dword [esp + 0x4c]
imul ecx, dword [esp + 0x5c]
shr ecx, 8
and ecx, dword [esp + 0x8c]
add eax, ecx
movzx ecx, byte [esp + 0x94]
imul ecx, dword [esp + 0x88]
or ebx, eax
movzx eax, byte [esp + 0x70]
imul eax, dword [esp + 0xb0]
add esi, eax
movzx eax, byte [esp + 0x6c]
imul eax, edx
add esi, ecx
mov ecx, dword [esp + 0x98]
add esi, eax
mov eax, dword [esp + 0xb8]
shr esi, cl
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x50]
add dword [esp + 0x2c], edx
shl esi, cl
mov ecx, eax
and ecx, dword [esp + 0x4c]
imul ecx, dword [esp + 0x5c]
shr ecx, 8
and ecx, eax
mov eax, dword [esp + 0x60]
add esi, ecx
or ebx, esi
mov esi, dword [ebp + 8]
mov word [eax], bx
mov ebx, dword [esp + 0xac]
add dword [esp + 0x34], ebx
add eax, 2
sub dword [esp + 0x44], 1
mov dword [esp + 0x60], eax
jne 0x41da7a
mov eax, 1
add dword [esp + 0x68], eax
fild dword [esp + 0x68]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x80]
add dword [esp + 0x30], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41d86e
jmp 0x41f357
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [ecx + 0xc]
add eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [ecx + 4]
add eax, 1
mov dword [esp + 0xa8], eax
mov eax, dword [ecx + 8]
add eax, 1
mov dword [esp + 0xb0], eax
fnstsw ax
mov dword [esp + 0x6c], edx
test ah, 0x41
mov dword [esp + 0x68], 0
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov edx, dword [esp + 0x3c]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x84]
lea ecx, [eax + eax]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x34], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov ecx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp ebx, 0xffffffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x78], edx
jg 0x41de72
test eax, eax
jl 0x41e286
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x27fff
cdq
idiv ebx
test eax, eax
jl 0x41de5a
mov dword [esp + 0x70], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x34]
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41dee3
mov dword [esp + 0x2c], eax
jmp 0x41dee3
cmp ebx, 1
jl 0x41debf
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41e286
mov eax, 0x10000
sub eax, dword [esp + 0x34]
cdq
idiv ebx
test eax, eax
jle 0x41dea0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41dee3
mov dword [esp + 0x2c], eax
jmp 0x41dee3
cmp dword [esp + 0x34], 0
jl 0x41e286
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x34], edx
jge 0x41e286
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
jg 0x41df2b
cmp dword [esp + 0x78], 0
jl 0x41e286
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x70]
jle 0x41df16
mov dword [esp + 0x70], eax
mov eax, ecx
cdq
idiv dword [esp + 0x50]
neg eax
cmp eax, dword [esp + 0x2c]
jge 0x41df98
mov dword [esp + 0x2c], eax
jmp 0x41df98
cmp eax, 1
jl 0x41df7a
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jge 0x41e286
mov eax, 0x10000
sub eax, ecx
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x70]
jle 0x41df59
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x2c]
jge 0x41df98
mov dword [esp + 0x2c], eax
jmp 0x41df98
test ecx, ecx
jl 0x41e286
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp ecx, eax
jge 0x41e286
mov eax, dword [esp + 0x70]
mov edx, ebx
imul edx, dword [esp + 0x70]
add dword [esp + 0x34], edx
mov edx, dword [esp + 0x50]
imul edx, eax
add ecx, edx
mov edx, dword [esp + 0x30]
lea edx, [edx + eax*2]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x2c]
cmp eax, edx
mov dword [esp + 0x94], ecx
jg 0x41e286
sub edx, eax
add edx, 1
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x34]
mov edx, ecx
sar edx, 0x10
imul edx, dword [esp + 0x7c]
add edx, dword [esp + 0xd4]
mov eax, ebx
sar eax, 0x10
add eax, edx
movzx edx, byte [eax]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x40], edx
movzx edx, byte [eax + 1]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x70], edx
mov edx, dword [esi + 0x24]
add eax, edx
movzx edx, byte [eax]
mov edx, dword [edi + edx*4]
and ebx, 0xfffe
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x60]
movzx edx, word [edx]
add ebx, 1
mov dword [esp + 0x78], ebx
mov dword [esp + 0x90], edx
and ecx, 0xfffe
add ecx, 1
mov edx, 0x10000
sub edx, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xa0], edx
mov esi, 0x10000
sub esi, ecx
imul edx, esi
imul esi, dword [esp + 0x78]
shr ebx, 0x18
shr esi, 0x10
shr edx, 0x10
imul edx, ebx
mov ebx, dword [esp + 0x70]
shr ebx, 0x18
imul esi, ebx
shr esi, 0x10
imul esi, dword [esp + 0x6c]
movzx eax, byte [eax + 1]
mov ebx, dword [esp + 0x84]
mov eax, dword [edi + eax*4]
sar esi, 8
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0xa0]
imul esi, ecx
imul ecx, dword [esp + 0x78]
shr ebx, 0x18
shr esi, 0x10
imul esi, ebx
shr ecx, 0x10
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
shr ecx, 0x10
imul ecx, dword [esp + 0x6c]
shr esi, 0x10
imul esi, dword [esp + 0x6c]
shr edx, 0x10
imul edx, dword [esp + 0x6c]
sar ecx, 8
sar esi, 8
mov ebx, 0x100
sub ebx, ecx
sub ebx, esi
sub ebx, dword [esp + 0x2c]
sar edx, 8
sub ebx, edx
mov dword [esp + 0x5c], ebx
movzx ebx, word [esp + 0x90]
mov dword [esp + 0x4c], ebx
movzx ebx, al
mov dword [esp + 0x44], edx
imul ebx, ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x78], ecx
movzx ecx, byte [esp + 0x84]
imul ecx, esi
add ebx, ecx
movzx ecx, byte [esp + 0x70]
imul ecx, dword [esp + 0x2c]
add ebx, ecx
movzx ecx, byte [esp + 0x40]
imul ecx, edx
add ebx, ecx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x4c]
shr ebx, 8
imul ebx, dword [esp + 0xb0]
shr ebx, cl
mov ecx, dword [esp + 0xa4]
shl ebx, cl
mov ecx, dword [esp + 0xb8]
and edx, ecx
imul edx, dword [esp + 0x5c]
shr edx, 8
and edx, ecx
mov ecx, dword [esp + 0x84]
and ecx, 0xff0000
imul ecx, esi
add ebx, edx
mov edx, eax
and edx, 0xff0000
imul edx, dword [esp + 0x78]
add edx, ecx
mov ecx, dword [esp + 0x70]
and ecx, 0xff0000
imul ecx, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x40]
and ecx, 0xff0000
imul ecx, dword [esp + 0x44]
add edx, ecx
mov ecx, dword [esp + 0xd0]
shr edx, 8
imul edx, dword [esp + 0x9c]
shr edx, cl
mov ecx, dword [esp + 0x74]
and eax, 0xff00
imul eax, dword [esp + 0x78]
shl edx, cl
mov ecx, dword [esp + 0x4c]
and ecx, dword [esp + 0x38]
imul ecx, dword [esp + 0x5c]
shr ecx, 8
and ecx, dword [esp + 0x38]
add edx, ecx
mov ecx, dword [esp + 0x84]
and ecx, 0xff00
imul ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x70]
and ecx, 0xff00
imul ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x40]
and ecx, 0xff00
imul ecx, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esp + 0x54]
shr eax, 8
imul eax, dword [esp + 0xa8]
shr eax, cl
mov ecx, dword [esp + 0x48]
or ebx, edx
mov edx, dword [esp + 0x8c]
shl eax, cl
mov ecx, dword [esp + 0x4c]
and ecx, edx
imul ecx, dword [esp + 0x5c]
shr ecx, 8
and ecx, edx
add eax, ecx
or ebx, eax
mov eax, dword [esp + 0x60]
mov word [eax], bx
add eax, 2
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0xac]
add ecx, dword [esp + 0x50]
add dword [esp + 0x34], ebx
sub dword [esp + 0x3c], 1
mov esi, dword [ebp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x94], ecx
jne 0x41dfde
mov edx, dword [esp + 0x80]
add dword [esp + 0x30], edx
mov eax, 1
add dword [esp + 0x68], eax
fild dword [esp + 0x68]
add dword [esp + 0x58], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41ddd7
jmp 0x41f357
cmp eax, 0x20
jne 0x41f361
fld qword [esp + 0xe0]
call fcn.005690a0
fld qword [esp + 0xd8]
mov dword [esp + 0x3c], eax
call fcn.005690a0
mov ecx, dword [esp + 0xbc]
mov ecx, dword [ecx + 0x90]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
imul eax, ecx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0xa4]
sar eax, 2
add eax, dword [esp + 0x64]
lea eax, [edx + eax*4]
mov dword [esp + 0x6c], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x1c]
call fcn.00404aa0
test al, al
fld qword [esp + 0xf0]
fcomp qword [0x5ba798]
je 0x41eda1
cmp byte [0x5dcd4b], 0
fnstsw ax
je 0x41e866
test ah, 0x41
mov dword [esp + 0x58], 0
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0xa8]
fld dword [esp + 0xa8]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov ecx, dword [esp + 0x4c]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
lea edx, [ecx*4]
mov dword [esp + 0x84], edx
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0xa8]
fld dword [esp + 0xa8]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x34], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], edx
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp ebx, 0xffffffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x78], edx
jg 0x41e476
test eax, eax
jl 0x41e833
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x27fff
cdq
idiv ebx
test eax, eax
jl 0x41e454
mov dword [esp + 0x70], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x34]
cdq
idiv ebx
cmp eax, dword [esp + 0x80]
jge 0x41e4ed
mov dword [esp + 0x80], eax
jmp 0x41e4ed
cmp ebx, 1
jl 0x41e4c9
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41e833
mov eax, 0x10000
sub eax, dword [esp + 0x34]
cdq
idiv ebx
test eax, eax
jle 0x41e4a4
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x80]
jge 0x41e4ed
mov dword [esp + 0x80], eax
jmp 0x41e4ed
cmp dword [esp + 0x34], 0
jl 0x41e833
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x34], edx
jge 0x41e833
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
jg 0x41e53b
cmp dword [esp + 0x78], 0
jl 0x41e833
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x70]
jle 0x41e520
mov dword [esp + 0x70], eax
mov eax, ecx
cdq
idiv dword [esp + 0x50]
neg eax
cmp eax, dword [esp + 0x80]
jge 0x41e5ae
mov dword [esp + 0x80], eax
jmp 0x41e5ae
cmp eax, 1
jl 0x41e590
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jge 0x41e833
mov eax, 0x10000
sub eax, ecx
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x70]
jle 0x41e569
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x80]
jge 0x41e5ae
mov dword [esp + 0x80], eax
jmp 0x41e5ae
test ecx, ecx
jl 0x41e833
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp ecx, eax
jge 0x41e833
mov eax, dword [esp + 0x70]
mov edx, ebx
imul edx, dword [esp + 0x70]
add dword [esp + 0x34], edx
mov edx, dword [esp + 0x50]
imul edx, eax
add ecx, edx
mov edx, dword [esp + 0x6c]
lea edx, [edx + eax*4]
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x80]
cmp eax, edx
mov dword [esp + 0x94], ecx
jg 0x41e833
sub edx, eax
add edx, 1
mov dword [esp + 0xa4], edx
mov ebx, dword [esp + 0x34]
mov edx, ecx
sar edx, 0x10
imul edx, dword [esp + 0xa8]
add edx, dword [esp + 0xd4]
mov eax, ebx
sar eax, 0x10
add eax, edx
movzx edx, byte [eax]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x98], edx
movzx edx, byte [eax + 1]
mov edx, dword [edi + edx*4]
and ebx, 0xfffe
add ebx, 1
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x24]
add eax, edx
movzx edx, byte [eax]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x78], ebx
and ecx, 0xfffe
add ecx, 1
mov dword [esp + 0x48], edx
mov edx, 0x10000
sub edx, ebx
mov ebx, dword [esp + 0x98]
shr ebx, 0x18
mov dword [esp + 0x7c], edx
mov esi, 0x10000
sub esi, ecx
imul edx, esi
imul esi, dword [esp + 0x78]
shr edx, 0x10
imul edx, ebx
mov ebx, dword [esp + 0x54]
shr ebx, 0x18
shr esi, 0x10
imul esi, ebx
movzx eax, byte [eax + 1]
mov ebx, dword [esp + 0x48]
mov eax, dword [edi + eax*4]
shr esi, 0x10
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x7c]
imul esi, ecx
imul ecx, dword [esp + 0x78]
shr ebx, 0x18
shr ecx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
mov ebx, dword [esp + 0x5c]
mov ebx, dword [ebx]
mov dword [esp + 0x4c], ebx
shr ecx, 0x10
shr esi, 0x10
mov ebx, 0x100
sub ebx, ecx
sub ebx, esi
sub ebx, dword [esp + 0x74]
shr edx, 0x10
sub ebx, edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x88], ecx
movzx ebx, al
imul ebx, ecx
movzx ecx, byte [esp + 0x48]
imul ecx, esi
add ebx, ecx
movzx ecx, byte [esp + 0x54]
imul ecx, dword [esp + 0x74]
add ebx, ecx
movzx ecx, byte [esp + 0x98]
imul ecx, edx
add ebx, ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x44], esi
and ebx, 0xff00
mov edx, dword [esp + 0x4c]
and edx, 0xffff00ff
imul edx, dword [esp + 0x78]
add ebx, edx
mov edx, dword [esp + 0x48]
mov ecx, eax
and ecx, 0xff00
imul ecx, dword [esp + 0x88]
and edx, 0xff00
imul edx, esi
add ecx, edx
mov edx, dword [esp + 0x54]
and edx, 0xff00
imul edx, dword [esp + 0x74]
add ecx, edx
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x4c]
and edx, 0xff00
imul edx, dword [esp + 0x68]
add ecx, edx
mov edx, dword [esp + 0x78]
and ecx, 0xffff0000
and esi, 0xff00
imul esi, edx
add ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff00ff
imul ecx, dword [esp + 0x44]
and eax, 0xff00ff
imul eax, dword [esp + 0x88]
add eax, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00ff
imul ecx, dword [esp + 0x74]
add eax, ecx
mov ecx, dword [esp + 0x98]
and ecx, 0xff00ff
imul ecx, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x4c]
mov esi, dword [ebp + 8]
and ecx, 0xff00ff
imul ecx, edx
and eax, 0xff00ff00
add eax, ecx
mov ecx, dword [esp + 0x94]
add ecx, dword [esp + 0x50]
and ebx, 0xff0000
xor ebx, eax
mov eax, dword [esp + 0x5c]
shr ebx, 8
mov dword [eax], ebx
mov ebx, dword [esp + 0xac]
add dword [esp + 0x34], ebx
add eax, 4
sub dword [esp + 0xa4], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x94], ecx
jne 0x41e5fd
mov eax, 1
add dword [esp + 0x58], eax
fild dword [esp + 0x58]
add dword [esp + 0x60], eax
mov eax, dword [esp + 0x84]
add dword [esp + 0x6c], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41e3c8
jmp 0x41f357
test ah, 0x41
mov dword [esp + 0x68], 0
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0xa8]
fld dword [esp + 0xa8]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov ecx, dword [esp + 0x4c]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
lea edx, [ecx*4]
mov dword [esp + 0x84], edx
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0xa8]
fld dword [esp + 0xa8]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x34], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], edx
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp ebx, 0xffffffff
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], edx
jg 0x41e983
test eax, eax
jl 0x41ed6e
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x27fff
cdq
idiv ebx
test eax, eax
jl 0x41e96b
mov dword [esp + 0x80], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x34]
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41e9f7
mov dword [esp + 0x2c], eax
jmp 0x41e9f7
cmp ebx, 1
jl 0x41e9d3
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41ed6e
mov eax, 0x10000
sub eax, dword [esp + 0x34]
cdq
idiv ebx
test eax, eax
jle 0x41e9b4
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41e9f7
mov dword [esp + 0x2c], eax
jmp 0x41e9f7
cmp dword [esp + 0x34], 0
jl 0x41ed6e
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x34], edx
jge 0x41ed6e
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
jg 0x41ea45
cmp dword [esp + 0x78], 0
jl 0x41ed6e
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x80]
jle 0x41ea30
mov dword [esp + 0x80], eax
mov eax, ecx
cdq
idiv dword [esp + 0x50]
neg eax
cmp eax, dword [esp + 0x2c]
jge 0x41eab8
mov dword [esp + 0x2c], eax
jmp 0x41eab8
cmp eax, 1
jl 0x41ea9a
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jge 0x41ed6e
mov eax, 0x10000
sub eax, ecx
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x80]
jle 0x41ea79
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x2c]
jge 0x41eab8
mov dword [esp + 0x2c], eax
jmp 0x41eab8
test ecx, ecx
jl 0x41ed6e
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp ecx, eax
jge 0x41ed6e
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x80]
imul edx, ebx
imul eax, dword [esp + 0x50]
add dword [esp + 0x34], edx
mov edx, dword [esp + 0x6c]
add ecx, eax
mov eax, dword [esp + 0x80]
lea edx, [edx + eax*4]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x2c]
cmp eax, edx
mov dword [esp + 0x70], ecx
jg 0x41ed6e
sub edx, eax
add edx, 1
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x34]
mov edx, ecx
sar edx, 0x10
imul edx, dword [esp + 0xa8]
add edx, dword [esp + 0xd4]
mov eax, ebx
sar eax, 0x10
add eax, edx
movzx edx, byte [eax]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x40], edx
movzx edx, byte [eax + 1]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x80], edx
mov edx, dword [esi + 0x24]
add eax, edx
movzx edx, byte [eax]
mov edx, dword [edi + edx*4]
and ebx, 0xfffe
add ebx, 1
mov dword [esp + 0x94], edx
mov dword [esp + 0x78], ebx
and ecx, 0xfffe
add ecx, 1
mov esi, 0x10000
sub esi, ebx
mov ebx, dword [esp + 0x40]
shr ebx, 0x18
mov dword [esp + 0x7c], esi
mov edx, 0x10000
sub edx, ecx
imul esi, edx
imul edx, dword [esp + 0x78]
shr edx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, dword [esp + 0x80]
shr ebx, 0x18
imul edx, ebx
movzx eax, byte [eax + 1]
mov ebx, dword [esp + 0x94]
mov eax, dword [edi + eax*4]
shr edx, 0x10
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x7c]
imul edx, ecx
imul ecx, dword [esp + 0x78]
shr ebx, 0x18
shr edx, 0x10
imul edx, ebx
shr ecx, 0x10
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx]
mov dword [esp + 0x4c], ebx
shr ecx, 0x10
shr edx, 0x10
mov ebx, 0x100
sub ebx, ecx
sub ebx, edx
sub ebx, dword [esp + 0x2c]
shr esi, 0x10
sub ebx, esi
mov dword [esp + 0x5c], ebx
mov ebx, eax
and ebx, 0xff00
imul ebx, ecx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x94]
and ecx, 0xff00
imul ecx, edx
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x80]
and edx, 0xff00
imul edx, dword [esp + 0x2c]
add ebx, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], esi
add ebx, edx
and ecx, 0xff00
imul ecx, esi
add ebx, ecx
mov ecx, dword [esp + 0x54]
shr ebx, cl
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
shl ebx, cl
mov ecx, dword [esp + 0x8c]
and edx, ecx
imul edx, dword [esp + 0x5c]
shr edx, 8
and edx, ecx
movzx ecx, byte [esp + 0x94]
imul ecx, dword [esp + 0x88]
add ebx, edx
movzx edx, al
imul edx, dword [esp + 0x78]
add edx, ecx
movzx ecx, byte [esp + 0x80]
imul ecx, dword [esp + 0x2c]
add edx, ecx
movzx ecx, byte [esp + 0x40]
imul ecx, esi
add edx, ecx
mov ecx, dword [esp + 0x98]
shr edx, cl
mov ecx, dword [esp + 0xa4]
and eax, 0xff0000
imul eax, dword [esp + 0x78]
shl edx, cl
mov ecx, dword [esp + 0x4c]
and ecx, dword [esp + 0xb8]
imul ecx, dword [esp + 0x5c]
shr ecx, 8
and ecx, dword [esp + 0xb8]
add edx, ecx
mov ecx, dword [esp + 0x94]
and ecx, 0xff0000
imul ecx, dword [esp + 0x88]
add eax, ecx
mov ecx, dword [esp + 0x80]
and ecx, 0xff0000
imul ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x40]
and ecx, 0xff0000
imul ecx, esi
add eax, ecx
mov ecx, dword [esp + 0xd0]
shr eax, cl
mov ecx, dword [esp + 0x74]
or ebx, edx
mov edx, dword [esp + 0x38]
shl eax, cl
mov ecx, dword [esp + 0x4c]
and ecx, edx
imul ecx, dword [esp + 0x5c]
mov esi, dword [ebp + 8]
shr ecx, 8
and ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x50]
or ebx, eax
mov eax, dword [esp + 0x60]
mov dword [eax], ebx
mov ebx, dword [esp + 0xac]
add dword [esp + 0x34], ebx
add eax, 4
sub dword [esp + 0x30], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], ecx
jne 0x41eb09
mov edx, dword [esp + 0x84]
add dword [esp + 0x6c], edx
mov eax, 1
add dword [esp + 0x68], eax
fild dword [esp + 0x68]
add dword [esp + 0x58], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41e8dc
jmp 0x41f357
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x94], eax
mov eax, dword [ecx]
add eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [ecx + 4]
add eax, 1
mov dword [esp + 0xb4], eax
mov eax, dword [ecx + 8]
add eax, 1
mov dword [esp + 0xb0], eax
fnstsw ax
mov dword [esp + 0x44], 0
test ah, 0x41
jne 0x41f361
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0xa8]
fld dword [esp + 0xa8]
fld st(0)
fld qword [esp + 0xc8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov ecx, dword [esp + 0x4c]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
lea edx, [ecx*4]
mov dword [esp + 0x84], edx
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0xa8]
fld dword [esp + 0xa8]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov dword [esp + 0x34], eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], edx
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp ebx, 0xffffffff
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], edx
jg 0x41eef3
test eax, eax
jl 0x41f329
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x27fff
cdq
idiv ebx
test eax, eax
jl 0x41eedb
mov dword [esp + 0x80], eax
mov eax, 0x7fff
sub eax, dword [esp + 0x34]
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41ef67
mov dword [esp + 0x2c], eax
jmp 0x41ef67
cmp ebx, 1
jl 0x41ef43
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], edx
add edx, 0xffffffff
cmp eax, edx
jge 0x41f329
mov eax, 0x10000
sub eax, dword [esp + 0x34]
cdq
idiv ebx
test eax, eax
jle 0x41ef24
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x3c]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x17fff
cdq
idiv ebx
cmp eax, dword [esp + 0x2c]
jge 0x41ef67
mov dword [esp + 0x2c], eax
jmp 0x41ef67
cmp dword [esp + 0x34], 0
jl 0x41f329
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp dword [esp + 0x34], edx
jge 0x41f329
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
jg 0x41efb5
cmp dword [esp + 0x78], 0
jl 0x41f329
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x80]
jle 0x41efa0
mov dword [esp + 0x80], eax
mov eax, ecx
cdq
idiv dword [esp + 0x50]
neg eax
cmp eax, dword [esp + 0x2c]
jge 0x41f028
mov dword [esp + 0x2c], eax
jmp 0x41f028
cmp eax, 1
jl 0x41f00a
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jge 0x41f329
mov eax, 0x10000
sub eax, ecx
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x80]
jle 0x41efe9
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv dword [esp + 0x50]
cmp eax, dword [esp + 0x2c]
jge 0x41f028
mov dword [esp + 0x2c], eax
jmp 0x41f028
test ecx, ecx
jl 0x41f329
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp ecx, eax
jge 0x41f329
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x80]
imul edx, ebx
imul eax, dword [esp + 0x50]
add dword [esp + 0x34], edx
mov edx, dword [esp + 0x6c]
add ecx, eax
mov eax, dword [esp + 0x80]
lea edx, [edx + eax*4]
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x2c]
cmp eax, edx
mov dword [esp + 0x70], ecx
jg 0x41f329
sub edx, eax
add edx, 1
mov dword [esp + 0x88], edx
mov esi, dword [esi + 0x24]
mov edx, dword [esp + 0x34]
mov ebx, ecx
sar ebx, 0x10
imul ebx, dword [esp + 0xa8]
add ebx, dword [esp + 0xd4]
mov eax, edx
sar eax, 0x10
add eax, ebx
movzx ebx, byte [eax]
mov ebx, dword [edi + ebx*4]
mov dword [esp + 0x40], ebx
movzx ebx, byte [eax + 1]
mov ebx, dword [edi + ebx*4]
add eax, esi
movzx esi, byte [eax]
mov esi, dword [edi + esi*4]
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x58]
mov esi, dword [esi]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x2c], ebx
and edx, 0xfffe
and ecx, 0xfffe
add edx, 1
add ecx, 1
mov esi, 0x10000
sub esi, edx
mov dword [esp + 0xa0], esi
mov ebx, 0x10000
sub ebx, ecx
imul esi, ebx
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x40]
shr esi, 0x10
shr ebx, 0x18
imul esi, ebx
shr esi, 0x10
imul esi, dword [esp + 0x94]
movzx eax, byte [eax + 1]
mov dword [esp + 0x90], edx
imul edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov eax, dword [edi + eax*4]
sar esi, 8
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x2c]
shr esi, 0x18
shr edx, 0x10
imul edx, esi
mov esi, ecx
imul ecx, dword [esp + 0x90]
imul esi, dword [esp + 0xa0]
shr ebx, 0x18
shr esi, 0x10
imul esi, ebx
shr ecx, 0x10
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
shr ecx, 0x10
imul ecx, dword [esp + 0x94]
shr esi, 0x10
imul esi, dword [esp + 0x94]
shr edx, 0x10
imul edx, dword [esp + 0x94]
sar ecx, 8
sar esi, 8
mov ebx, 0x100
sub ebx, ecx
sub ebx, esi
sar edx, 8
sub ebx, edx
sub ebx, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], ebx
movzx ebx, al
imul ebx, ecx
movzx ecx, byte [esp + 0x80]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], esi
imul ecx, esi
add ebx, ecx
movzx ecx, byte [esp + 0x2c]
imul ecx, edx
add ebx, ecx
movzx edx, byte [esp + 0x40]
imul edx, dword [esp + 0x30]
add ebx, edx
mov ecx, dword [esp + 0x98]
shr ebx, 8
imul ebx, dword [esp + 0xb0]
shr ebx, cl
mov ecx, dword [esp + 0xa4]
mov edx, eax
and edx, 0xff0000
shl ebx, cl
imul edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
and ecx, dword [esp + 0xb8]
and eax, 0xff00
imul ecx, dword [esp + 0x60]
imul eax, dword [esp + 0x4c]
shr ecx, 8
and ecx, dword [esp + 0xb8]
add ebx, ecx
mov ecx, dword [esp + 0x80]
and ecx, 0xff0000
imul ecx, esi
add edx, ecx
mov ecx, dword [esp + 0x2c]
and ecx, 0xff0000
imul ecx, dword [esp + 0x78]
add edx, ecx
mov ecx, dword [esp + 0x40]
and ecx, 0xff0000
imul ecx, dword [esp + 0x30]
add edx, ecx
mov ecx, dword [esp + 0xd0]
shr edx, 8
imul edx, dword [esp + 0x9c]
shr edx, cl
mov ecx, dword [esp + 0x74]
shl edx, cl
mov ecx, dword [esp + 0x5c]
and ecx, dword [esp + 0x38]
imul ecx, dword [esp + 0x60]
shr ecx, 8
and ecx, dword [esp + 0x38]
add edx, ecx
mov ecx, dword [esp + 0x80]
and ecx, 0xff00
imul ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x2c]
and ecx, 0xff00
imul ecx, dword [esp + 0x78]
add eax, ecx
mov ecx, dword [esp + 0x40]
and ecx, 0xff00
imul ecx, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x54]
shr eax, 8
imul eax, dword [esp + 0xb4]
shr eax, cl
mov ecx, dword [esp + 0x48]
or ebx, edx
mov edx, dword [esp + 0x8c]
shl eax, cl
mov ecx, dword [esp + 0x5c]
and ecx, edx
imul ecx, dword [esp + 0x60]
shr ecx, 8
and ecx, edx
add eax, ecx
or ebx, eax
mov eax, dword [esp + 0x58]
mov dword [eax], ebx
mov ebx, dword [esp + 0xac]
add eax, 4
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x50]
add dword [esp + 0x34], ebx
sub dword [esp + 0x88], 1
mov esi, dword [ebp + 8]
mov dword [esp + 0x70], ecx
jne 0x41f07c
mov edx, dword [esp + 0x84]
add dword [esp + 0x6c], edx
mov eax, 1
add dword [esp + 0x44], eax
fild dword [esp + 0x44]
add dword [esp + 0x68], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41ee4c
fstp st(0)
fstp st(0)
fstp st(1)
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
mov esi, dword [esp + 0xbc]
call fcn.0040c340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov ebx, dword [ecx + 0x48]
mov dword [esp + 0xa4], ebx
call fcn.00427cd0
test ebx, ebx
jne 0x42012f
mov edi, eax
mov eax, dword [ebp + 0x14]
imul edi, dword [eax + 4]
add edi, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x7c]
add edi, edi
add edi, edi
call edx
add eax, edi
fld qword [ebp + 0x24]
mov dword [esp + 0xb8], eax
call fcn.00569f50
fstp qword [esp + 0xf8]
fld qword [ebp + 0x24]
call fcn.00569e20
fst qword [esp + 0xc0]
fld qword [esp + 0xf8]
fld qword [0x5ba890]
fmul st(1), st(0)
fxch st(1)
call fcn.005690a0
fmulp st(1)
mov dword [esp + 0x34], eax
call fcn.005690a0
mov ebx, dword [esp + 0xbc]
mov edi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xbc]
mov ecx, ebx
mov dword [esp + 0x30], edi
call edx
test al, al
je 0x420eff
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0xc0]
mov edx, dword [eax + 0xc4]
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + 0xc8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x50], ecx
mov ecx, 0x20
sub ecx, dword [eax + 0x14]
mov dword [esp + 0x9c], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0xac], ecx
mov ecx, 0x18
sub ecx, dword [eax + 0x18]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x6c], ecx
mov ecx, 0x10
sub ecx, dword [eax + 0x1c]
mov eax, dword [ebx + 0xd8]
mov dword [esp + 0xd4], eax
mov eax, dword [ebx + 0xd4]
cmp eax, 0x10
mov dword [esp + 0x84], edx
mov edx, dword [ebx + 0xe0]
mov dword [esp + 0x94], ecx
mov ecx, dword [ebx + 0xdc]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x80], edx
jne 0x41fae4
fld qword [esp + 0xe0]
call fcn.005690a0
fld qword [esp + 0xd8]
mov dword [esp + 0x3c], eax
call fcn.005690a0
fld qword [esp + 0xf0]
mov ecx, dword [ebx + 0x90]
fcomp qword [0x5ba798]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
imul eax, ecx
cdq
sub eax, edx
mov edx, dword [ebx + 0xa4]
sar eax, 1
add eax, dword [esp + 0x64]
mov dword [esp + 0x68], 0
lea eax, [edx + eax*2]
mov dword [esp + 0x58], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
imul ecx, edx
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
imul ecx, eax
mov dword [esp + 0xb4], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [ebp + 0x1c]
mov ecx, dword [ecx + 8]
imul ecx, dword [esp + 0xb4]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xb0], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x90], eax
fnstsw ax
test ah, 0x41
jne 0x420126
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0xb4]
fld dword [esp + 0xb4]
fld st(0)
fld qword [esp + 0xf8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov edx, dword [esp + 0xa8]
fld qword [0x5ba890]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
lea eax, [edx + edx]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x60], ecx
fild dword [esp + 0x60]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0xb4]
fld dword [esp + 0xb4]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov ebx, eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, ebx
sar eax, 0x10
mov dword [esp + 0x78], eax
mov eax, ecx
sar eax, 0x10
cmp dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
jg 0x41f6c3
cmp dword [esp + 0x78], 0
jl 0x41fab1
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x34]
shl eax, 0x10
sub eax, ebx
sub eax, 0x27fff
cdq
idiv edi
test eax, eax
jl 0x41f69b
mov dword [esp + 0x38], eax
mov eax, 0x7fff
sub eax, ebx
cdq
idiv edi
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x30]
cmp eax, edx
jge 0x41f73e
mov edx, eax
mov dword [esp + 0x8c], edx
jmp 0x41f73e
cmp dword [esp + 0x34], 1
jl 0x41f720
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jge 0x41fab1
mov edi, dword [esp + 0x34]
mov eax, 0x10000
sub eax, ebx
cdq
idiv edi
test eax, eax
jle 0x41f6f3
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
shl eax, 0x10
sub eax, ebx
sub eax, 0x17fff
cdq
idiv edi
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x30]
cmp eax, edx
jge 0x41f73e
mov edx, eax
mov dword [esp + 0x8c], eax
jmp 0x41f73e
test ebx, ebx
jl 0x41fab1
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, 0x10000
cmp ebx, eax
jge 0x41fab1
cmp edi, 0xffffffff
jg 0x41f784
cmp dword [esp + 0x88], 0
jl 0x41fab1
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv edi
cmp eax, dword [esp + 0x38]
jle 0x41f76e
mov dword [esp + 0x38], eax
mov eax, ecx
cdq
idiv edi
mov edx, dword [esp + 0x8c]
neg eax
cmp eax, edx
jge 0x41f7f3
mov edx, eax
jmp 0x41f7f3
cmp edi, 1
jl 0x41f7d5
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x88], eax
jge 0x41fab1
mov eax, 0x10000
sub eax, ecx
cdq
idiv edi
cmp eax, dword [esp + 0x38]
jle 0x41f7b3
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv edi
mov edx, dword [esp + 0x8c]
cmp eax, edx
jge 0x41f7f3
mov edx, eax
jmp 0x41f7f3
test ecx, ecx
jl 0x41fab1
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp ecx, eax
jge 0x41fab1
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x34]
mov edi, dword [esp + 0x58]
add ebx, eax
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x38]
cmp eax, edx
lea edi, [edi + eax*2]
mov dword [esp + 0x5c], edi
mov edi, dword [esi + 0x24]
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb4], edi
jg 0x41faad
sub edx, eax
add edx, 1
mov dword [esp + 0xd0], edx
mov esi, dword [esi + 0x24]
mov edx, ecx
sar edx, 0x10
imul edx, dword [esp + 0xb4]
mov eax, ebx
sar eax, 0x10
add edx, eax
mov eax, dword [esp + 0xb8]
mov edi, dword [eax + edx*4 + 4]
lea eax, [eax + edx*4]
mov edx, ebx
mov ebx, dword [eax]
and ecx, 0xfffe
lea eax, [eax + esi*4]
mov esi, dword [eax]
add ecx, 1
mov dword [esp + 0x48], esi
and edx, 0xfffe
add edx, 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x7c], edx
mov eax, dword [eax + 4]
mov esi, 0x10000
sub esi, ecx
mov edi, 0x10000
sub edi, edx
imul edx, esi
mov dword [esp + 0xa8], edi
imul edi, esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x44], ebx
shr ebx, 0x18
shr edx, 0x10
shr esi, 0x18
imul edx, esi
mov esi, ecx
imul ecx, dword [esp + 0x7c]
imul esi, dword [esp + 0xa8]
shr edi, 0x10
imul edi, ebx
mov ebx, dword [esp + 0x48]
shr ebx, 0x18
shr ecx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
mov ebx, dword [esp + 0x5c]
movzx ebx, word [ebx]
movzx ebx, bx
mov dword [esp + 0x4c], ebx
shr ecx, 0x10
mov dword [esp + 0x78], ecx
mov ebx, eax
and ebx, 0xff0000
imul ebx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff0000
shr esi, 0x10
imul ecx, esi
add ebx, ecx
mov ecx, dword [esp + 0x54]
shr edx, 0x10
and ecx, 0xff0000
imul ecx, edx
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x44]
and edx, 0xff0000
shr edi, 0x10
imul edx, edi
add ebx, ecx
mov ecx, dword [esp + 0xac]
add ebx, edx
mov edx, dword [esp + 0xd4]
shr ebx, cl
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xa8], esi
imul ebx, dword [esp + 0xa0]
shr ebx, 8
and edx, dword [esp + 0x4c]
shr edx, cl
mov ecx, dword [esp + 0x70]
add ebx, edx
mov dx, word [ecx + ebx*4]
mov ecx, dword [esp + 0x74]
shl dx, cl
movzx ecx, byte [esp + 0x48]
imul ecx, esi
movzx ebx, al
imul ebx, dword [esp + 0x78]
add ebx, ecx
movzx ecx, byte [esp + 0x54]
imul ecx, dword [esp + 0x88]
add ebx, ecx
movzx ecx, byte [esp + 0x44]
imul ecx, edi
add ebx, ecx
imul ebx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x80]
and esi, dword [esp + 0x4c]
add ecx, 8
shr ebx, cl
mov ecx, dword [esp + 0x84]
shr esi, cl
mov ecx, dword [esp + 0x2c]
and eax, 0xff00
imul eax, dword [esp + 0x78]
add ebx, esi
mov si, word [ecx + ebx*4]
mov ecx, dword [esp + 0x84]
shl si, cl
mov ecx, dword [esp + 0x48]
and ecx, 0xff00
imul ecx, dword [esp + 0xa8]
add eax, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00
imul ecx, dword [esp + 0x88]
add eax, ecx
mov ecx, dword [esp + 0x44]
and ecx, 0xff00
imul ecx, edi
add eax, ecx
imul eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x98]
add ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
or dx, si
mov esi, dword [esp + 0x40]
and esi, dword [esp + 0x4c]
add ecx, 8
shr eax, cl
mov ecx, dword [esp + 0x50]
shr esi, cl
mov dword [esp + 0x98], ebx
add eax, esi
mov esi, dword [esp + 0x9c]
mov ax, word [esi + eax*4]
mov esi, dword [ebp + 8]
shl ax, cl
mov ecx, dword [esp + 0xa4]
add ecx, edi
mov dword [esp + 0xa4], ecx
or dx, ax
mov eax, dword [esp + 0x5c]
mov word [eax], dx
add eax, 2
sub dword [esp + 0xd0], 1
mov dword [esp + 0x5c], eax
jne 0x41f844
jmp 0x41fab1
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0xc8]
add dword [esp + 0x58], ecx
mov eax, 1
add dword [esp + 0x68], eax
fild dword [esp + 0x68]
add dword [esp + 0x60], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41f605
jmp 0x420115
cmp eax, 0x20
jne 0x420126
fld qword [esp + 0xe0]
call fcn.005690a0
fld qword [esp + 0xd8]
mov dword [esp + 0x3c], eax
call fcn.005690a0
fld qword [esp + 0xf0]
mov ecx, dword [ebx + 0x90]
fcomp qword [0x5ba798]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
imul eax, ecx
cdq
and edx, 3
add eax, edx
mov edx, dword [ebx + 0xa4]
sar eax, 2
add eax, dword [esp + 0x64]
mov dword [esp + 0x68], 0
lea eax, [edx + eax*4]
mov dword [esp + 0x58], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
imul ecx, edx
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
imul ecx, eax
mov dword [esp + 0xc8], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [ebp + 0x1c]
mov ecx, dword [ecx + 8]
imul ecx, dword [esp + 0xc8]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x90], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xa0], eax
fnstsw ax
test ah, 0x41
jne 0x420126
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0xc8]
fld dword [esp + 0xc8]
fld st(0)
fld qword [esp + 0xf8]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xc0]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov edx, dword [esp + 0xb4]
fld qword [0x5ba890]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
lea eax, [edx*4]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x60], ecx
fild dword [esp + 0x60]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0xc8]
fld dword [esp + 0xc8]
fld qword [esp + 0xc0]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov ebx, eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, ebx
sar eax, 0x10
mov dword [esp + 0x78], eax
mov eax, ecx
sar eax, 0x10
cmp dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
jg 0x41fd03
cmp dword [esp + 0x78], 0
jl 0x4200e7
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x34]
shl eax, 0x10
sub eax, ebx
sub eax, 0x27fff
cdq
idiv edi
test eax, eax
jl 0x41fcdb
mov dword [esp + 0x38], eax
mov eax, 0x7fff
sub eax, ebx
cdq
idiv edi
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x30]
cmp eax, edx
jge 0x41fd7e
mov edx, eax
mov dword [esp + 0x8c], edx
jmp 0x41fd7e
cmp dword [esp + 0x34], 1
jl 0x41fd60
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
add eax, 0xffffffff
cmp dword [esp + 0x78], eax
jge 0x4200e7
mov edi, dword [esp + 0x34]
mov eax, 0x10000
sub eax, ebx
cdq
idiv edi
test eax, eax
jle 0x41fd33
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
shl eax, 0x10
sub eax, ebx
sub eax, 0x17fff
cdq
idiv edi
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x30]
cmp eax, edx
jge 0x41fd7e
mov edx, eax
mov dword [esp + 0x8c], eax
jmp 0x41fd7e
test ebx, ebx
jl 0x4200e7
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, 0x10000
cmp ebx, eax
jge 0x4200e7
cmp edi, 0xffffffff
jg 0x41fdc4
cmp dword [esp + 0x88], 0
jl 0x4200e7
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x27fff
cdq
idiv edi
cmp eax, dword [esp + 0x38]
jle 0x41fdae
mov dword [esp + 0x38], eax
mov eax, ecx
cdq
idiv edi
mov edx, dword [esp + 0x8c]
neg eax
cmp eax, edx
jge 0x41fe33
mov edx, eax
jmp 0x41fe33
cmp edi, 1
jl 0x41fe15
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x88], eax
jge 0x4200e7
mov eax, 0x10000
sub eax, ecx
cdq
idiv edi
cmp eax, dword [esp + 0x38]
jle 0x41fdf3
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, ecx
sub eax, 0x17fff
cdq
idiv edi
mov edx, dword [esp + 0x8c]
cmp eax, edx
jge 0x41fe33
mov edx, eax
jmp 0x41fe33
test ecx, ecx
jl 0x4200e7
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp ecx, eax
jge 0x4200e7
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x34]
mov edi, dword [esp + 0x58]
add ebx, eax
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x38]
cmp eax, edx
lea edi, [edi + eax*4]
mov dword [esp + 0x5c], edi
mov edi, dword [esi + 0x24]
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xc8], edi
jg 0x4200e3
sub edx, eax
add edx, 1
mov dword [esp + 0xd0], edx
mov esi, dword [esi + 0x24]
mov edx, ecx
sar edx, 0x10
imul edx, dword [esp + 0xc8]
mov eax, ebx
sar eax, 0x10
add edx, eax
mov eax, dword [esp + 0xb8]
mov edi, dword [eax + edx*4 + 4]
lea eax, [eax + edx*4]
mov edx, ebx
mov ebx, dword [eax]
and ecx, 0xfffe
lea eax, [eax + esi*4]
mov esi, dword [eax]
add ecx, 1
and edx, 0xfffe
mov dword [esp + 0x48], esi
add edx, 1
mov dword [esp + 0xa8], edx
mov dword [esp + 0x54], edi
mov eax, dword [eax + 4]
mov esi, 0x10000
sub esi, ecx
mov edi, 0x10000
sub edi, edx
imul edx, esi
mov dword [esp + 0xb4], edi
imul edi, esi
mov esi, dword [esp + 0x54]
shr edx, 0x10
mov dword [esp + 0x44], ebx
shr esi, 0x18
imul edx, esi
mov esi, ecx
imul ecx, dword [esp + 0xa8]
imul esi, dword [esp + 0xb4]
shr ebx, 0x18
shr edi, 0x10
imul edi, ebx
mov ebx, dword [esp + 0x48]
shr ebx, 0x18
shr ecx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
mov ebx, dword [esp + 0x5c]
mov ebx, dword [ebx]
mov dword [esp + 0x4c], ebx
shr ecx, 0x10
mov dword [esp + 0x78], ecx
mov ebx, eax
and ebx, 0xff0000
imul ebx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff0000
shr esi, 0x10
imul ecx, esi
add ebx, ecx
mov ecx, dword [esp + 0x54]
shr edx, 0x10
mov dword [esp + 0x88], edx
and ecx, 0xff0000
imul ecx, edx
mov edx, dword [esp + 0x44]
and edx, 0xff0000
shr edi, 0x10
imul edx, edi
add ebx, ecx
mov ecx, dword [esp + 0xac]
add ebx, edx
mov edx, dword [esp + 0x4c]
and edx, dword [esp + 0xd4]
shr ebx, cl
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xb4], esi
imul ebx, dword [esp + 0x7c]
shr ebx, 8
shr edx, cl
mov ecx, dword [esp + 0x70]
add ebx, edx
mov ebx, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x74]
shl ebx, cl
movzx ecx, byte [esp + 0x48]
imul ecx, esi
movzx edx, al
imul edx, dword [esp + 0x78]
add edx, ecx
movzx ecx, byte [esp + 0x54]
imul ecx, dword [esp + 0x88]
add edx, ecx
movzx ecx, byte [esp + 0x44]
imul ecx, edi
add edx, ecx
imul edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x4c]
and esi, dword [esp + 0x80]
add ecx, 8
shr edx, cl
mov ecx, dword [esp + 0x84]
shr esi, cl
mov ecx, dword [esp + 0x2c]
and eax, 0xff00
imul eax, dword [esp + 0x78]
add edx, esi
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x84]
shl edx, cl
mov ecx, dword [esp + 0x48]
and ecx, 0xff00
imul ecx, dword [esp + 0xb4]
add eax, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00
imul ecx, dword [esp + 0x88]
add eax, ecx
mov ecx, dword [esp + 0x44]
and ecx, 0xff00
imul ecx, edi
add eax, ecx
imul eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x6c]
or ebx, edx
mov edx, dword [esp + 0x4c]
and edx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
add ecx, 8
shr eax, cl
mov ecx, dword [esp + 0x50]
mov esi, dword [ebp + 8]
shr edx, cl
add eax, edx
mov edx, dword [esp + 0x9c]
mov eax, dword [edx + eax*4]
shl eax, cl
mov ecx, dword [esp + 0xa4]
add ecx, edi
mov dword [esp + 0xa4], ecx
or ebx, eax
mov eax, dword [esp + 0x5c]
mov dword [eax], ebx
mov ebx, dword [esp + 0x98]
add ebx, dword [esp + 0x34]
add eax, 4
sub dword [esp + 0xd0], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x98], ebx
jne 0x41fe84
jmp 0x4200e7
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0xb0]
add dword [esp + 0x58], ecx
mov eax, 1
add dword [esp + 0x68], eax
fild dword [esp + 0x68]
add dword [esp + 0x60], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x41fc45
mov ebx, dword [esp + 0xbc]
fstp st(0)
fstp st(0)
fstp st(1)
fstp st(0)
fstp st(0)
mov edx, dword [ebx]
mov ecx, ebx
jmp 0x420e2e
mov edx, dword [ebp + 0x14]
fld qword [ebp + 0x24]
imul eax, dword [edx + 4]
add eax, dword [ecx + 0x4c]
add eax, dword [edx]
mov dword [esp + 0xd0], eax
call fcn.00569f50
fstp qword [esp + 0xc0]
fld qword [ebp + 0x24]
call fcn.00569e20
fst qword [esp + 0xf8]
fld qword [esp + 0xc0]
fld qword [0x5ba890]
fmul st(1), st(0)
fxch st(1)
call fcn.005690a0
fmulp st(1)
mov dword [esp + 0x30], eax
call fcn.005690a0
mov edx, dword [edi]
mov dword [esp + 0x8c], eax
mov eax, dword [edx + 0xbc]
mov ecx, edi
call eax
test al, al
je 0x420eff
mov eax, dword [edi + 0x6c]
mov ecx, dword [eax + 0xc0]
mov edx, dword [eax + 0xc4]
mov dword [esp + 0x94], ecx
mov ecx, dword [eax + 0xc8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0xb0], ecx
mov ecx, 0x20
sub ecx, dword [eax + 0x14]
mov dword [esp + 0x90], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0xd4], ecx
mov ecx, 0x18
sub ecx, dword [eax + 0x18]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x40], ecx
mov ecx, 0x10
sub ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0xd4]
cmp eax, 0x10
mov dword [esp + 0x98], edx
mov edx, dword [edi + 0xe0]
mov dword [esp + 0x80], ecx
mov ecx, dword [edi + 0xdc]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], edx
jne 0x42084f
fld qword [esp + 0xe0]
call fcn.005690a0
fld qword [esp + 0xd8]
mov dword [esp + 0x3c], eax
call fcn.005690a0
fld qword [esp + 0xf0]
mov ecx, dword [edi + 0x90]
fcomp qword [0x5ba798]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
imul eax, ecx
cdq
sub eax, edx
mov edx, dword [edi + 0xa4]
sar eax, 1
add eax, dword [esp + 0x64]
mov edi, dword [ebp + 0x1c]
lea eax, [edx + eax*2]
mov dword [esp + 0x60], eax
mov eax, ecx
mov ecx, dword [edi]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xb4], eax
mov eax, dword [edi + 0xc]
imul ecx, eax
mov dword [esp + 0x9c], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [edi + 4]
imul ecx, dword [esp + 0x9c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xa8], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [edi + 8]
imul ecx, dword [esp + 0x9c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xa0], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x58], 0
fnstsw ax
test ah, 0x41
jne 0x420e25
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0xc8]
fld dword [esp + 0xc8]
fld st(0)
fld qword [esp + 0xc0]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xf8]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov ecx, dword [esp + 0xb4]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
lea edx, [ecx + ecx]
mov dword [esp + 0xac], edx
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0xc8]
fld dword [esp + 0xc8]
fld qword [esp + 0xf8]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov edi, eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, edi
mov dword [esp + 0x34], ecx
sar ecx, 0x10
sar eax, 0x10
cmp dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0xb8], edx
mov dword [esp + 0x9c], ecx
jg 0x42041a
test eax, eax
jl 0x42081c
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x30]
shl eax, 0x10
sub eax, edi
sub eax, 0x27fff
cdq
idiv ecx
test eax, eax
jl 0x420411
mov dword [esp + 0x38], eax
mov eax, 0x7fff
sub eax, edi
jmp 0x420458
cmp dword [esp + 0x30], 1
jl 0x420471
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + 8]
add ecx, 0xffffffff
cmp eax, ecx
jge 0x42081c
mov ecx, dword [esp + 0x30]
mov eax, 0x10000
sub eax, edi
cdq
idiv ecx
test eax, eax
jle 0x420448
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
shl eax, 0x10
sub eax, edi
sub eax, 0x17fff
cdq
idiv ecx
mov edx, dword [esp + 0xb8]
cmp eax, edx
jge 0x42048f
mov edx, eax
mov dword [esp + 0xb8], edx
jmp 0x42048f
test edi, edi
jl 0x42081c
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 8]
shl eax, 0x10
sub eax, 0x10000
cmp edi, eax
jge 0x42081c
mov ecx, dword [esp + 0x8c]
cmp ecx, 0xffffffff
jg 0x4204e0
cmp dword [esp + 0x9c], 0
jl 0x42081c
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x27fff
cdq
idiv ecx
cmp eax, dword [esp + 0x38]
jle 0x4204c8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
cdq
idiv ecx
mov edx, dword [esp + 0xb8]
neg eax
cmp eax, edx
jge 0x420558
mov edx, eax
jmp 0x420558
cmp ecx, 1
jl 0x420535
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x9c], eax
jge 0x42081c
mov eax, 0x10000
sub eax, dword [esp + 0x34]
cdq
idiv ecx
cmp eax, dword [esp + 0x38]
jle 0x420511
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x17fff
cdq
idiv ecx
mov edx, dword [esp + 0xb8]
cmp eax, edx
jge 0x420558
mov edx, eax
jmp 0x420558
cmp dword [esp + 0x34], 0
jl 0x42081c
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp dword [esp + 0x34], eax
jge 0x42081c
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x30]
add edi, eax
mov eax, dword [esp + 0x38]
imul eax, ecx
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
cmp eax, edx
mov ecx, dword [esp + 0x60]
lea ecx, [ecx + eax*2]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x88], edi
mov dword [esp + 0xc8], ecx
jg 0x42081c
sub edx, eax
mov eax, dword [esp + 0x34]
add edx, 1
mov dword [esp + 0x68], edx
mov edx, eax
sar edx, 0x10
imul edx, dword [esp + 0xc8]
add edx, dword [esp + 0xd0]
mov eax, edi
mov ecx, dword [esp + 0x34]
sar eax, 0x10
add eax, edx
movzx edx, byte [eax]
mov edx, dword [ebx + edx*4]
mov dword [esp + 0x74], edx
movzx edx, byte [eax + 1]
mov edx, dword [ebx + edx*4]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x24]
add eax, edx
movzx edx, byte [eax]
mov edx, dword [ebx + edx*4]
movzx eax, byte [eax + 1]
mov eax, dword [ebx + eax*4]
mov ebx, dword [esp + 0x74]
and ecx, 0xfffe
add ecx, 1
mov dword [esp + 0x48], edx
and edi, 0xfffe
add edi, 1
mov dword [esp + 0x9c], edi
shr ebx, 0x18
mov esi, 0x10000
sub esi, edi
mov edi, esi
imul esi, ecx
mov edx, 0x10000
sub edx, ecx
imul ecx, dword [esp + 0x9c]
imul edi, edx
imul edx, dword [esp + 0x9c]
shr edi, 0x10
imul edi, ebx
mov ebx, dword [esp + 0x54]
shr ebx, 0x18
shr edx, 0x10
imul edx, ebx
mov ebx, dword [esp + 0x48]
shr ebx, 0x18
shr ecx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
mov ebx, dword [esp + 0x4c]
movzx ebx, word [ebx]
movzx ebx, bx
mov dword [esp + 0x44], ebx
shr ecx, 0x10
mov dword [esp + 0x9c], ecx
mov ebx, eax
and ebx, 0xff0000
imul ebx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff0000
shr esi, 0x10
imul ecx, esi
add ebx, ecx
mov ecx, dword [esp + 0x54]
shr edx, 0x10
and ecx, 0xff0000
imul ecx, edx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x74]
shr edi, 0x10
and edx, 0xff0000
imul edx, edi
add ebx, ecx
mov ecx, dword [esp + 0xd4]
add ebx, edx
shr ebx, cl
mov dword [esp + 0xb4], esi
imul ebx, dword [esp + 0xa8]
shr ebx, 8
mov edx, dword [esp + 0x44]
and edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x84]
shr edx, cl
mov ecx, dword [esp + 0x94]
add ebx, edx
mov bx, word [ecx + ebx*4]
mov ecx, dword [esp + 0x84]
shl bx, cl
movzx ecx, byte [esp + 0x48]
imul ecx, esi
movzx edx, al
imul edx, dword [esp + 0x9c]
add edx, ecx
movzx ecx, byte [esp + 0x54]
imul ecx, dword [esp + 0x78]
add edx, ecx
movzx ecx, byte [esp + 0x74]
imul ecx, edi
add edx, ecx
imul edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x44]
and esi, dword [esp + 0x2c]
add ecx, 8
shr edx, cl
mov ecx, dword [esp + 0x98]
shr esi, cl
mov ecx, dword [esp + 0x6c]
and eax, 0xff00
imul eax, dword [esp + 0x9c]
add edx, esi
mov dx, word [ecx + edx*4]
mov ecx, dword [esp + 0x98]
shl dx, cl
mov ecx, dword [esp + 0x48]
and ecx, 0xff00
imul ecx, dword [esp + 0xb4]
add eax, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00
imul ecx, dword [esp + 0x78]
add eax, ecx
mov ecx, dword [esp + 0x74]
and ecx, 0xff00
imul ecx, edi
add eax, ecx
imul eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x40]
or bx, dx
mov edx, dword [esp + 0x44]
and edx, dword [esp + 0x50]
mov edi, dword [esp + 0x88]
add edi, dword [esp + 0x30]
add ecx, 8
shr eax, cl
mov ecx, dword [esp + 0xb0]
mov esi, dword [ebp + 8]
shr edx, cl
mov dword [esp + 0x88], edi
add eax, edx
mov edx, dword [esp + 0x90]
mov ax, word [edx + eax*4]
shl ax, cl
or bx, ax
mov eax, dword [esp + 0x4c]
mov word [eax], bx
mov ebx, dword [esp + 0xa4]
add eax, 2
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x8c]
sub dword [esp + 0x68], 1
mov dword [esp + 0x34], eax
jne 0x4205a3
mov ecx, dword [esp + 0xac]
add dword [esp + 0x60], ecx
mov eax, 1
add dword [esp + 0x58], eax
fild dword [esp + 0x58]
add dword [esp + 0x5c], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x420380
jmp 0x420e1b
cmp eax, 0x20
jne 0x420e25
fld qword [esp + 0xe0]
call fcn.005690a0
fld qword [esp + 0xd8]
mov edx, edi
mov edi, dword [edx + 0x90]
mov dword [esp + 0x3c], eax
call fcn.005690a0
fld qword [esp + 0xf0]
mov ecx, eax
fcomp qword [0x5ba798]
mov eax, edi
imul eax, dword [esp + 0x3c]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0xa4]
lea eax, [edx + eax*4]
mov dword [esp + 0x60], eax
mov eax, edi
mov edi, dword [ebp + 0x1c]
mov ecx, dword [edi]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0xb4], eax
mov eax, dword [edi + 0xc]
imul ecx, eax
mov dword [esp + 0x9c], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [edi + 4]
imul ecx, dword [esp + 0x9c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x7c], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [edi + 8]
imul ecx, dword [esp + 0x9c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xb8], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x58], 0
fnstsw ax
test ah, 0x41
jne 0x420e25
fild dword [esp + 0x64]
fsub dword [ebp + 0x2c]
fsub dword [ebp + 0xc]
fstp dword [esp + 0xc8]
fld dword [esp + 0xc8]
fld st(0)
fld qword [esp + 0xc0]
fmul st(1), st(0)
fxch st(2)
fmul qword [esp + 0xf8]
fld qword [esp + 0xe8]
fsub qword [0x5aa7f0]
call fcn.005690a0
fld dword [ebp + 0x30]
mov ecx, dword [esp + 0xb4]
fld qword [0x5ba890]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
lea edx, [ecx*4]
mov dword [esp + 0xc0], edx
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fsub st(2)
fsub dword [ebp + 0x10]
fstp dword [esp + 0xc8]
fld dword [esp + 0xc8]
fld qword [esp + 0xf8]
fmul st(1)
fsubr st(5)
fadd dword [ebp + 0x2c]
fmul st(2)
call fcn.005690a0
fmul st(5)
mov edi, eax
fadd st(3)
fadd st(2)
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x64]
mov ecx, eax
mov dword [esp + 0x38], edx
mov eax, edi
mov edx, ecx
sar edx, 0x10
sar eax, 0x10
cmp dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0x9c], edx
jg 0x420a54
test eax, eax
jl 0x420ded
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x30]
shl eax, 0x10
sub eax, edi
sub eax, 0x27fff
cdq
idiv ecx
test eax, eax
jl 0x420a4b
mov dword [esp + 0xac], eax
mov eax, 0x7fff
sub eax, edi
jmp 0x420a95
cmp dword [esp + 0x30], 1
jl 0x420aa8
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + 8]
add ecx, 0xffffffff
cmp eax, ecx
jge 0x420ded
mov ecx, dword [esp + 0x30]
mov eax, 0x10000
sub eax, edi
cdq
idiv ecx
test eax, eax
jle 0x420a85
mov dword [esp + 0xac], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
shl eax, 0x10
sub eax, edi
sub eax, 0x17fff
cdq
idiv ecx
mov ecx, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
jge 0x420ac7
mov dword [esp + 0x38], eax
jmp 0x420ac7
test edi, edi
jl 0x420ded
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
shl edx, 0x10
sub edx, 0x10000
cmp edi, edx
jge 0x420ded
mov eax, dword [esp + 0x8c]
cmp eax, 0xffffffff
jg 0x420e4b
cmp dword [esp + 0x9c], 0
jl 0x420ded
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, ecx
mov ecx, dword [esp + 0x8c]
sub eax, 0x27fff
cdq
idiv ecx
cmp eax, dword [esp + 0xac]
jle 0x420b0f
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x34]
cdq
idiv ecx
neg eax
cmp eax, dword [esp + 0x38]
jge 0x420b22
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xac]
mov edx, eax
imul eax, dword [esp + 0x8c]
imul edx, dword [esp + 0x30]
add edi, edx
mov edx, dword [esp + 0x60]
add ecx, eax
mov eax, dword [esp + 0xac]
lea edx, [edx + eax*4]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x38]
cmp eax, edx
mov dword [esp + 0x88], edi
mov dword [esp + 0x34], ecx
jg 0x420ded
sub edx, eax
add edx, 1
mov dword [esp + 0x68], edx
mov esi, dword [esi + 0x24]
mov edx, ecx
sar edx, 0x10
imul edx, dword [esp + 0xc8]
add edx, dword [esp + 0xd0]
mov eax, edi
sar eax, 0x10
add eax, edx
mov edx, edi
movzx edi, byte [eax]
mov edi, dword [ebx + edi*4]
mov dword [esp + 0x74], edi
movzx edi, byte [eax + 1]
mov edi, dword [ebx + edi*4]
add eax, esi
movzx esi, byte [eax]
mov esi, dword [ebx + esi*4]
and ecx, 0xfffe
add ecx, 1
movzx eax, byte [eax + 1]
mov eax, dword [ebx + eax*4]
mov dword [esp + 0x48], esi
and edx, 0xfffe
add edx, 1
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x54], edi
mov dword [esp + 0xa8], edx
mov esi, 0x10000
sub esi, ecx
mov edi, 0x10000
sub edi, edx
imul edx, esi
mov dword [esp + 0xb4], edi
imul edi, esi
mov esi, dword [esp + 0x54]
shr esi, 0x18
shr edx, 0x10
imul edx, esi
mov esi, ecx
imul ecx, dword [esp + 0xa8]
imul esi, dword [esp + 0xb4]
shr ebx, 0x18
shr edi, 0x10
imul edi, ebx
mov ebx, dword [esp + 0x48]
shr ebx, 0x18
shr ecx, 0x10
shr esi, 0x10
imul esi, ebx
mov ebx, eax
shr ebx, 0x18
imul ecx, ebx
mov ebx, dword [esp + 0x4c]
mov ebx, dword [ebx]
mov dword [esp + 0x44], ebx
shr ecx, 0x10
mov dword [esp + 0x9c], ecx
mov ebx, eax
and ebx, 0xff0000
imul ebx, ecx
mov ecx, dword [esp + 0x48]
and ecx, 0xff0000
shr esi, 0x10
imul ecx, esi
add ebx, ecx
mov ecx, dword [esp + 0x54]
shr edx, 0x10
and ecx, 0xff0000
imul ecx, edx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x74]
shr edi, 0x10
and edx, 0xff0000
imul edx, edi
add ebx, ecx
mov ecx, dword [esp + 0xd4]
add ebx, edx
shr ebx, cl
mov dword [esp + 0xb4], esi
imul ebx, dword [esp + 0x7c]
shr ebx, 8
mov edx, dword [esp + 0x44]
and edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x84]
shr edx, cl
mov ecx, dword [esp + 0x94]
add ebx, edx
mov ebx, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x84]
shl ebx, cl
movzx ecx, byte [esp + 0x48]
imul ecx, esi
movzx edx, al
imul edx, dword [esp + 0x9c]
add edx, ecx
movzx ecx, byte [esp + 0x54]
imul ecx, dword [esp + 0x78]
add edx, ecx
movzx ecx, byte [esp + 0x74]
imul ecx, edi
add edx, ecx
imul edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x44]
and esi, dword [esp + 0x2c]
add ecx, 8
shr edx, cl
mov ecx, dword [esp + 0x98]
shr esi, cl
mov ecx, dword [esp + 0x6c]
and eax, 0xff00
imul eax, dword [esp + 0x9c]
add edx, esi
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x98]
shl edx, cl
mov ecx, dword [esp + 0x48]
and ecx, 0xff00
imul ecx, dword [esp + 0xb4]
add eax, ecx
mov ecx, dword [esp + 0x54]
and ecx, 0xff00
imul ecx, dword [esp + 0x78]
add eax, ecx
mov ecx, dword [esp + 0x74]
and ecx, 0xff00
imul ecx, edi
add eax, ecx
imul eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x88]
add edi, dword [esp + 0x30]
or ebx, edx
mov edx, dword [esp + 0x44]
and edx, dword [esp + 0x50]
mov esi, dword [ebp + 8]
add ecx, 8
shr eax, cl
mov ecx, dword [esp + 0xb0]
shr edx, cl
mov dword [esp + 0x88], edi
add eax, edx
mov edx, dword [esp + 0x90]
mov eax, dword [edx + eax*4]
shl eax, cl
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x8c]
or ebx, eax
mov eax, dword [esp + 0x4c]
mov dword [eax], ebx
mov ebx, dword [esp + 0xa4]
add eax, 4
sub dword [esp + 0x68], 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
jne 0x420b7c
mov ecx, dword [esp + 0xc0]
add dword [esp + 0x60], ecx
mov eax, 1
add dword [esp + 0x58], eax
fild dword [esp + 0x58]
add dword [esp + 0x5c], eax
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jnp 0x4209b5
fstp st(0)
fstp st(0)
fstp st(1)
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [esp + 0xbc]
call fcn.0040c340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
cmp eax, 1
jl 0x420e9d
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
add eax, 0xffffffff
cmp dword [esp + 0x9c], eax
jge 0x420ded
mov eax, 0x10000
sub eax, ecx
mov ecx, dword [esp + 0x8c]
cdq
idiv ecx
cmp eax, dword [esp + 0xac]
jle 0x420e83
mov dword [esp + 0xac], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
shl eax, 0x10
sub eax, dword [esp + 0x34]
sub eax, 0x17fff
cdq
idiv ecx
jmp 0x420b18
test ecx, ecx
jl 0x420ded
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc]
shl eax, 0x10
sub eax, 0x10000
cmp ecx, eax
jge 0x420ded
jmp 0x420b26
fld dword [ebp + 0x30]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [ebp + 0x2c]
fstp dword [esp + 8]
fld qword [ebp + 0x24]
fstp qword [esp]
push ecx
mov ecx, dword [ebp + 0x14]
fld dword [ebp + 0x10]
push edx
push eax
push ecx
sub esp, 8
fstp dword [esp + 4]
mov ecx, edi
fld dword [ebp + 0xc]
fstp dword [esp]
push esi
call fcn.00433340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c