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

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ecx, eax
push ebx
imul ecx, edx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x30], ecx
test edx, edx
lea esi, [eax*4]
lea ebx, [eax + eax]
jle 0x451b51
shl esi, 2
mov dword [esp + 0x58], esi
lea esi, [ebp + ecx*4]
mov dword [esp + 0x20], esi
lea esi, [edi + ebx*4]
lea ebx, [ebp + ecx*8]
lea edx, [eax*4]
mov dword [esp + 0x28], ebx
lea ebx, [ecx + ecx*2]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], edi
lea ebx, [ebp + ebx*4]
mov dword [esp + 0x2c], ebx
lea ebx, [eax + eax]
lea ebx, [edi + ebx*8 - 4]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x34], ebx
jmp 0x451a9f
mov esi, dword [esp + 0x54]
fld dword [esi - 4]
fadd st(0), st(0)
fld dword [esi]
mov ebx, dword [esp + 0x1c]
fadd st(0), st(0)
fstp dword [esp + 0x14]
fld dword [ebx]
mov ebx, dword [esp + 0x18]
fsub dword [ebx]
mov ebx, dword [esp + 0x1c]
fstp dword [esp + 0x10]
fld dword [ebx]
mov ebx, dword [esp + 0x18]
fadd dword [ebx]
mov ebx, dword [esp + 0x24]
fld st(0)
fadd st(2)
fstp dword [ebx]
fld dword [esp + 0x10]
fsub dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
fstp dword [ebx]
mov ebx, dword [esp + 0x28]
fsub st(1)
fstp dword [ebx]
mov ebx, dword [esp + 0x2c]
fstp st(0)
fld dword [esp + 0x10]
fadd dword [esp + 0x14]
fstp dword [ebx]
mov ebx, dword [esp + 0x24]
add ebx, edx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x20]
add ebx, edx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
add ebx, edx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x2c]
add ebx, edx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x58]
add esi, ebx
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x18]
add esi, ebx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
add esi, ebx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x34]
dec esi
mov dword [esp + 0x34], esi
jne 0x451a9b
mov edx, dword [esp + 0x6c]
cmp eax, 2
jl 0x451efe
je 0x451e40
xor esi, esi
cmp edx, esi
mov dword [esp + 0x18], esi
jle 0x451e28
lea edx, [eax + eax*2]
mov dword [esp + 0x24], esi
mov dword [esp + 0x5c], edx
lea edx, [eax*4]
sub edx, eax
neg edx
mov dword [esp + 0x60], edx
lea edx, [ecx + ecx*2]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x18]
cmp eax, 2
lea ebx, [edx*4]
lea edx, [ebx + eax*2]
lea esi, [edx + eax*2]
mov dword [esp + 0x54], esi
jle 0x451def
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
lea ecx, [edi + edx*4]
lea edx, [edi + ebx*4]
sub ebx, ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x54], ebx
lea edi, [edi + eax*4]
lea ebx, [ebp + ebx*4]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x54]
add ebx, ebp
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x80]
mov esi, ecx
lea ebx, [ebp + ebx*4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x30]
add ebx, ebx
mov eax, dword [esp + 0x78]
mov ebp, ebx
mov ebx, dword [esp + 0x24]
sub ebp, ebx
mov ebx, dword [esp + 0x18]
shl ebx, 2
add ebp, ebx
mov ebx, dword [esp + 0x74]
add eax, 4
lea ebx, [ebx + ebp*4]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x18]
shl ebx, 2
add ebp, ebx
mov ebx, dword [esp + 0x74]
lea ebx, [ebx + ebp*4]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x7c]
sub ebx, ebp
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x80]
sub ebx, ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x7c]
sub ebx, ebp
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x68]
dec ebx
shr ebx, 1
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x2c]
add edx, 8
add ebp, 8
add ecx, 8
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x28]
add ebp, 8
sub esi, 8
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x1c]
fld dword [edx]
add ebp, 8
fadd dword [edi - 8]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x20]
fld dword [edx]
fsub dword [edi - 8]
add ebp, 8
sub edi, 8
fld dword [ecx]
fsub dword [esi]
fld dword [ecx]
fadd dword [esi]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [edx - 4]
fsub dword [edi - 4]
fstp dword [esp + 0x10]
fld dword [edx - 4]
fadd dword [edi - 4]
fld dword [ecx - 4]
fsub dword [esi - 4]
fstp dword [esp + 0x38]
fld dword [ecx - 4]
fadd dword [esi - 4]
fld st(1)
fadd st(1)
fstp dword [ebp - 4]
fxch st(1)
fsub st(1)
fstp dword [esp + 0x48]
fstp st(0)
fld st(0)
fadd st(2)
fstp dword [ebp]
fxch st(1)
fsub st(1)
mov ebp, dword [esp + 0x28]
fstp dword [esp + 0x40]
fstp st(0)
fld dword [esp + 0x10]
fsub dword [esp + 0x14]
fstp dword [esp + 0x3c]
fld dword [esp + 0x10]
fadd dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x38]
fadd st(1)
fstp dword [esp + 0x14]
fsub dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul dword [eax - 4]
fld dword [esp + 0x14]
fmul dword [eax]
fsubp st(1)
fstp dword [ebp - 4]
fld dword [esp + 0x3c]
fmul dword [eax]
fld dword [esp + 0x14]
fmul dword [eax - 4]
faddp st(1)
fstp dword [ebp]
mov ebp, dword [esp + 0x44]
fld dword [esp + 0x48]
fmul dword [ebx + ebp]
mov ebp, dword [esp + 0x4c]
fld dword [esp + 0x40]
fmul dword [eax + ebp]
mov ebp, dword [esp + 0x1c]
fsubp st(1)
fstp dword [ebp - 4]
mov ebp, dword [esp + 0x44]
add eax, 8
fld dword [esp + 0x40]
fmul dword [ebx + ebp]
mov ebp, dword [esp + 0x4c]
add ebx, 8
fld dword [esp + 0x48]
fmul dword [eax + ebp - 8]
mov ebp, dword [esp + 0x1c]
faddp st(1)
fstp dword [ebp]
fld dword [esp + 0x10]
fmul dword [ebx - 8]
mov ebp, dword [esp + 0x50]
fld st(1)
fmul dword [eax + ebp - 8]
mov ebp, dword [esp + 0x20]
fsubp st(1)
fstp dword [ebp - 4]
mov ebp, dword [esp + 0x50]
fmul dword [ebx - 8]
fld dword [esp + 0x10]
fmul dword [eax + ebp - 8]
mov ebp, dword [esp + 0x20]
faddp st(1)
fstp dword [ebp]
mov ebp, dword [esp + 0x54]
dec ebp
mov dword [esp + 0x54], ebp
jne 0x451c77
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
add edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x5c]
add ebx, edx
mov edx, dword [esp + 0x60]
add esi, edx
mov edx, dword [esp + 0x58]
dec edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x58], edx
jne 0x451b97
mov edx, dword [esp + 0x6c]
mov esi, eax
and esi, 0x80000001
jns 0x451e37
dec esi
or esi, 0xfffffffe
inc esi
cmp esi, 1
je 0x451efe
test edx, edx
lea esi, [eax + eax*2]
jle 0x451efe
lea edx, [eax*4]
lea ebx, [eax*4]
shl edx, 2
mov dword [esp + 0x68], edx
lea edx, [ebp + eax*4 - 4]
mov dword [esp + 0x80], edx
lea edx, [ebx + edi]
lea esi, [edi + esi*4]
lea edi, [eax + ecx - 1]
lea edi, [ebp + edi*4]
mov dword [esp + 0x74], edi
lea edi, [eax + ecx*2 - 1]
lea eax, [eax + ecx*2 - 1]
add ecx, eax
lea edi, [ebp + edi*4]
lea eax, [ebp + ecx*4]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x80]
fld dword [esi]
fadd dword [edx]
fld dword [esi]
fsub dword [edx]
fld dword [edx - 4]
fsub dword [esi - 4]
mov ebp, dword [esp + 0x74]
fstp dword [esp + 0x10]
fld dword [esi - 4]
fadd dword [edx - 4]
fadd st(0), st(0)
fstp dword [ecx]
fld dword [esp + 0x10]
fsub st(2)
add ecx, ebx
fmul dword [0x466b5c]
fstp dword [ebp]
add ebp, ebx
fadd st(0), st(0)
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x68]
add edx, ebp
add esi, ebp
mov ebp, dword [esp + 0x6c]
fstp dword [edi]
add edi, ebx
fadd dword [esp + 0x10]
fmul dword [0x466b5c]
fchs
fstp dword [eax]
add eax, ebx
dec ebp
mov dword [esp + 0x6c], ebp
jne 0x451e9e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret