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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x54
mov esi, dword [esp + 0x74]
mov dword [esp + 0x4c], ecx
mov edi, edx
mov dword [esp + 8], edi
fild dword [esp + 8]
fdivr dword [0x442c60]
mov ebx, eax
fsincos
fxch st(1)
fstp qword [esp + 0x18]
fstp qword [esp]
lea ebp, [esi*4]
mov dword [esp + 0x28], ebp
lea ebp, [edi + 1]
sar ebp, 1
lea eax, [ebx - 1]
sar eax, 1
mov dword [esp + 0x10], eax
mov edx, ebx
imul edx, ecx
mov dword [esp + 0x24], edx
mov eax, edi
imul eax, ebx
cmp ebx, 1
mov dword [esp + 0x48], eax
je 0x4108dd
test esi, esi
jle 0x40fbd7
cmp esi, 0x18
jle 0x4108a7
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x80]
mov dword [esp + 0x20], edi
lea edi, [esi*4]
xor edx, edx
cmp ecx, edi
setg dl
neg ecx
xor eax, eax
cmp ecx, edi
setg al
or edx, eax
mov edi, dword [esp + 0x20]
je 0x4108a7
lea eax, [esi*4]
push eax
push dword [esp + 0x84]
push dword [esp + 0x90]
call fcn.00431660
mov esi, dword [esp + 0x80]
add esp, 0xc
cmp edi, 1
jle 0x40fc4a
mov esi, dword [esp + 0x24]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ebx
xor eax, eax
mov ebx, dword [esp + 0x4c]
mov edx, 1
add eax, esi
mov ebp, eax
test ebx, ebx
jle 0x4108cf
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x50]
xor ecx, ecx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 8], eax
mov eax, dword [esi + ebp*4]
mov dword [edx + ebp*4], eax
add ebp, edi
inc ecx
cmp ecx, ebx
jl 0x40fc1c
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x24]
inc edx
cmp edx, edi
jl 0x40fbf3
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov eax, ebx
neg eax
cmp edx, dword [esp + 0x10]
jge 0x40fd24
cmp edi, 1
jle 0x40fdfc
mov dword [esp + 0x20], edi
mov ecx, ebx
mov dword [esp + 0x40], ebp
mov edx, 1
neg ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x14]
add ebp, dword [esp + 0x24]
add eax, ebx
mov dword [esp + 0x14], ebp
test ecx, ecx
jle 0x410897
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
xor esi, esi
lea edi, [eax - 1]
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x34]
add ebp, ebx
mov edi, ebp
cmp ebx, 2
jle 0x41084c
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x7c]
mov eax, 2
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x84]
add edx, 2
fld dword [ecx + edx*4 - 4]
fld dword [ecx + edx*4]
add edi, 2
fxch st(1)
fmul dword [esi + edi*4 - 4]
fxch st(1)
fmul dword [esi + edi*4]
faddp st(1)
fstp dword [ebp + edi*4 - 4]
fld dword [ecx + edx*4 - 4]
add eax, 2
fmul dword [esi + edi*4]
fld dword [ecx + edx*4]
fmul dword [esi + edi*4 - 4]
fsubp st(1)
fstp dword [ebp + edi*4]
cmp eax, ebx
jl 0x40fcd5
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
inc esi
cmp esi, ecx
jl 0x40fca5
jmp 0x410855
cmp edi, 1
jle 0x40fdfc
mov dword [esp + 0x20], edi
mov dword [esp + 0x40], ebp
xor ecx, ecx
mov edx, 1
add ecx, dword [esp + 0x24]
add eax, ebx
lea edi, [eax - 1]
mov esi, ecx
cmp ebx, 2
jle 0x41087e
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov ebp, 2
add edi, 2
add esi, 2
mov ecx, esi
test eax, eax
jle 0x41086e
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x8c]
xor edx, edx
fld dword [ebx + edi*4 - 4]
fmul dword [esi + ecx*4 - 4]
inc edx
fld dword [ebx + edi*4]
fmul dword [esi + ecx*4]
faddp st(1)
fstp dword [ebp + ecx*4 - 4]
fld dword [ebx + edi*4 - 4]
fmul dword [esi + ecx*4]
fld dword [ebx + edi*4]
fmul dword [esi + ecx*4 - 4]
fsubp st(1)
fstp dword [ebp + ecx*4]
add ecx, dword [esp + 0x50]
cmp edx, eax
jl 0x40fd95
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x50]
add ebp, 2
cmp ebp, ebx
jl 0x40fd65
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
inc edx
cmp edx, dword [esp + 0x20]
jl 0x40fd3c
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x4c]
mov edx, edi
imul edx, dword [esp + 0x24]
mov eax, edx
sub eax, ebx
cmp ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
jle 0x40fedd
cmp ebp, 1
jle 0x40ffbc
mov dword [esp + 0x20], edi
mov ecx, ebx
mov dword [esp + 0x40], ebp
mov edx, 1
neg ecx
mov ebp, dword [esp + 0x24]
add ecx, ebp
sub eax, ebp
mov edi, ecx
mov ebp, eax
cmp ebx, 2
jle 0x410830
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov esi, 2
add edi, 2
add ebp, 2
mov ecx, edi
mov edx, ebp
test eax, eax
jle 0x4107ed
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x7c]
add ecx, ebx
fld dword [esi + ecx*4 - 4]
add edx, ebx
fadd dword [esi + edx*4 - 4]
fstp dword [edi + ecx*4 - 4]
fld dword [esi + ecx*4]
inc ebp
fsub dword [esi + edx*4]
fstp dword [edi + edx*4 - 4]
cmp ebp, eax
fld dword [esi + ecx*4]
fadd dword [esi + edx*4]
fstp dword [edi + ecx*4]
fld dword [esi + edx*4 - 4]
fsub dword [esi + ecx*4 - 4]
fstp dword [edi + edx*4]
jl 0x40fe92
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
add esi, 2
cmp esi, ebx
jl 0x40fe5d
jmp 0x4107f8
cmp ebp, 1
jle 0x40ffbc
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x40], ebp
xor eax, eax
mov dword [esp + 0x50], ebx
mov ecx, 1
add eax, edi
sub edx, edi
mov esi, eax
mov ebp, edx
cmp dword [esp + 0x4c], 0
jle 0x410820
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], edx
xor ebx, ebx
mov ecx, esi
mov edi, ebp
cmp eax, 2
jle 0x40ff86
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x2c], esi
mov edx, 2
mov esi, dword [esp + 0x7c]
add ecx, 2
fld dword [ebp + ecx*4 - 4]
add edi, 2
fadd dword [ebp + edi*4 - 4]
fstp dword [esi + ecx*4 - 4]
fld dword [ebp + ecx*4]
add edx, 2
fsub dword [ebp + edi*4]
fstp dword [esi + edi*4 - 4]
cmp edx, eax
fld dword [ebp + ecx*4]
fadd dword [ebp + edi*4]
fstp dword [esi + ecx*4]
fld dword [ebp + edi*4 - 4]
fsub dword [ebp + ecx*4 - 4]
fstp dword [esi + edi*4]
jl 0x40ff43
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
add esi, eax
add ebp, eax
inc ebx
cmp ebx, dword [esp + 0x4c]
jl 0x40ff22
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x24]
inc ecx
cmp ecx, dword [esp + 0x40]
jl 0x40fefd
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x50]
test esi, esi
jle 0x410025
cmp esi, 0x18
jle 0x4107b5
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x88]
sub edi, dword [esp + 0x80]
lea ecx, [esi*4]
mov eax, edi
neg eax
xor edx, edx
cmp eax, ecx
setg dl
xor eax, eax
cmp edi, ecx
setg al
mov edi, dword [esp + 0x20]
or edx, eax
je 0x4107b5
lea eax, [esi*4]
push eax
push dword [esp + 0x8c]
push dword [esp + 0x88]
call fcn.00431660
mov esi, dword [esp + 0x80]
add esp, 0xc
imul edi, esi
mov ecx, edi
sub ecx, ebx
cmp ebp, 1
jle 0x4100bd
mov dword [esp + 0x20], edi
mov eax, ebx
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x4c]
mov edx, 1
neg eax
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x24]
add eax, ebx
sub ecx, ebx
mov esi, eax
mov edi, ecx
test ebp, ebp
jle 0x4107dd
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x50]
xor ebx, ebx
add esi, ecx
fld dword [eax + esi*4]
add edi, ecx
fadd dword [eax + edi*4]
fstp dword [edx + esi*4]
fld dword [eax + edi*4]
inc ebx
fsub dword [eax + esi*4]
fstp dword [edx + edi*4]
cmp ebx, ebp
jl 0x41007f
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
inc edx
cmp edx, dword [esp + 0x40]
jl 0x41004e
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x50]
lea edx, [edi*4]
mov ecx, esi
neg ecx
add ecx, edi
cmp ebp, 1
jle 0x4102db
fld qword [esp]
fld qword [esp + 0x18]
fld1
fldz
mov dword [esp + 8], 1
mov dword [esp + 0x38], edx
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ebx
fld st(3)
fmul st(2)
fxch st(2)
fmul st(3)
fld st(3)
fmul st(2)
fxch st(2)
fmul st(5)
fxch st(2)
fsubp st(3)
faddp st(1)
fld st(1)
mov esi, dword [esp + 0x74]
add eax, esi
sub edi, esi
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
sub ebx, dword [esp + 0x28]
mov ebp, esi
lea ecx, [edx + esi*4]
mov dword [esp + 0x34], ecx
mov edx, eax
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0xc]
mov ecx, edi
test esi, esi
jle 0x410184
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x20], edi
xor esi, esi
mov edi, dword [esp + 0x80]
jmp 0x41015e
fstp dword [eax + ecx*4 - 4]
fld dword [edi + ebp*4]
fmul st(3)
fadd dword [edi + esi*4]
fstp dword [eax + edx*4]
inc edx
fld dword [edi + ebx*4]
fmul st(2)
inc ebp
inc ecx
inc ebx
inc esi
cmp esi, dword [esp + 0x74]
jl 0x41015a
fstp dword [eax + ecx*4 - 4]
mov eax, dword [esp]
mov edi, dword [esp + 0x20]
fld st(0)
fld st(2)
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0xc]
cmp dword [esp + 0x40], 2
jle 0x410797
mov dword [esp], eax
mov dword [esp + 0x20], edi
mov edx, 2
fstp st(5)
fld st(3)
fmul st(1)
fxch st(1)
fmul st(3)
fld st(3)
fmul st(6)
fxch st(5)
fmul st(6), st(0)
fxch st(5)
fsubp st(2)
faddp st(5)
fld st(0)
mov edi, dword [esp + 0x74]
add ecx, edi
sub ebx, edi
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x44], ebx
mov eax, ecx
test edi, edi
jle 0x41075d
mov edi, dword [esp + 0x80]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
jmp 0x41020f
fstp dword [esi + ebx - 4]
fld dword [edi + eax*4]
fmul st(2)
fadd dword [ebp + ebx]
fstp dword [ebp + ebx]
add ebp, 4
fld dword [edi + ecx*4]
fmul st(6)
fadd dword [esi + ebx]
inc eax
add esi, 4
inc ecx
inc edx
cmp edx, dword [esp + 0x74]
jl 0x41020b
fstp dword [esi + ebx - 4]
fstp st(1)
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 4]
inc edx
cmp edx, dword [esp + 0x40]
jl 0x4101a9
fstp st(0)
fstp st(3)
fstp st(1)
fld qword [esp + 0x18]
mov eax, dword [esp]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 8]
inc edx
cmp edx, dword [esp + 0x40]
mov dword [esp + 8], edx
fxch st(2)
fxch st(1)
jl 0x4100fc
fstp st(2)
fstp st(0)
fstp st(0)
fstp st(0)
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x50], ebx
xor eax, eax
mov edx, 1
add eax, esi
mov edi, eax
test esi, esi
jle 0x41074f
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x80]
xor ebx, ebx
jmp 0x4102bd
fstp dword [ecx + ebx*4 - 4]
fld dword [ecx + ebx*4]
fadd dword [ebp + edi*4]
inc edi
inc ebx
cmp ebx, esi
jl 0x4102b9
fstp dword [ecx + ebx*4 - 4]
mov ebp, dword [esp + 0x40]
inc edx
cmp edx, ebp
jl 0x41029e
mov ebx, dword [esp + 0x50]
cmp ebx, dword [esp + 0x4c]
jge 0x410333
test ebx, ebx
jle 0x4103c9
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x40], ebp
xor eax, eax
mov ebp, eax
mov esi, eax
test edi, edi
jle 0x41071f
mov edi, dword [esp + 0x84]
mov dword [esp], eax
xor edx, edx
mov eax, dword [edi + ebp*4]
mov dword [ecx + esi*4], eax
add ebp, ebx
inc edx
add esi, dword [esp + 0x48]
cmp edx, dword [esp + 0x4c]
jl 0x41030f
mov eax, dword [esp]
mov edi, dword [esp + 0x4c]
inc eax
cmp eax, ebx
jl 0x4102f7
jmp 0x4103c5
cmp dword [esp + 0x4c], 0
jle 0x4103c9
mov dword [esp + 0x40], ebp
xor ecx, ecx
mov dword [esp + 8], ecx
xor esi, esi
mov dword [esp + 4], ecx
lea eax, [ebx*4]
mov dword [esp], eax
test ebx, ebx
jle 0x4103ae
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 8]
lea edi, [edi + esi*4]
lea ecx, [eax + edx*4]
cmp ebx, 0x18
jle 0x41072d
mov ebp, dword [esp]
mov dword [esp + 0xc], ecx
sub ecx, edi
mov edx, ecx
neg edx
xor eax, eax
cmp edx, ebp
setg al
xor edx, edx
cmp ecx, ebp
setg dl
mov ecx, dword [esp + 0xc]
or eax, edx
je 0x41072d
push dword [esp]
push ecx
push edi
call fcn.00431660
add esp, 0xc
add esi, dword [esp + 0x48]
mov eax, dword [esp + 4]
inc eax
add dword [esp + 8], ebx
cmp eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
jl 0x410358
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
cmp ebp, 1
jle 0x41046b
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ebx
xor ecx, ecx
xor esi, esi
mov eax, 1
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x24]
lea ecx, [ecx + ebx*2]
add esi, ebp
sub edx, ebp
mov ebp, ecx
cmp dword [esp + 0x4c], 0
mov edi, esi
mov ebx, edx
jle 0x41073f
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp], edx
mov edx, dword [esp + 0x14]
mov esi, dword [eax + edi*4]
mov dword [ecx + ebp*4 - 4], esi
mov esi, dword [eax + ebx*4]
inc edx
mov dword [ecx + ebp*4], esi
add ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
add edi, esi
add ebx, esi
cmp edx, dword [esp + 0x4c]
jl 0x41042d
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp]
inc eax
cmp eax, dword [esp + 0x40]
jl 0x4103e7
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x50]
cmp ebx, 1
je 0x4106db
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x10]
jle 0x41056f
mov esi, ebx
neg esi
cmp ebp, 1
jle 0x41070a
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x3c]
xor edi, edi
xor edx, edx
mov ecx, 1
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
lea esi, [esi + ebp*2]
lea edi, [edi + ebp*2]
add edx, eax
sub ebx, eax
cmp ebp, 2
jle 0x4106ff
mov dword [esp + 4], ecx
mov dword [esp + 0x10], edi
mov eax, 2
mov dword [esp], esi
mov dword [esp + 0x3c], ebx
add ebp, esi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov ebx, eax
neg ebx
add ebp, eax
lea esi, [edx + eax]
add ebx, dword [esp + 0x14]
lea edi, [ecx + eax]
cmp dword [esp + 0x4c], 0
jle 0x4106e3
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], edx
xor ecx, ecx
lea esi, [esi]
fld dword [eax + esi*4 - 4]
fadd dword [eax + edi*4 - 4]
inc ecx
mov edx, dword [esp + 0x78]
fstp dword [edx + ebp*4 - 4]
fld dword [eax + esi*4 - 4]
fsub dword [eax + edi*4 - 4]
fstp dword [edx + ebx*4 - 4]
fld dword [eax + esi*4]
fadd dword [eax + edi*4]
fstp dword [edx + ebp*4]
fld dword [eax + edi*4]
fsub dword [eax + esi*4]
fstp dword [edx + ebx*4]
mov edx, dword [esp + 0x48]
add ebx, edx
add ebp, edx
mov edx, dword [esp + 0x50]
add esi, edx
add edi, edx
cmp ecx, dword [esp + 0x4c]
jl 0x410510
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
add eax, 2
cmp eax, dword [esp + 0x50]
jl 0x4104d9
jmp 0x4106f0
mov edx, ebx
neg edx
cmp ebp, 1
jle 0x4106db
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ebx
xor ecx, ecx
xor esi, esi
mov eax, 1
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x24]
lea edx, [edx + ebx*2]
lea ecx, [ecx + ebx*2]
add esi, ebp
sub edi, ebp
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov ebp, edx
mov ebx, ecx
jle 0x410712
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp], edx
mov edx, edi
mov dword [esp + 0x3c], edi
cmp dword [esp + 0x50], 2
jle 0x4106a2
mov dword [esp + 0x2c], 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], 0xfffffffe
lea esi, [eax + ebx*4]
lea eax, [eax + ebp*4]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebp
lea edi, [esi + ecx*4]
mov dword [esp + 0x44], edi
lea edi, [esi + edx*4]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], edi
lea esi, [esi]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x44]
fld dword [esi + eax*4 - 4]
add ecx, edx
add edx, 0xfffffffe
mov ebp, dword [esp + 0x38]
fadd dword [ebp + eax*4 - 4]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
fstp dword [ebx + eax*4 - 4]
fld dword [esi + eax*4 - 4]
fsub dword [ebp + eax*4 - 4]
fstp dword [edi + ecx*4 - 4]
fld dword [esi + eax*4]
fadd dword [ebp + eax*4]
fstp dword [ebx + eax*4]
fld dword [ebp + eax*4]
fsub dword [esi + eax*4]
add eax, 2
cmp eax, dword [esp + 0x50]
fstp dword [edi + ecx*4]
jl 0x410640
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
add ebp, esi
add ebx, esi
add ecx, edi
add edx, edi
inc eax
cmp eax, dword [esp + 0x4c]
jl 0x4105df
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp]
inc eax
mov edi, dword [esp + 0x3c]
cmp eax, dword [esp + 0x40]
jl 0x410591
add esp, 0x54
pop ebx
pop ebp
pop esi
pop edi
ret
add eax, 2
cmp eax, dword [esp + 0x50]
jl 0x4104d9
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x10]
mov esi, dword [esp]
mov ebx, dword [esp + 0x3c]
inc ecx
cmp ecx, dword [esp + 0x40]
jl 0x4104a4
add esp, 0x54
pop ebx
pop ebp
pop esi
pop edi
ret
inc eax
cmp eax, dword [esp + 0x40]
jl 0x410591
jmp 0x4106db
inc eax
cmp eax, ebx
jl 0x4102f7
jmp 0x4103c5
xor eax, eax
mov edx, dword [ecx + eax*4]
mov dword [edi + eax*4], edx
inc eax
cmp eax, ebx
jb 0x41072f
jmp 0x4103ae
inc eax
cmp eax, dword [esp + 0x40]
jl 0x4103e7
jmp 0x410463
inc edx
cmp edx, ebp
jl 0x41029e
jmp 0x4102d7
fstp st(1)
inc edx
cmp edx, dword [esp + 0x40]
jl 0x4101a9
fstp st(0)
fstp st(3)
fstp st(1)
fld qword [esp + 0x18]
mov eax, dword [esp]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 8]
inc edx
cmp edx, dword [esp + 0x40]
mov dword [esp + 8], edx
fxch st(2)
fxch st(1)
jl 0x4100fc
jmp 0x410278
fstp st(1)
fstp st(0)
fstp st(2)
mov edx, dword [esp + 8]
inc edx
cmp edx, dword [esp + 0x40]
mov dword [esp + 8], edx
jl 0x4100fc
jmp 0x410278
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x80]
xor eax, eax
mov edx, dword [ecx + eax*4]
mov dword [ebx + eax*4], edx
inc eax
cmp eax, esi
jb 0x4107c9
mov ebx, dword [esp + 0x50]
jmp 0x410025
inc edx
cmp edx, dword [esp + 0x40]
jl 0x41004e
jmp 0x4100ad
add esi, 2
cmp esi, ebx
jl 0x40fe5d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
inc edx
cmp edx, dword [esp + 0x40]
jl 0x40fe33
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
jmp 0x40ffbc
inc ecx
cmp ecx, dword [esp + 0x40]
jl 0x40fefd
jmp 0x40ffac
inc edx
cmp edx, dword [esp + 0x40]
jl 0x40fe33
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
jmp 0x40ffbc
inc esi
cmp esi, ecx
jl 0x40fca5
nop
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
inc edx
cmp edx, dword [esp + 0x20]
jl 0x40fc7e
jmp 0x40fdf0
add ebp, 2
cmp ebp, ebx
jl 0x40fd65
jmp 0x40fdd9
mov esi, esi
lea edi, [edi]
inc edx
cmp edx, dword [esp + 0x20]
jl 0x40fd3c
jmp 0x40fdf0
inc edx
cmp edx, dword [esp + 0x20]
jl 0x40fc7e
jmp 0x40fdf0
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x80]
xor eax, eax
mov edx, dword [ebx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, esi
jb 0x4108bb
mov ebx, dword [esp + 0x50]
jmp 0x40fbd7
inc edx
cmp edx, edi
jl 0x40fbf3
jmp 0x40fc3e
mov eax, edi
imul eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
jmp 0x40ffbc