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

Disassembly:
sub esp, 0x4c
fld dword [0x4eba50]
fild dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
fstp dword [esp + 0x44]
fdiv dword [esp + 0x44]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
call sub.MSVCRT.dll__CIcos
fstp dword [esp + 0x58]
fld dword [esp + 0x2c]
call sub.MSVCRT.dll__CIsin
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x7c]
lea eax, [ecx + 1]
sar eax, 1
mov dword [esp + 0x10], eax
lea eax, [ebx - 1]
sar eax, 1
mov dword [esp + 0x2c], eax
mov eax, ebx
imul eax, esi
fstp dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, ebx
imul eax, ecx
mov dword [esp + 0x18], eax
cmp ebx, 1
je 0x4386ac
mov ecx, dword [esp + 0x6c]
xor edi, edi
cmp ecx, 4
jl 0x43813b
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
lea ecx, [esi + 0xc]
sub esi, edx
lea eax, [edx + 4]
mov edx, dword [esp + 0x6c]
lea edx, [edx - 4]
shr edx, 2
inc edx
lea edi, [edx*4]
fld dword [ecx - 0xc]
fstp dword [eax - 4]
fld dword [esi + eax]
fstp dword [eax]
fld dword [ecx - 4]
fstp dword [eax + 4]
fld dword [ecx]
add ecx, 0x10
fstp dword [eax + 8]
add eax, 0x10
dec edx
jne 0x438114
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
cmp edi, ecx
jge 0x438161
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
sub edx, dword [esp + 0x80]
sub ecx, edi
lea eax, [eax + edi*4]
fld dword [eax + edx]
fstp dword [eax]
add eax, 4
dec ecx
jne 0x438156
mov ecx, dword [esp + 0x64]
xor eax, eax
cmp ecx, 1
jle 0x438205
dec ecx
mov dword [esp + 0x1c], ecx
add eax, dword [esp + 0x14]
xor edi, edi
mov edx, dword [esp + 0x74]
mov dword [esp + 0x40], eax
cmp esi, 4
jl 0x4381c1
lea ecx, [esi - 4]
shr ecx, 2
inc ecx
lea edi, [ecx*4]
fld dword [edx + eax*4]
fstp dword [ebp + eax*4]
add eax, ebx
fld dword [edx + eax*4]
fstp dword [ebp + eax*4]
add eax, ebx
fld dword [edx + eax*4]
fstp dword [ebp + eax*4]
add eax, ebx
fld dword [edx + eax*4]
fstp dword [ebp + eax*4]
add eax, ebx
dec ecx
jne 0x438196
mov ecx, dword [esp + 0x1c]
cmp edi, esi
jge 0x4381f2
mov ecx, dword [esp + 0x68]
lea eax, [eax*4]
add eax, ebp
lea esi, [ebx*4]
sub edx, ebp
sub ecx, edi
lea ecx, [ecx]
fld dword [edx + eax]
fstp dword [eax]
add eax, esi
dec ecx
jne 0x4381e0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x40]
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x438175
mov ecx, dword [esp + 0x64]
mov edi, ebx
neg edi
mov dword [esp + 0x20], edi
cmp dword [esp + 0x2c], esi
jle 0x438316
cmp ecx, 1
jle 0x438411
mov eax, dword [esp + 0x14]
lea ecx, [ebx*4]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x64]
sub edx, ecx
sub edx, 4
lea esi, [eax*4]
mov eax, dword [esp + 0x84]
sub eax, 4
mov dword [esp + 0x1c], esi
lea edi, [eax + edi*4]
mov eax, ebp
sub eax, ecx
dec ebx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x60]
lea ecx, [ecx]
mov ebp, dword [esp + 0x7c]
add eax, esi
add edx, esi
mov dword [esp + 0x30], eax
add edi, ecx
mov dword [esp + 0x34], edx
cmp dword [esp + 0x68], 0
mov dword [esp + 0x38], edi
jle 0x438307
mov esi, dword [esp + 0x68]
mov dword [esp + 0x28], esi
lea esp, [esp]
add eax, ecx
add edx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
cmp ebx, 2
jle 0x4382f4
mov esi, eax
mov ecx, edi
mov eax, edx
mov edi, ebp
sub edi, dword [esp + 0x74]
lea edx, [ebx - 3]
shr edx, 1
inc edx
fld dword [eax + 8]
add eax, 8
fmul dword [ecx + 4]
add ecx, 8
add esi, 8
fld dword [eax + 4]
fmul dword [ecx]
faddp st(1)
fstp dword [edi + eax]
fld dword [eax + 4]
fmul dword [ecx - 4]
fld dword [eax]
fmul dword [ecx]
fsubp st(1)
fstp dword [esi]
dec edx
jne 0x4382b3
mov eax, dword [esp + 0x40]
lea ecx, [ebx*4]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
dec esi
mov dword [esp + 0x28], esi
jne 0x438290
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
dec dword [esp + 0x24]
jne 0x438260
jmp 0x43840d
cmp ecx, 1
jle 0x438411
mov eax, dword [esp + 0x14]
lea ecx, [ebx*4]
shl eax, 2
mov edx, ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], ecx
lea eax, [eax + edi*4]
mov edi, dword [esp + 0x74]
add eax, 0xfffffffc
dec ebp
mov dword [esp + 0x30], ebp
mov ebp, edx
lea esi, [edi - 4]
add edx, dword [esp + 0x28]
add eax, ecx
add esi, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], esi
cmp ebx, 2
jle 0x438403
mov ecx, eax
mov dword [esp + 0x40], edx
lea eax, [ebx - 3]
mov ebx, edx
mov edx, dword [esp + 0x68]
shr eax, 1
inc eax
mov dword [esp + 0x24], eax
jmp 0x438390
add esi, 8
add ecx, 8
add ebx, 8
mov dword [esp + 0x40], esi
test edx, edx
jle 0x4383e8
mov eax, esi
mov edx, ebx
mov esi, ebp
sub esi, edi
mov edi, dword [esp + 0x68]
lea ecx, [ecx]
fld dword [ecx - 4]
fmul dword [eax]
fld dword [eax + 4]
fmul dword [ecx]
faddp st(1)
fstp dword [eax + esi]
fld dword [ecx - 4]
fmul dword [eax + 4]
fld dword [eax]
fmul dword [ecx]
add eax, dword [esp + 0x1c]
fsubp st(1)
fstp dword [edx]
add edx, dword [esp + 0x1c]
dec edi
jne 0x4383b0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
dec eax
mov dword [esp + 0x24], eax
jne 0x438390
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
dec dword [esp + 0x30]
jne 0x438356
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, eax
imul edx, dword [esp + 0x64]
cmp dword [esp + 0x2c], esi
jge 0x438572
cmp dword [esp + 0x10], 1
jle 0x4386ac
mov esi, dword [esp + 0x74]
lea eax, [ebx*4]
sub esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
mov esi, ebp
sub esi, eax
mov eax, esi
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x10]
sub eax, 4
dec esi
mov dword [esp + 0x40], esi
mov edi, edi
mov edi, dword [esp + 0x14]
add ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
lea esi, [edi*4]
add dword [esp + 0x24], esi
add eax, esi
mov esi, edi
mov dword [esp + 0x28], eax
add dword [esp + 0x20], esi
sub edx, esi
mov edi, dword [esp + 0x74]
mov esi, ecx
mov dword [esp + 0x3c], edx
cmp ebx, 2
jle 0x438563
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x3c]
sub eax, esi
mov dword [esp + 0x48], eax
lea eax, [ebx - 3]
mov ebx, dword [esp + 0x20]
shr eax, 1
inc eax
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x7c]
add esi, 2
add ecx, 8
mov dword [esp + 0x54], esi
add edx, 8
mov dword [esp + 0x4c], ecx
add ebx, 2
mov dword [esp + 0x50], edx
cmp dword [esp + 0x68], 0
jle 0x438548
mov eax, dword [esp + 0x48]
mov esi, ecx
add eax, ebx
mov ecx, edx
mov edx, dword [esp + 0x74]
shl eax, 2
add edi, eax
add eax, 0xfffffffc
add eax, ebp
sub edx, ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x7c]
nop
add eax, dword [esp + 0x1c]
add ecx, dword [esp + 0x1c]
add esi, dword [esp + 0x1c]
add edi, dword [esp + 0x1c]
dec dword [esp + 0x30]
fld dword [eax]
fadd dword [ecx]
fstp dword [edx + ecx]
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [edx + eax]
fld dword [eax + 4]
fadd dword [ecx + 4]
fstp dword [esi]
fld dword [eax]
fsub dword [ecx]
fstp dword [edi]
jne 0x438500
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x54]
dec eax
mov dword [esp + 0x34], eax
jne 0x4384b6
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
dec dword [esp + 0x40]
jne 0x438460
jmp 0x4386ac
cmp dword [esp + 0x10], 1
jle 0x4386ac
mov ebx, dword [esp + 0x10]
lea ecx, [eax*4]
mov eax, dword [esp + 0x74]
mov edi, eax
mov dword [esp + 0x50], ecx
lea esi, [eax + edx*4]
lea eax, [edx*4 - 4]
add eax, ebp
lea edx, [ebp - 4]
dec ebx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x60]
lea ebx, [ebx]
mov ebp, dword [esp + 0x7c]
add edi, ecx
add edx, ecx
mov dword [esp + 0x48], edi
sub esi, ecx
mov dword [esp + 0x20], edx
sub eax, ecx
mov dword [esp + 0x4c], esi
cmp dword [esp + 0x68], 0
mov dword [esp + 0x30], eax
jle 0x4386a2
mov ebp, dword [esp + 0x68]
lea eax, [ebx*4]
mov ecx, edi
mov dword [esp + 0x34], ebp
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], edi
cmp ebx, 2
jle 0x43866c
mov eax, edx
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x74]
lea edx, [ebx - 3]
sub esi, ebp
shr edx, 1
mov ebp, dword [esp + 0x54]
mov edi, ecx
mov ecx, dword [esp + 0x28]
inc edx
fld dword [ecx + 8]
add ecx, 8
fadd dword [eax + 8]
add eax, 8
add edi, 8
add ebp, 8
fstp dword [esi + eax]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [esi + ecx]
fld dword [eax + 4]
fadd dword [ecx + 4]
fstp dword [edi]
fld dword [ecx]
fsub dword [eax]
fstp dword [ebp]
dec edx
jne 0x438621
mov ebp, dword [esp + 0x7c]
lea eax, [ebx*4]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
add ecx, eax
add edx, eax
add esi, eax
mov dword [esp + 0x40], ecx
add edi, eax
mov dword [esp + 0x3c], edx
dec dword [esp + 0x34]
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], edi
jne 0x438600
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
dec dword [esp + 0x24]
jne 0x4385b0
mov esi, dword [esp + 0x6c]
xor edi, edi
cmp esi, 4
jl 0x438703
mov edx, dword [esp + 0x80]
mov esi, edx
mov edi, dword [esp + 0x78]
sub esi, edi
lea ecx, [edx + 0xc]
mov edx, dword [esp + 0x6c]
lea eax, [edi + 4]
lea edx, [edx - 4]
shr edx, 2
inc edx
lea edi, [edx*4]
mov edi, edi
fld dword [ecx - 0xc]
fstp dword [eax - 4]
fld dword [esi + eax]
fstp dword [eax]
fld dword [ecx - 4]
fstp dword [eax + 4]
fld dword [ecx]
add ecx, 0x10
fstp dword [eax + 8]
add eax, 0x10
dec edx
jne 0x4386e0
mov esi, dword [esp + 0x6c]
cmp edi, esi
jge 0x43872b
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
sub edx, ecx
lea eax, [ecx + edi*4]
mov ecx, esi
sub ecx, edi
jmp 0x438720
fld dword [eax + edx]
fstp dword [eax]
add eax, 4
dec ecx
jne 0x438720
mov eax, dword [esp + 0x64]
xor edx, edx
imul eax, esi
cmp dword [esp + 0x10], 1
mov dword [esp + 0x38], eax
mov esi, eax
jle 0x4387e5
mov ecx, dword [esp + 0x14]
lea edi, [ebx*4]
shl ecx, 2
mov eax, ebx
mov ebx, dword [esp + 0x10]
neg eax
mov dword [esp + 0x54], ecx
mov ecx, ebp
sub ecx, edi
dec ebx
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x74]
lea esp, [esp]
mov ebp, dword [esp + 0x14]
add edx, ebp
add ecx, dword [esp + 0x54]
add eax, ebp
sub esi, ebp
mov dword [esp + 0x48], edx
cmp dword [esp + 0x68], 0
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], esi
jle 0x4387d7
sub eax, edx
mov edx, ebx
add eax, esi
mov esi, dword [esp + 0x68]
lea eax, [eax*4]
add eax, ebp
sub edx, ebp
mov edi, edi
fld dword [eax + edi]
add eax, edi
fadd dword [ecx + edi]
add ecx, edi
fstp dword [edx + ecx]
fld dword [eax]
fsub dword [ecx]
fstp dword [edx + eax]
dec esi
jne 0x4387b0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
dec dword [esp + 0x40]
jne 0x438770
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
dec ecx
fld1
imul ecx, esi
cmp dword [esp + 0x10], 1
fstp dword [esp + 0x40]
fldz
fstp dword [esp + 0x28]
mov dword [esp + 0x30], ecx
jle 0x4389a4
mov edx, dword [esp + 0x80]
lea edi, [esi*4]
mov ebx, dword [esp + 0x10]
mov esi, edx
fld dword [esp + 0x58]
dec ebx
fld dword [esp + 0x44]
fld dword [esp + 0x28]
lea edx, [edx + eax*4]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], ebx
fld dword [esp + 0x40]
add esi, edi
fld st(0)
mov dword [esp + 0x20], esi
fmul st(4)
sub edx, edi
fld st(2)
mov dword [esp + 0x1c], edx
fmul st(4)
xor eax, eax
fsubp st(1)
fstp dword [esp + 0x58]
fmul st(2)
fld st(3)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x58]
fst dword [esp + 0x40]
fld dword [esp + 0x28]
test ebp, ebp
jle 0x4388b9
mov ebx, dword [esp + 0x78]
add edi, ebx
lea ecx, [ebx + ecx*4]
mov ebx, dword [esp + 0x78]
fld st(1)
fmul dword [edi]
add edi, 4
fadd dword [ebx + eax*4]
mov ebx, dword [esp + 0x24]
inc eax
fstp dword [esi]
fld dword [ecx]
add esi, 4
fmul st(1)
add ecx, 4
fstp dword [edx]
add edx, 4
cmp eax, ebp
jl 0x438881
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x10], 2
fxch st(1)
fst dword [esp + 0x3c]
fxch st(1)
fst dword [esp + 0x28]
jle 0x438b5d
mov eax, dword [esp + 0x78]
fstp st(2)
fld dword [esp + 0x28]
lea ebx, [eax + ecx*4]
mov ecx, dword [esp + 0x6c]
lea ebp, [edi + eax]
mov eax, dword [esp + 0x10]
add eax, 0xfffffffe
mov dword [esp + 0x34], eax
fld dword [esp + 0x3c]
add ebp, edi
fld st(0)
sub ebx, edi
fmul st(3)
fld st(2)
fmul st(5)
fsubp st(1)
fstp dword [esp + 0x58]
fld st(2)
fmulp st(2)
fmul st(3)
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x58]
fst dword [esp + 0x3c]
fld dword [esp + 0x28]
test ecx, ecx
jle 0x438958
mov edi, dword [esp + 0x6c]
mov eax, edx
mov ecx, esi
mov edx, ebx
mov esi, ebp
fld dword [esi]
add esi, 4
fmul st(2)
fadd dword [ecx]
fstp dword [ecx]
fld dword [edx]
add ecx, 4
fmul st(1)
add edx, 4
fadd dword [eax]
fstp dword [eax]
add eax, 4
dec edi
jne 0x43892d
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x20]
dec eax
mov edx, dword [esp + 0x1c]
fstp st(1)
mov dword [esp + 0x34], eax
jne 0x4388ef
mov ebx, dword [esp + 0x24]
fstp st(0)
mov ebp, dword [esp + 0x6c]
fstp st(0)
fld dword [esp + 0x44]
fxch st(1)
mov esi, dword [esp + 0x20]
dec ebx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
jne 0x43883c
mov ebx, dword [esp + 0x60]
fstp st(1)
mov ebp, dword [esp + 0x7c]
fstp st(0)
mov esi, dword [esp + 0x6c]
fstp st(0)
mov ecx, dword [esp + 0x10]
xor edi, edi
cmp ecx, 1
jle 0x438a7d
mov ebp, dword [esp + 0x78]
lea eax, [esi*4]
lea edx, [ecx - 1]
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], edx
lea ebx, [ebp + 8]
lea esp, [esp]
add ebx, eax
add edi, esi
xor eax, eax
mov ecx, edi
cmp esi, 4
jl 0x438a3a
mov ecx, dword [esp + 0x80]
add esi, 0xfffffffc
shr esi, 2
add ecx, 8
inc esi
mov edx, ebx
lea eax, [esi*4]
lea ebp, [eax + edi]
mov dword [esp + 0x58], ebp
mov edi, edi
fld dword [edx - 8]
fadd dword [ecx - 8]
fstp dword [ecx - 8]
fld dword [edx - 4]
fadd dword [ecx - 4]
fstp dword [ecx - 4]
fld dword [edx]
fadd dword [ecx]
fstp dword [ecx]
fld dword [edx + 4]
add edx, 0x10
fadd dword [ecx + 4]
fstp dword [ecx + 4]
add ecx, 0x10
dec esi
jne 0x438a00
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x78]
cmp eax, esi
jge 0x438a62
lea ecx, [ecx*4]
add ecx, ebp
mov ebp, dword [esp + 0x80]
mov edi, edi
fld dword [ecx]
add ecx, 4
fadd dword [ebp + eax*4]
fstp dword [ebp + eax*4]
inc eax
cmp eax, esi
jl 0x438a50
mov eax, dword [esp + 0x54]
dec edx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x44], edx
jne 0x4389d0
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
cmp ebx, esi
jge 0x438b64
xor esi, esi
test ebx, ebx
jle 0x438c58
jmp 0x438aa0
mov edi, dword [esp + 0x70]
xor edx, edx
cmp dword [esp + 0x68], 4
mov eax, esi
mov ecx, esi
mov dword [esp + 0x6c], edx
jl 0x438b0b
mov edx, dword [esp + 0x68]
add edx, 0xfffffffc
shr edx, 2
inc edx
lea ebp, [edx*4]
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x7c]
nop
fld dword [ebp + eax*4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, dword [esp + 0x18]
fld dword [ebp + eax*4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, dword [esp + 0x18]
fld dword [ebp + eax*4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, dword [esp + 0x18]
fld dword [ebp + eax*4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, dword [esp + 0x18]
dec edx
jne 0x438ad0
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x7c]
cmp edx, dword [esp + 0x68]
jge 0x438b4f
mov edx, dword [esp + 0x18]
lea eax, [eax*4]
shl edx, 2
lea ecx, [edi + ecx*4]
mov dword [esp + 0x54], edx
add eax, ebp
lea edx, [ebx*4]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x68]
sub edx, dword [esp + 0x6c]
nop
fld dword [eax]
add eax, dword [esp + 0x58]
fstp dword [ecx]
add ecx, dword [esp + 0x54]
dec edx
jne 0x438b40
inc esi
cmp esi, ebx
jl 0x438aa0
jmp 0x438c58
fstp st(1)
jmp 0x43897b
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x1c], ecx
test esi, esi
jle 0x438c58
lea edx, [ebp + 8]
mov dword [esp + 0x40], esi
mov dword [esp + 0x28], edx
lea edx, [edi + 8]
mov dword [esp + 0x24], edx
lea ebx, [ebx]
xor esi, esi
mov dword [esp + 0x44], ecx
mov edx, eax
cmp ebx, 4
jl 0x438bfb
mov ebp, dword [esp + 0x6c]
lea edx, [ebx - 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
shr edx, 2
inc edx
lea esi, [edx*4]
add ebp, esi
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x1c]
add ebp, esi
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x7c]
jmp 0x438bd0
fld dword [ecx - 8]
fstp dword [eax - 8]
fld dword [ecx - 4]
fstp dword [eax - 4]
fld dword [ecx]
fstp dword [eax]
fld dword [ecx + 4]
add ecx, 0x10
fstp dword [eax + 4]
add eax, 0x10
dec edx
jne 0x438bd0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
cmp esi, ebx
jge 0x438c28
mov eax, dword [esp + 0x44]
lea ecx, [edx*4]
mov edx, ebx
add ecx, ebp
sub edx, esi
lea eax, [edi + eax*4]
fld dword [ecx]
add ecx, 4
fstp dword [eax]
add eax, 4
dec edx
jne 0x438c13
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
lea edx, [ebx*4]
add dword [esp + 0x28], edx
add eax, ebx
add ecx, esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x1c], ecx
lea edx, [esi*4]
add dword [esp + 0x24], edx
dec dword [esp + 0x40]
jne 0x438b90
mov edx, dword [esp + 0x14]
lea esi, [ebx + ebx]
mov ecx, edx
mov dword [esp + 0x44], esi
imul ecx, dword [esp + 0x64]
cmp dword [esp + 0x10], 1
mov dword [esp + 0x48], ecx
jle 0x438d21
lea eax, [ecx*4]
shl edx, 2
add eax, ebp
shl esi, 2
mov dword [esp + 0x6c], eax
mov ecx, edi
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x6c]
dec eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0x60]
add ecx, esi
add ebp, edx
mov dword [esp + 0x54], ecx
sub edi, edx
cmp dword [esp + 0x68], 0
jle 0x438d07
mov eax, dword [esp + 0x18]
lea esi, [ebx*4]
mov ebx, dword [esp + 0x68]
mov edx, edi
shl eax, 2
mov dword [esp + 0x58], eax
mov eax, ecx
mov dword [esp + 0x6c], ebx
mov ecx, ebp
mov ebx, dword [esp + 0x60]
fld dword [ecx]
add ecx, esi
fstp dword [eax - 4]
fld dword [edx]
add edx, esi
fstp dword [eax]
add eax, dword [esp + 0x58]
dec dword [esp + 0x6c]
jne 0x438ce0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
dec eax
mov dword [esp + 0x64], eax
jne 0x438ca7
mov edi, dword [esp + 0x70]
lea esi, [ebx + ebx]
mov ebp, dword [esp + 0x7c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
cmp ebx, 1
je 0x439020
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x68]
mov eax, ebx
jge 0x438ee6
neg eax
xor edx, edx
cmp dword [esp + 0x10], 1
jle 0x439020
mov edi, esi
lea ecx, [ecx*4 + 8]
neg edi
shl esi, 2
mov dword [esp + 0x54], edi
add ecx, ebp
mov edi, dword [esp + 0x14]
add ebp, 8
shl edi, 2
mov dword [esp + 0x58], esi
lea esi, [ebx - 2]
add esi, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], edi
mov ecx, 4
mov edi, dword [esp + 0x70]
sub ecx, eax
sub ecx, ebx
lea eax, [edi + esi*4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
lea esp, [esp]
add esi, dword [esp + 0x44]
mov edi, dword [esp + 0x58]
add ecx, dword [esp + 0x54]
add edx, dword [esp + 0x44]
add ebp, dword [esp + 0x40]
sub eax, dword [esp + 0x40]
add dword [esp + 0x6c], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x20], eax
cmp ebx, 2
jle 0x438ed4
mov edx, ebp
mov dword [esp + 0x24], ecx
mov ebp, eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
lea eax, [ebx - 3]
shr eax, 1
inc eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], eax
nop
cmp dword [esp + 0x68], 0
mov edi, dword [esp + 0x70]
jle 0x438e94
mov eax, dword [esp + 0x18]
mov ecx, edx
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea ebp, [eax*4]
lea eax, [ebx*4]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x64]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x60]
lea eax, [edi + eax*4]
lea ebx, [ebx]
fld dword [edx - 4]
fadd dword [ecx - 4]
fstp dword [eax - 4]
fld dword [ecx - 4]
fsub dword [edx - 4]
fstp dword [esi - 4]
fld dword [edx]
fadd dword [ecx]
fstp dword [eax]
fld dword [edx]
add eax, ebp
fsub dword [ecx]
add edx, dword [esp + 0x3c]
add ecx, dword [esp + 0x3c]
fstp dword [esi]
add esi, ebp
dec dword [esp + 0x38]
jne 0x438e50
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x64]
mov ebp, dword [esp + 0x28]
sub dword [esp + 0x2c], 8
sub esi, 2
add edx, 8
mov dword [esp + 0x64], esi
add ebp, 8
mov dword [esp + 0x34], edx
add ecx, 4
mov dword [esp + 0x28], ebp
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
jne 0x438e00
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x48]
dec dword [esp + 0x14]
jne 0x438da0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
neg eax
cmp dword [esp + 0x10], 1
jle 0x439020
add eax, 0xfffffffe
shl edx, 2
add eax, ebx
mov dword [esp + 0x3c], edx
lea edx, [esi*4]
lea ecx, [ecx*4 + 8]
mov dword [esp + 0x38], edx
add ecx, ebp
lea edx, [edi + 8]
lea esi, [edi + eax*4]
add ebp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
dec eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
lea ecx, [ecx]
mov ebx, dword [esp + 0x60]
add esi, edi
add edx, edi
mov dword [esp + 0x30], esi
add ebp, eax
mov dword [esp + 0x4c], edx
sub ecx, eax
mov dword [esp + 0x48], ebp
cmp dword [esp + 0x68], 0
mov dword [esp + 0x50], ecx
jle 0x439016
lea eax, [ebx*4]
mov dword [esp + 0x64], esi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x44], ecx
lea edi, [eax*4]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], edi
lea esp, [esp]
cmp ebx, 2
jle 0x438fe4
lea edi, [ebx - 3]
mov eax, ebp
shr edi, 1
inc edi
lea ecx, [ecx]
fld dword [ecx - 4]
fadd dword [eax - 4]
fstp dword [edx - 4]
fld dword [eax - 4]
fsub dword [ecx - 4]
fstp dword [esi - 4]
fld dword [eax]
fadd dword [ecx]
fstp dword [edx]
fld dword [ecx]
add edx, 8
fsub dword [eax]
add ecx, 8
add eax, 8
fstp dword [esi]
sub esi, 8
dec edi
jne 0x438fa0
mov esi, dword [esp + 0x64]
lea eax, [ebx*4]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
add edx, edi
add esi, edi
add ecx, eax
mov dword [esp + 0x6c], edx
add ebp, eax
mov dword [esp + 0x64], esi
dec dword [esp + 0x40]
mov dword [esp + 0x44], ecx
jne 0x438f90
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
dec dword [esp + 0x34]
jne 0x438f30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret